xmrig / xmrig-cuda

NVIDIA CUDA plugin for XMRig miner
GNU General Public License v3.0
365 stars 154 forks source link

comparison of gpu vs cpu hashrates #67

Open justinspony opened 4 years ago

justinspony commented 4 years ago

[2020-09-06 05:01:33.255] cpu accepted (2/0) diff 175004 (220 ms) | CPU # | AFFINITY | 10s H/s | 60s H/s | 15m H/s | | 0 | 0 | 442.7 | n/a | n/a | | 1 | 2 | 598.3 | n/a | n/a | | 2 | 4 | 606.1 | n/a | n/a | | 3 | 1 | 438.0 | n/a | n/a | | 4 | 6 | 437.0 | n/a | n/a | | 5 | 8 | 613.2 | n/a | n/a | | 6 | 10 | 610.3 | n/a | n/a | | 7 | 7 | 440.6 | n/a | n/a | | - | - | 4186.3 | n/a | n/a |

| CUDA # | AFFINITY | 10s H/s | 60s H/s | 15m H/s | | 0 | -1 | 295.4 | n/a | n/a | #0 26:00.0 GeForce GTX 1060 6GB | - | - | 295.4 | n/a | n/a |

The results of Cuda were no where near the numbers my CPU can produce. Any idea how to improve it? Would fixing NVML help?

xmrig commented 4 years ago

RandomX is CPU oriented algorithm, mining on GPU is possible, but pointless as you already noticed. NVML error means: GPU health information (clocks, power, temps, fans) will not be available, but it doesn't affect hashrate. Thank you.

justinspony commented 4 years ago

I will like to add that it is stable. The electricity usage monitor plugged into the wall indicates +50 watts usage when CUDA is on. Also, this works more efficiently than ccminer for me.

hellresistor commented 4 years ago

guys, keeping this. on config_json file what is the correct path to "loader" field? I am putting

    "cuda": {
        "enabled": true
        "loader": "C:\Users\domato\Desktop\WowNeroMiner\xmrig-6.3.3\xmrig-cuda.dll"
    },

but keep CUDA disabled

PS: just to not open other issue

justinspony commented 3 years ago

@hellresistor check where you downloaded that file to. It should not be too hard to find. It really is wherever you put it. There may be additional formatting required since you are using Windows.