[Ethereum] How to get MHash value when ethminer doesn’t provide one

cpp-ethereumethminerhashrate

In order to set up the ethminer I need the MHash value. I'm testing CPU, so I ran:

ethminer -M

and I got a weird output:

Trial 1... 0
Trial 2... 0
Trial 3... 0
Trial 4... DAG  17:33:59.896|miner0  Generating DAG file. Progress: 0 %
0
Trial 5... 0
 ⚡   17:34:04.302|ethminer  Terminate worker 500 ms
min/mean/max: 0/0/0 H/s
inner mean: 0 H/s
Phoning home to find world ranking...

I have the DAG file generated and everything should be set up (I tried to mine setting a number and it did report hashes per second and stuff). So I'm not sure if the -M switch is not working properly or I'm doing something wrong, and I need the mhash value so I don't mess it up and end up losing money.

Thank you.

Best Answer

You can use chfast's Fakeminer to do cpu benchmarks, see https://github.com/chfast/ethash/tree/master/test/fakeminer

Related Topic