Author

Topic: [UNOFFICIAL] [VNL] Vanillacoin 0.4.1 | Instant ▱ Incentivized ▱ Innovative - page 267. (Read 433405 times)

member
Activity: 81
Merit: 1002
It was only the wind.
Did you see my completely bitsliced Whirlpool? It's completely functional, yet not cleaned or smaller optimizations done: https://ottrbutt.com/miner/wpltest.c
Downloaded it as soon as have seen (damn English grammar) the link, you've already posted it. I have different approach in mind, but the whole thing is getting too big to write it by hands. Already did auto-bitsliser for regular code (xor, and, add, etc) by overloading c++ operators, that was easy part. Now gearing up SAT solver (stock one, cryptominisat) to do some s-box liposuction.

Quite interesting; let me know how it goes.
legendary
Activity: 1894
Merit: 1001
yes - thanks vm wolf0 - but not working? seems to run fine, shows connected to pool, shows a nice hashrate, zero accepts, best share = 0 pool shows zero hashrate. what am i missing? tried both algo names. [edit] put -I 4096 in the .bat but showed up as I 6. win 7

I 4096 is INTENSITY 4096, and if there wasn't a safety check, you would have locked up your system. The option for xintensity is -X.

thanks, i put --intensity 4096, (still shows 6 on gui), same results, also chewing up tonnes of cpu - i'm sure i got something wrong!




here's my .bat
Code:
@echo off
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
Color 0C
sgminer.exe --device 0 --remove-disabled --algorithm vanillacoin -o stratum+tcp://mine1.vnl.nonce-pool.com:4333 -u groggin.gpu -p x --auto-fan --auto-gpu --gpu-fan 0-85 --temp-target 85 --temp-cutoff 96 --temp-hysteresis 3 --intensity 4096 -g 2 -w 64 --no-submit-stale --failover-only -o stratum+tcp://pool02.vanillacoin.net:3033 -u Vkpn45TSLR1jBa34pyrTwWDzADTEyviz4E -p x

[edit] prollem solved on irc - thanks again guys
hero member
Activity: 524
Merit: 500
John wrote that he can easily code for any of the popular platforms
That's a sign of qualified developer, very good.
Long ago, when old Palm was popular, it was so poorly designed (armlets, crazy db instead of file system and so on), only good developers were able to program it, so, surprisingly, users got way better software than could be expected from such crippled platform.
member
Activity: 81
Merit: 1002
It was only the wind.
The current progress in terms of hashrate is in the screenshot below - that will likely be all, as I just have my testers looking for any bugs I may have added while fixing other bugs before release.

Is that for your upcoming illustrated guide for mining kernels developers?
Side note: I'm working on a miner to release for WhirlpoolX - containing a few optimizations and a lot of verbose comments for devs.

Yeah. I cleaned up parts of SGMiner host code, too, but since cleaning the whole thing would take ages, I'm not too worried about that. I just want to make sure there's not any serious bugs in the thing before release, and that I have working Windows binaries, too. It'll be a WhirlpoolX-only SGMiner, which also helps simplify the host code I edited, having the side effect of making it easier to understand as well.
Really good idea! Having notes not only about "how" but also about "why" would be invaluable for new developers.
Probably I should start taking noted during my quest to bitliced Graal Whirlpool and make a small story here about it when it (hopefully) be done.

Did you see my completely bitsliced Whirlpool? It's completely functional, yet not cleaned or smaller optimizations done: https://ottrbutt.com/miner/wpltest.c
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
there are at least a couple very low hanging fruits for us developers to enjoy, thanks wolf0 for helping preserve the specie ;-)
hero member
Activity: 524
Merit: 500
Okay, it's not perfect, but it'll never be. Sources that I've written or modified have been heavily commented to help out devs who are learning. The OpenCL was entirely written by me, and SGMiner itself was modified by me not just to run the modified kernel, but to clean it, remove algorithms besides WhirlpoolX for simplicity, and add comments. The horrid lib SPH is no longer used at all, instead, a SHA-256 implementation that was actually already there and never even compiled is used for several parts of SGMiner that used to call into lib SPH, and the CPU Whirlpool-512 implementation is a rather clean one I found here. That is also where I found seemingly the only copy of Whirlpool-512 done without tables, on which I based my bitsliced implementation. Another modification I made was to check the OpenCL version at runtime and use clCreateCommandQueueWithProperties() if the version is 2.0 or greater; it replaces clCreateCommandQueue(), and the latter is now deprecated and should not be used, but even the current official SGMiner isn't updated. Anyways, go look at the source for yourself. It will be here momentarily.
Indeed the code is very clear. So clear that it makes almost impossible to miss one fat low hanging fruit, let's see who will come here screaming how stupid is Wolf0's miner and how easy it was to optimize it Smiley
Thank you for #pragma unroll 1 line, I recently learned another way to prevent unrolling here. Didn't tied it yet, my kernel is fully unrolled ATM. BTW, I also started from nayuki implementation, found it by searching the first bytes of S-box from Whirlpool whitepaper.
amd_bfe is kind of poisoned knowledge Smiley, it's too easy to just use good solution missing better one. From my (uncleaned) kernel
Code:
#define Toff8(off8) (*(const LOCAL X64*)&(((const LOCAL UINT8*)TAll_local)[off8]))
#define LUT5(v) (ASX64(Toff8(bitselect(1U << 11, (v.y >> 5), 0x7F8U))).yx)
// ...
LOCAL X64 TAll_local[256*4];
// ...
stateBX64[7&(p+5)] ^= LUT5(stateAX64[p]);
BTW, may be it's better to check for clCreateCommandQueueWithProperties() and such at configure time?
legendary
Activity: 1498
Merit: 1001
180 BPM
News 23/03

  • New public miner is out by Wolf0: https://bitcointalksearch.org/topic/m.10856770 | additional info: https://bitcointalksearch.org/topic/m.10859190
  • Example miner configs are updated in the ANN, also note that catalyst 14.12 (recommended) + 15.3 (for Tahiti) was the version which the miner was tested on
  • Video of staking and energy efficient (preview) iOS wallet is out: https://bitcointalksearch.org/topic/m.10858393
  • Android staking wallet app is being developed this weekend, but the finished iOS is priority
  • A wallet update will come this week with additional features | 2 RPC commands named "Store" and "Find" will be added to the wallet, these make short term free off-chain data storage up to 72 hours possible. A short explanation:

    Quote
    It’s been proven that the average mean time to node failure is 72 hours. That is most nodes go offline within 72 hours, and since replicas are used, 72 hours is guaranteed. A good use would be storing your credentials for some sort of decentralized communications network, use of command would be "store username=john&credentials=base64encoded(json_encode(credentials)))&_t=900". This means that real time sending of encrypted information is possible to a remote party.
legendary
Activity: 1498
Merit: 1001
180 BPM
VNL running on iPhone.

Full node
Staking
Light weight

Moon

http://vanillacoin.net/downloads/IMG_0140_480p.mov

Clarification for anyone interested, it is using almost no energy: 100% of a single core downloading the chain. 0% after downloading the chain when idle.

This is huge. Any plans for Android?

John wrote that he can easily code for any of the popular platforms, this was a sideproject of his between wallet upgrades. So you can be sure that it will come with time.
hero member
Activity: 829
Merit: 1000
VNL running on iPhone.

Full node
Staking
Light weight

Moon

http://vanillacoin.net/downloads/IMG_0140_480p.mov

Clarification for anyone interested, it is using almost no energy: 100% of a single core downloading the chain. 0% after downloading the chain when idle.

This is huge. Any plans for Android?
hero member
Activity: 829
Merit: 1000
Does not work with xintensity 4096
Works well..


setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
sgminer.exe -k whirlpoolx -o stratum+tcp://vnl.suprnova.cc:1111 -u xxx -p xxx -w 256 -g 2 -X 4096 --no-submit-stale --lookup-gap 2 --expiry 1 --scan-time 1 --queue 0

THX Wolf ! Smiley

Working nice but heating like hell :-)
legendary
Activity: 1498
Merit: 1001
180 BPM
VNL running on iPhone.

Full node
Staking
Light weight

Moon

http://vanillacoin.net/downloads/IMG_0140_480p.mov

Clarification for anyone interested, it is using almost no energy: 7% of a single core downloading the chain. 0% after downloading the chain when idle.

Screenshot: http://s13.postimg.org/5ykqd00zr/Screen_Shot_2015_03_23_at_7_57_00_AM.png
sr. member
Activity: 350
Merit: 250
Does not work with xintensity 4096
Works well..


setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
sgminer.exe -k whirlpoolx -o stratum+tcp://vnl.suprnova.cc:1111 -u xxx -p xxx -w 256 -g 2 -X 4096 --no-submit-stale --lookup-gap 2 --expiry 1 --scan-time 1 --queue 0

THX Wolf ! Smiley
member
Activity: 81
Merit: 1002
It was only the wind.
The current progress in terms of hashrate is in the screenshot below - that will likely be all, as I just have my testers looking for any bugs I may have added while fixing other bugs before release.

Is that for your upcoming illustrated guide for mining kernels developers?
Side note: I'm working on a miner to release for WhirlpoolX - containing a few optimizations and a lot of verbose comments for devs.

Yeah. I cleaned up parts of SGMiner host code, too, but since cleaning the whole thing would take ages, I'm not too worried about that. I just want to make sure there's not any serious bugs in the thing before release, and that I have working Windows binaries, too. It'll be a WhirlpoolX-only SGMiner, which also helps simplify the host code I edited, having the side effect of making it easier to understand as well.
legendary
Activity: 1894
Merit: 1001
 yes - thanks vm wolf0 - but not working? seems to run fine, shows connected to pool, shows a nice hashrate, zero accepts, best share = 0 pool shows zero hashrate. what am i missing? tried both algo names. [edit] put -I 4096 in the .bat but showed up as I 6. win 7
legendary
Activity: 1354
Merit: 1000
Does not work with xintensity 4096
legendary
Activity: 2716
Merit: 1094
Black Belt Developer
Very clean code, as usual! Thanks Wolf0!
hero member
Activity: 896
Merit: 1000
Wolf0, good efforts! Is it slower than your or somebody's private miner?

Of course it is - earlier in the thread, I've shown my full capabilities. So you don't have to search, here (NSFW): https://ottrbutt.com/miner/whirlpoolxwolf-03162015.png

Thanks for the clarification. It is still not profitable to mine with this public miner: revenue is 40% of the electricity cost.
hero member
Activity: 673
Merit: 500
VNL running on iPhone.

Full node
Staking
Light weight

Moon

http://vanillacoin.net/downloads/IMG_0140_480p.mov

Are there any other mobile wallets capable of this?
hero member
Activity: 896
Merit: 1000
Wolf0, good efforts! Is it slower than your or somebody's private miner?
sr. member
Activity: 519
Merit: 250
Jump to: