fireice-uk / xmr-stak-nvidia

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

Unstable Hashrate with multiple GPUs #114

Open wcpannell opened 7 years ago

wcpannell commented 7 years ago

I'm having an issue where if I point xmr-stak-nvidia to more than one GPU, the hashrate on the 1+N GPUs becomes unstable.

I have 3x 1050ti's. When mining on one I get around 330H/s. When I add the second or third GPUs it acts like any of the 3 stop hashing momentarily at least once per 10s round. The it happens more frequently to the 2nd and 3rd GPU. The issue does not seem to follow the GPUs, but corresponds to the 2nd & 3rd pci-e slots The peak hashrate is 990H/s, but the 10second average varies between (na), 330, 280, down to 187 at worst. The 1min and 15min averages show a reduced hashrate that makes sense given however much variation is experienced (as bad as 187H/s on my arch-linux box)

The problem shows up on both of my computers (i5-2500k arch-linux and Athlon 64 x2 6000+ Ubuntu 16.04 lts), regardless of driver (375.something, 381.something, 384.something, on either comp), launch parameter, overclock, running in daemon-mode, running xmr-stak-cpu, used in xterm, systemd, or over ssh (w/ & w/o tmux and screen), running 1 instance of xmr-stak-nvidia per card or 1 for all 3, installed on the motherboard or with risers, or running a rx-580 and 2 1050 ti's in one box with the 3rd 1050ti in the other.

Any thoughts? I can do some reconfiguring and try under windows 10. Beyond that, I'm running out of ideas.

wcpannell commented 7 years ago

Oh, and all 3 perform perfectly when mining ethash and equihash. Issue only shows up when mining monero (I have not tried any other cryptonight coins)

wcpannell commented 7 years ago

I tested on windows. Windows is much pickier about risers, but I got it all 3 cards running consistently at 330H/s each. I booted back into Ubuntu with the same configuration and the issue returns. Any ideas?

carricha commented 7 years ago

I have exactly the same problem with xmr-stak-nvidia under ubuntu 16.04.3 with 3 x MSI 1070 and 4 x ASUS 1060 with AS Rock 110pro motherboard. Swapping cards around in different pci-e slots helps a little bit but overall hashrates are sporadically droping by -25% and some cards seem sporadically not to hash for a short time.

reisaiah commented 6 years ago

I have the same problem with custom build versions. I am attempting to compile for a few days, but it does not work.