Bitcoin Forum
November 11, 2024, 02:58:41 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 ... 119 »
  Print  
Author Topic: [JCE]Fast & stable CN/v8/Heavy/Tube/XHV miner, CPU+GPU, Vega56 1800+ RX580 1200+  (Read 90834 times)
UnclWish
Sr. Member
****
Offline Offline

Activity: 1484
Merit: 253


View Profile
June 05, 2018, 07:45:57 PM
 #441

I can beat stak and xmrig, they both use the same old code from Wolf0.

And claymore is a beast on CN-Classic on HD7000/2xx with 9.7
With 10+ i get high displayed hashrate on hd7000 but 10% bad shares, i can fix them by lowering intensity but then the hashrate itself drops by 10%.

On my dual Baffin i use the most for tests, i cannot get more than 915 on CN-v7 from Claymore, with a pool hashrate reported around 870. I made JCE run at 965 and stak at 940 with my current status. I didn't even started optim of CN-Heavy, it's a very different algo when implemented on GPU.

SRB, i'll do the tests you advised with my HD7870.
I also tested my Bonaire, which sends 240 on JCE, 265 on old Claymore 9.7 but is not even supported by Claymore 10+
That's consistent with the current 10% loss against Claymore 9.7

No dev today, my whole rig is dedicated to stability tests. Uptime 24h on all my GPU, no crash. I'll go back to dev after 48h of uptime, that will be enough to say it's stable. Testing during dev is very long, a bug in the OpenCL usually crash the GPU since the GPU memory is not virtualized like the one of a CPU. Sometimes the drivers can reset the gpu, but usually it just crashes.
On my 270X 4Gb Windows 10 x64 1803 AMD 18.5.2 Claymore 11.3 gives more speed than 9.7 because of -dmem 1 option in 11.3. But, i think on 2Gb cards 9.7 will be faster.
UnclWish
Sr. Member
****
Offline Offline

Activity: 1484
Merit: 253


View Profile
June 07, 2018, 04:35:09 AM
 #442

Whats the progress?
JCE-Miner (OP)
Member
**
Offline Offline

Activity: 350
Merit: 22


View Profile
June 07, 2018, 05:59:21 AM
 #443

not bad, i'm done with all algos but Heavy which is so different. but also offers the best opportunities to optimize.
i cannot get how Claymore did his 9.7 so stable and fast, on hd7000. I Cannot reach it on cn-classic. it was really a masterpiece of optim.
stability tests were success.
UnclWish
Sr. Member
****
Offline Offline

Activity: 1484
Merit: 253


View Profile
June 07, 2018, 11:19:56 AM
 #444

not bad, i'm done with all algos but Heavy which is so different. but also offers the best opportunities to optimize.
i cannot get how Claymore did his 9.7 so stable and fast, on hd7000. I Cannot reach it on cn-classic. it was really a masterpiece of optim.
stability tests were success.
Good. I wait until I can test it on my 270X 4Gb.
Larvitar
Jr. Member
*
Offline Offline

Activity: 196
Merit: 1


View Profile
June 07, 2018, 12:42:06 PM
 #445

I can beat stak and xmrig, they both use the same old code from Wolf0.

And claymore is a beast on CN-Classic on HD7000/2xx with 9.7
With 10+ i get high displayed hashrate on hd7000 but 10% bad shares, i can fix them by lowering intensity but then the hashrate itself drops by 10%.

On my dual Baffin i use the most for tests, i cannot get more than 915 on CN-v7 from Claymore, with a pool hashrate reported around 870. I made JCE run at 965 and stak at 940 with my current status. I didn't even started optim of CN-Heavy, it's a very different algo when implemented on GPU.

SRB, i'll do the tests you advised with my HD7870.
I also tested my Bonaire, which sends 240 on JCE, 265 on old Claymore 9.7 but is not even supported by Claymore 10+
That's consistent with the current 10% loss against Claymore 9.7

No dev today, my whole rig is dedicated to stability tests. Uptime 24h on all my GPU, no crash. I'll go back to dev after 48h of uptime, that will be enough to say it's stable. Testing during dev is very long, a bug in the OpenCL usually crash the GPU since the GPU memory is not virtualized like the one of a CPU. Sometimes the drivers can reset the gpu, but usually it just crashes.
If you want, I can help you with my mods for RX460. Is possible to reach 530~550H/s per 460 4GB in heavy. For free. I'm glad for your impressive miner.

If you want, just send me a PM with your email.
vasilurda
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 07, 2018, 12:42:18 PM
 #446

Hello

I am going to make GUI wrapper for this miner and I want some automated console output. But It seems there is no related parameters on this miner.

Can you let me know how I can handle this problem?
sergey1301
Jr. Member
*
Offline Offline

Activity: 336
Merit: 1


View Profile
June 07, 2018, 02:39:38 PM
 #447

It's a very fast processor! Thanks for the instructions. Awesome Miner-supported? I didn't want to use the - HTTP server, but I will!
JCE-Miner (OP)
Member
**
Offline Offline

Activity: 350
Merit: 22


View Profile
June 07, 2018, 07:38:28 PM
 #448

Hey!

@Larvitar : thanks but that's already done, i'm not bad at tweaking AMD bioses too, with custom memory straps. I'm not kidding when i say everything is custom on my rig. The miner software for sure, but also the vbios timmings and even my power blocks are home made (switched-mode hi-ampere). My Sapphire 7950 Vapor-X Elpida is probably the fastest of the world with 610 h/s stable. Cool

@vasilurda : i already provide a HTTP mini server that produce clear JSON over http on localhost, i think it should be good for integration. I even did a XMR-Stak mode just for that. What would you need about console output ? continuous log of hashrate and status, like if you pressed H and R every second ? Possible, but the GUI integration over http would be cleaner.

@sergey1301 : thanks, and same answer for you, if possible use http monitoring. Awsome Miner was evoked in one of the first reply of this topic, JCE is somehow interface compatible with cpuminer-opt IIRC but it would worth to be really integrated as a new miner. Here's how to do, i say that's quite simple : three mandatory params plus --auto, and a http monitor. All you need.
UnclWish
Sr. Member
****
Offline Offline

Activity: 1484
Merit: 253


View Profile
June 08, 2018, 12:14:30 AM
 #449

Can you provide some alpha/beta version to test it?
JCE-Miner (OP)
Member
**
Offline Offline

Activity: 350
Merit: 22


View Profile
June 08, 2018, 07:08:45 PM
Last edit: June 10, 2018, 04:27:18 PM by JCE-Miner
 #450

I'll release the first version as undocumented/untested to skip the last test phase, like I did for the linux CPU version, but i won't release my current dev version, i'm not satisfyed of it yet.

edit: a bit more satisfied now, i can reach the 268 h/s on my Bonaire, exact same speed as Claymore 9.7, but I need all the 1G memory of the card to get it, while Claymore 9.7 reached such a speed with only 512M. Maybe 268 is hardware max, like the 506 h/s of my Ryzen 1600 that i cannot improve whatever i try.

Now benching more on hd7000.
zawawa
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
June 11, 2018, 06:21:43 AM
Last edit: June 11, 2018, 07:49:27 AM by zawawa
 #451

Stak and XMRig are decent, both are copies of Wolf0, like Zawawa btw, but both the code and OpenCL contains goofs that made me laugh, so i just rewrote everything, and kept it close source, i won't do the same error than Wolf0 to open source just to see the fees go to copy-paste morons.

I take serious offence to this grossly inaccurate statement.
I was using W0lf's kernel as it was good enough, and I gave him a substantial portion of the DEVFEE.
I've known him for a while now, I respect his work, and he was quite happy with the compensation.

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
vasilurda
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 11, 2018, 11:30:21 AM
 #452

Hi

Can you let me know how I can set max-cpu-usage of the miner?

Thanks.
s0ftcorn
Newbie
*
Offline Offline

Activity: 70
Merit: 0


View Profile
June 11, 2018, 02:08:48 PM
 #453

Hi

Can you let me know how I can set max-cpu-usage of the miner?

Thanks.

You dont. If you dont want to tweak around just use --auto instead of -c config.txt, the miner will in most cases set the appropriate settings. If you have some exotic CPU or get unusally low hashrates, you should tweak around with the config, but this depends very much on the exact CPU you have.
MPNT
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
June 11, 2018, 03:16:46 PM
 #454

rx 460 unlocked Micron 4gb (1.35v shiet gddr5 ) srb miner 1.6
Heavy cc 1150 mem 1850 508 h/s
Heavy cc 1225 mem 1850 542 h/s
v7 cc 1000 mem 1850 440 h/s
rx 460 unlocked Hynix 2gb (normal AJR) srb miner 1.6
v7 cc 1000 mem 1970 487 h/s
custom mem straps
    
JCE-Miner (OP)
Member
**
Offline Offline

Activity: 350
Merit: 22


View Profile
June 11, 2018, 05:27:04 PM
Last edit: June 11, 2018, 07:14:40 PM by JCE-Miner
 #455

@zawawa : first, of the three miners I cited, yours is the less copy-pasty. You provide some original features like the Phymem, and you keep it open-source. I didn't know you gave back some bucks to Wolf0, and that's very fair. However the CN OpenCL part is still an exact copy of the kernels one can find in other miners, including the stupid parts**
The two other are absolute clones, except the UI and the netcode.
Claymore, SRB and XMRig are really original. But close source. Mine will be too.

@vasilurda
The --low parameter avoid the use of CPU over Idle parts. Otherwise, if JCE mines with, let's say N threads, add parameter -t K where K=N-1 or N-2 to use less CPU. There's no percentage config, but -t does the same.

@MPNT
Thanks but raw performance is of little help with no comparison and no config provided.

My current status is 268 h/s max and stable on my Bonaire, exact same as Claymore, but with twice the memory usage.
I reach 1070 stable on my dual 7950 where claymore 9.7 gave 1160 and 11.3 gave 1147, but 11.3 makes 10% bad shares. I'll try SRB on it.
On my rx560 i'm at 528, against 510 for Stak and Claymore, but unstable Sad Sad


**
Quote
// For 256-bit keys, an sbox permutation is done every other 4th uint generated, AND every 8th
uint t = ((!(c & 7)) || ((c & 7) == 4)) ? SubWord(keybuf[c - 1]) : keybuf[c - 1];
my favorite stupid part of Wolf0 code. Looks nobody noticed a multiple of 8 is always a multiple of 4.

Quote
// For 256-bit keys, an sbox permutation is done every other 4th uint generated
uint t = ((c & 7) == 4) ? SubWord(keybuf[c - 1]) : keybuf[c - 1];
Now fixed. But I won't use it, i use a completely different Keygen code, inspired from my CPU version.
JCE-Miner (OP)
Member
**
Offline Offline

Activity: 350
Merit: 22


View Profile
June 11, 2018, 05:43:47 PM
 #456

I'd say TurtleCoin or IPBC, or any Cryptoligh-style coin. CPU are beasts on them.
And CN-Heavy on GPU.
Monero is intermediate.
Iamtutut
Full Member
***
Offline Offline

Activity: 1120
Merit: 131


View Profile
June 11, 2018, 06:53:31 PM
 #457

Which coin is best to mine over cpu these days?

Try different algos, see your average hashrate and use this kind of website to estimate your profitability: https://www.cryptunit.com/
zawawa
Sr. Member
****
Offline Offline

Activity: 728
Merit: 304


Miner Developer


View Profile
June 15, 2018, 02:27:24 AM
 #458

@zawawa : first, of the three miners I cited, yours is the less copy-pasty. You provide some original features like the Phymem, and you keep it open-source. I didn't know you gave back some bucks to Wolf0, and that's very fair. However the CN OpenCL part is still an exact copy of the kernels one can find in other miners, including the stupid parts**
The two other are absolute clones, except the UI and the netcode.
Claymore, SRB and XMRig are really original. But close source. Mine will be too.

@vasilurda
The --low parameter avoid the use of CPU over Idle parts. Otherwise, if JCE mines with, let's say N threads, add parameter -t K where K=N-1 or N-2 to use less CPU. There's no percentage config, but -t does the same.

@MPNT
Thanks but raw performance is of little help with no comparison and no config provided.

My current status is 268 h/s max and stable on my Bonaire, exact same as Claymore, but with twice the memory usage.
I reach 1070 stable on my dual 7950 where claymore 9.7 gave 1160 and 11.3 gave 1147, but 11.3 makes 10% bad shares. I'll try SRB on it.
On my rx560 i'm at 528, against 510 for Stak and Claymore, but unstable Sad Sad


**
Quote
// For 256-bit keys, an sbox permutation is done every other 4th uint generated, AND every 8th
uint t = ((!(c & 7)) || ((c & 7) == 4)) ? SubWord(keybuf[c - 1]) : keybuf[c - 1];
my favorite stupid part of Wolf0 code. Looks nobody noticed a multiple of 8 is always a multiple of 4.

Quote
// For 256-bit keys, an sbox permutation is done every other 4th uint generated
uint t = ((c & 7) == 4) ? SubWord(keybuf[c - 1]) : keybuf[c - 1];
Now fixed. But I won't use it, i use a completely different Keygen code, inspired from my CPU version.

Well, I am pretty sure that the redundant conditional expression is optimized away by clang/LLVM.
Did you take a look at the resulting GCN assembly code?

Gateless Gate Sharp, an open-source ETH/XMR miner: http://bit.ly/2rJ2x4V
BTC: 1BHwDWVerUTiKxhHPf2ubqKKiBMiKQGomZ
JCE-Miner (OP)
Member
**
Offline Offline

Activity: 350
Merit: 22


View Profile
June 15, 2018, 04:50:43 AM
 #459

Woow, my topic upped by zawawa, thanks bro Smiley

I didn't look at that precise line, as I said i don't use it, i use the 32-bits version of jce cpu algo here instead (since cgn and even nVidia are 32-bits scalar) but it's very possible it's optimized away. I meant that line was stupid funny, not slow, and the funnier is the comment about multiple of 4 and of 8.

I'm almost done with my gpu version, or at least, about to giveup optims. No way to go above 268 on my Bonaire, it sounds like it's the hardware max that claymore 9.7 maxed out too. I spent days fixing my stability problem on rx, and it's stable now, i had to rewrite one little optim.
JCE-Miner (OP)
Member
**
Offline Offline

Activity: 350
Merit: 22


View Profile
June 15, 2018, 09:15:26 PM
Last edit: June 15, 2018, 09:31:59 PM by JCE-Miner
 #460

I have Pitcairn card. 270X with 4Gb vmem. Best speed on cnv7 is on Claymore 11.3 - it's about 500-510 h/s. Settings are -h 460 -dmem 1
On SRB cnv7 about 450-475 h/s with intensity 58-59, worksize 8, threads 2.

Heavy algo on SRB - about 400 h/s with intensity 26, worksize 8, threads 2.

I'm done with the optims, now focusing on the exotic variations (far easier to add than in CPU version because GPU have tons of registers).
I did the test you advised on my 7870 overpumped with custom JCE timings  Cool which is what i've the closest to your 270X
I could reach 504 with SRB, the best, with 2 threads, intensity 30 (that's your advice of 59 divided by two since a 7870 has 2G ram). At 31, SRB hangs.

On JCE with params 480-8-128 (that's the equivalent JCE config, i'll document it later when i release) I get 510.

On my Bonaire, i reach the exact same 268 than Claymore, it looks like the hardware max.
On my dual 7950 I go up to 1072 with JCE, i still need to compare with SRB. Claymore 9.7 climbed up to 1174, i just cannot reach it.

Next steps : bench the Tahiti against SRB, add the Heavy & al., and i can release an alpha.
edit: i can reach 1040 on SRB with intensity 32 on my 7950s (all other values give lower hashrate or hang). JCE goes up to 1072. All on CN-v7
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 ... 119 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!