Bitcoin Forum
June 30, 2024, 02:36:28 PM *
News: Latest Bitcoin Core release: 27.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 ... 91 »
  Print  
Author Topic: SILENTARMY v5: Zcash miner, 115 sol/s on R9 Nano, 70 sol/s on GTX 1070  (Read 209264 times)
nerdralph
Sr. Member
****
Offline Offline

Activity: 588
Merit: 251


View Profile
November 03, 2016, 03:37:42 PM
 #21

Marc, have you considered making NR_ROWS_LOG fixed at 20, and clearing cnt for each round?  Then each row would have only collisions at each round, avoiding the need to search for collisions.  Then NR_SLOTS/OVERHEAD could be significantly reduced.
To avoid time penalty for clearing the cnt values, instead of calling kernel_init_ht at each round, you could zero the count after checking the row.  When the DRAM page is already open to check the cnt value, the time cost of doing a write back to the same page (in fact, same 64-byte cache line) is minimal.
giagge
Legendary
*
Offline Offline

Activity: 1134
Merit: 1001


View Profile
November 03, 2016, 05:29:47 PM
 #22

Im wait windows x64 on Nvidia Smiley .
tbearhere
Legendary
*
Offline Offline

Activity: 3164
Merit: 1003



View Profile
November 03, 2016, 07:25:18 PM
 #23

Im wait windows x64 on Nvidia Smiley .
Me too  on comp 5.0 and 5.2.  Smiley
mrb (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
November 04, 2016, 07:07:35 AM
 #24

I released SILENTARMY v3 which is now a full miner with multi-GPU support, Stratum support. Check the top post for more info. https://github.com/mbevand/silentarmy

Here is a test machine mining (R9 Nano and RX 480 8GB):

mrb (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
November 04, 2016, 07:10:39 AM
 #25

Marc, have you considered making NR_ROWS_LOG fixed at 20, and clearing cnt for each round?  Then each row would have only collisions at each round, avoiding the need to search for collisions.  Then NR_SLOTS/OVERHEAD could be significantly reduced.
To avoid time penalty for clearing the cnt values, instead of calling kernel_init_ht at each round, you could zero the count after checking the row.  When the DRAM page is already open to check the cnt value, the time cost of doing a write back to the same page (in fact, same 64-byte cache line) is minimal.

Yeah NR_ROWS_LOG is pretty much always compiled at 20. But I have to offer the other options because people want to mine with GPUs having very little memory. And I don't know if you checked the latest commits, but OVERHEAD has been lowered to 9 so 1 Equihash instance needs only 1.2 GB, and I recently made the exact change you suggested (clearing the counter after we are done using/reading it).
giagge
Legendary
*
Offline Offline

Activity: 1134
Merit: 1001


View Profile
November 04, 2016, 07:11:02 AM
 #26

Im wait windows x64 on Nvidia Smiley .
Me too  on comp 5.0 and 5.2.  Smiley

Im for cuda for gpu pascal ( gtx 1060-1070-1080 ) Smiley .
coinut
Full Member
***
Online Online

Activity: 253
Merit: 100


View Profile
November 04, 2016, 07:38:46 AM
 #27

Im wait windows x64 on Nvidia Smiley .
Me too  on comp 5.0 and 5.2.  Smiley

me 3 , 750ti and 1070  Grin
ioglnx
Sr. Member
****
Offline Offline

Activity: 574
Merit: 250

Fighting mob law and inquisition in this forum


View Profile
November 04, 2016, 08:01:41 AM
 #28

Well I also wait for CUDA8 support and SM/compute 6.1 support.

Will it also support mixed mode(AM/Nvidia mix)?

GTX 1080Ti rocks da house... seriously... this card is a beast³
Owning by now 18x GTX1080Ti :-D @serious love of efficiency
vatusasid
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
November 04, 2016, 08:21:43 AM
 #29

How did you make the R9 Nano or the Fury cards to run so fast? I use the stock setting and the speed is just 25S/s. What driver do you us?
thaiphamce
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
November 04, 2016, 08:23:10 AM
 #30

confirm, rx470 45sol/s  Grin ~250 sol/s for 6
Gataway
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
November 04, 2016, 08:26:25 AM
 #31

confirm, rx470 45sol/s  Grin ~250 sol/s for 6

Is that the V2 or the V3 of the kernal?
ioglnx
Sr. Member
****
Offline Offline

Activity: 574
Merit: 250

Fighting mob law and inquisition in this forum


View Profile
November 04, 2016, 08:32:19 AM
 #32

1 or two instances?

GTX 1080Ti rocks da house... seriously... this card is a beast³
Owning by now 18x GTX1080Ti :-D @serious love of efficiency
mrb (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
November 04, 2016, 08:37:21 AM
 #33

Will it also support mixed mode(AM/Nvidia mix)?

Probably, yes.
mrb (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
November 04, 2016, 08:39:28 AM
 #34

1 or two instances?

With the latest SILENTARMY v3, there is no more need to care about instances. You run just 1 instance of "silentarmy" in a terminal console, and by default, under the hood, it runs 2 instances of Equihash per GPU (--instances option defaults to 2).
efficienthash
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
November 04, 2016, 08:39:54 AM
 #35

@mrb

Which python version do you support?
thaiphamce
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
November 04, 2016, 08:40:39 AM
 #36

confirm, rx470 45sol/s  Grin ~250 sol/s for 6

Is that the V2 or the V3 of the kernal?
lastest version, v3
mrb (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
November 04, 2016, 08:42:44 AM
 #37

@mrb

Which python version do you support?

It requires Python 3.4.5 or above due to this issue: https://github.com/mbevand/silentarmy/issues/8

For those running Ubuntu 14.04 (which very unfortunately ships a slightly too old 3.4.x) there is a workaround documented in this github issue by n1koo (4th message from the top). I'll try to fix that in the next few days so SILENTARMY doesn't require Python 3.4.5.
efficienthash
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
November 04, 2016, 08:53:26 AM
 #38

@mrb

thanks, I got around that problem. I run into

Code:
DEBUG:asyncio:poll 573.300 ms took 0.016 ms: 1 events
DEBUG:asyncio:process 21691 exited with returncode 1
INFO:asyncio:<_UnixSubprocessTransport pid=21691 stdin=<_UnixWritePipeTransport closed fd=17 closed> stdout=<_UnixReadPipeTransport closed fd=18 closed>> exited with return code 1
DEBUG:asyncio:poll 563.276 ms took 0.014 ms: 1 events
DEBUG:asyncio:process 21692 exited with returncode 1
INFO:asyncio:<_UnixSubprocessTransport pid=21692 stdin=<_UnixWritePipeTransport closed fd=19 closed> stdout=<_UnixReadPipeTransport closed fd=20 closed>> exited with return code 1
INFO:asyncio:poll 999.912 ms took 1001.039 ms: timeout

I can run the solver manual and it seems to work. Is there an easy way to see the output/error of the solver so that I can keep debugging?
mrb (OP)
Legendary
*
Offline Offline

Activity: 1512
Merit: 1027


View Profile WWW
November 04, 2016, 08:56:24 AM
 #39

@mrb

thanks, I got around that problem. I run into

Code:
DEBUG:asyncio:poll 573.300 ms took 0.016 ms: 1 events
DEBUG:asyncio:process 21691 exited with returncode 1
INFO:asyncio:<_UnixSubprocessTransport pid=21691 stdin=<_UnixWritePipeTransport closed fd=17 closed> stdout=<_UnixReadPipeTransport closed fd=18 closed>> exited with return code 1
DEBUG:asyncio:poll 563.276 ms took 0.014 ms: 1 events
DEBUG:asyncio:process 21692 exited with returncode 1
INFO:asyncio:<_UnixSubprocessTransport pid=21692 stdin=<_UnixWritePipeTransport closed fd=19 closed> stdout=<_UnixReadPipeTransport closed fd=20 closed>> exited with return code 1
INFO:asyncio:poll 999.912 ms took 1001.039 ms: timeout

I can run the solver manual and it seems to work. Is there an easy way to see the output/error of the solver so that I can keep debugging?

Weird. Enable verbose or very verbose ("-v" or "-v -v") mode and you'll see the stdout/stderr output of sa-solver.
efficienthash
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
November 04, 2016, 09:02:44 AM
 #40

@mrb

thanks, I got around that problem. I run into

Code:
DEBUG:asyncio:poll 573.300 ms took 0.016 ms: 1 events
DEBUG:asyncio:process 21691 exited with returncode 1
INFO:asyncio:<_UnixSubprocessTransport pid=21691 stdin=<_UnixWritePipeTransport closed fd=17 closed> stdout=<_UnixReadPipeTransport closed fd=18 closed>> exited with return code 1
DEBUG:asyncio:poll 563.276 ms took 0.014 ms: 1 events
DEBUG:asyncio:process 21692 exited with returncode 1
INFO:asyncio:<_UnixSubprocessTransport pid=21692 stdin=<_UnixWritePipeTransport closed fd=19 closed> stdout=<_UnixReadPipeTransport closed fd=20 closed>> exited with return code 1
INFO:asyncio:poll 999.912 ms took 1001.039 ms: timeout

I can run the solver manual and it seems to work. Is there an easy way to see the output/error of the solver so that I can keep debugging?

Weird. Enable verbose or very verbose ("-v" or "-v -v") mode and you'll see the stdout/stderr output of sa-solver.

Thanks, only tried -v. I guess it's then related to bytes.hex throwing an error - and I replaced it with binascii.hexlify - I can't find the documentation to bytes.hex.

Code:
To solvers: b'4f8d976e1283c0caa145b6f3fdd478e9263108ac1c5a643bdf4f8d976e128300' 9732eb5b92ca5bdbb150 b'04000000455f40ac14ec9f6bad6cc8d5de2714ea84be396203d45e710745605e01000000f963ea196bb8cb2260a2825beca315b6d1e6608d8696338e26b75f8b1a4f93da0000000000000000000000000000000000000000000000000000000000000000fc4e1c58940d041d' b'6493d02292'
From solver 0.0: banner "SILENTARMY mining mode ready"
From solver 0.0: strange: more than 1 line was read
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 ... 91 »
  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!