JayDDee / cpuminer-opt

Optimized multi algo CPU miner
Other
770 stars 544 forks source link

Low performance #31

Closed numerys closed 7 years ago

numerys commented 7 years ago

Hi, I'm running cpuminer-opt with command ./cpuminer --algo=cryptonight --url=stratum+tcp://cryptonight.eu.nicehash.com:3355 --userpass=XXXX:x -t 31 on a machine with around 450 H/s. But with another pool and xmr-stak-cpu I got 750H/s as expected.

Why is my hashrate lower than it is with xmr-stak-cpu?

Regards

JayDDee commented 7 years ago

Stak is faster but there shouldn't be that much difference. I need more info about your CPU, as well as the miner's startup info showing the available features.

Stak uses huge pages, an OS feature that improves memory performance for large data. I have not implemented huge pages in cpuminer-opt because there are side effects:

Huge pages is better suited to server grade systems with lots of RAM and cache than typical desktop PCs.

The feature is not yet mature in my opinion. It should be enabled by default in the OS and fully transparent to the app.

Regardless, huge pages shouldn't make that much of a difference. If you provide more info I will look into it further.

JayDDee commented 7 years ago

No further information provided.

maxfunky commented 6 years ago

Could Huge pages be added as an option ?