fireice-uk / xmr-stak-nvidia

Monero NVIDIA miner
GNU General Public License v3.0
248 stars 98 forks source link

CPU getting more hash than GPU #149

Open AniketBhadane opened 7 years ago

AniketBhadane commented 7 years ago

I have Intel Xeon CPU E3-1271 v3 @ 3.60 GHz and a Nvidia Quadro K620 GPU. Windows 7 SP1 OS. xmr-stak-cpu is giving a hashrate of more than 300 H/s on the CPU. Whereas xmr-stak-nvidia is giving hashrate of 111.0 H/s on the GPU.

With null gpu_threads_conf, the xmr-stak-nvidia miner gave me following suggestion:

"gpu_threads_conf" : [ { "index" : 0, "threads" : 64, "blocks" : 9, "bfactor" : 6, "bsleep" : 25, "affine_to_cpu" : false, }, ],

When I run the miner with this configuration, the miner crashes and following error pops: nvidia graphics driver stopped responding and has recovered

Then I tuned the parameters. Following is working: "threads" : 32, "blocks" : 9

and I'm getting hashrate of 111.0 H/s in the miner.

Is this expected? What can I do?

sheepchen commented 7 years ago

Do not trust the auto-fill tool. Best way to figure out is excel and some prooving/time.

I have 4 GTx 1060 3GB and Hashrate with autosuggestion is ~1.410. However with some tweaking I get ~1.700. So try it out yourself.

if you run this on linux a nice tool is nvidia-smi. Then you can see if you used to much GPU-MEM.

But dont expect too much. GTX1060 3GB = ~425 H/s raw performance GTX1060 3GB --> K620 = factor 4.1:1 expected H/s (rough estimate): 103 H/s

So your 111 is good. Maybe you get 2-3% more if you tweak your config a little bit.

http://gpu.userbenchmark.com/Compare/Nvidia-GTX-1060-3GB-vs-Nvidia-Quadro-K620/3646vs2840