How to (mining) benchmark a system (not single core)?

I’ve been trying to figure out the same thing. You can provide a thread count parameter to zcbenchmark:

~/zcash/src/zcash-cli zcbenchmark solveequihash 20 4

I quickly made a script to run several tests with zcbenchmark. I’m still not certain this will get us the answer that we want though. My main goal with this script is to verify that four threads is the best setup for my machine. At this time, I understand that this script is searching for the point where memory bandwidth and CPU are maxed out. These appear to be the key resources for equihash.

Script: zcashHashTest/zcashHashTest.sh at master · MetaRossi/zcashHashTest · GitHub

Also, if you haven’t found it, this thread is a good place to start: Equihash - ongoing memory requirement adjustments? - #18 by daira

1 Like