decred / gominer

Go (golang) based GPU miner for Decred.
GNU General Public License v3.0
162 stars 80 forks source link

high CPU usage while solo mining #121

Open jolan opened 8 years ago

jolan commented 8 years ago

pool/stratum mining CPU usage is steady at ~1-2% for both CUDA and OpenCL.

However, CPU usage while solo mining on testnet is:

~8% for OpenCL ~45% for CUDA

For OpenCL, I think this is in part due to how it works. It returns any diff 1 shares and then the difficulty is checked on the CPU. With lots of false positives per second, this is kind of to be expected.

Not sure about CUDA since I'm not very familiar with that yet.

Need to see if mainnet reveals similar results.

jolan commented 8 years ago

Same CPU usage on mainnet as well.

DeadManWalkingTO commented 6 years ago

In some cases (unfortunately many), the processors in Windows 10 show 100% usage. From what I understand the problem grows according to the number of GPUs. Windows 10 overloads processors that have few flames when GPUs are more than the threads.

I found some tweaks for windows 10 and achieve more than 50% less CPU usage.

New CPU Usage: 45%

Windows10MiningTweaksDmW

Just let me know about your results.

Have a nice mining!