fireice-uk / xmr-stak-nvidia

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

Lag/stuttering when running miner #105

Open nicklonergan opened 7 years ago

nicklonergan commented 7 years ago

Hi, have just downloaded the latest release of yours, running on gtx 1070 I have this suggestion, when running with the given configuration I can see obviously lag on my machine. There is no tangible spike in CPU or GPU however. When I drop thread down to 16 and blocks to 8 this seems to solve the problem, but the moment I make it to 32 or 64 then the problem persist, could someone tell me what is causing this? Ta "gpu_threads_conf" : [ { "index" : 0, "threads" : 64, "blocks" : 45, "bfactor" : 6, "bsleep" : 25, "affine_to_cpu" : false, }, ],

rumkugel13 commented 7 years ago

Try to increase bfactor to 8 and bsleep to 100 as it is described in the config.txt:

bfactor - Enables running the Cryptonight kernel in smaller pieces. Increase if you want to reduce GPU lag. Recommended setting on GUI systems - 8 bsleep - Insert a delay of X microseconds between kernel launches. Increase if you want to reduce GPU lag. Recommended setting on GUI systems - 100

neptune-klm commented 6 years ago

i changed my bsleep to 100 and it made no difference. i still have crazy lag when running the xmr stak

HyggeJJ commented 6 years ago

I have the same issue, my computer is basically unusable while xmr-stak is running. With my RX480 I do not have any such issues.

Any ideas how to solve it, my computer mines while I browse the internet, edit photos and other stuff.

"gpu_threads_conf" : [ // gpu: GeForce GTX 1080 Ti architecture: 61 // memory: 9312/11264 MiB // smx: 28 { "index" : 0, "threads" : 54, "blocks" : 84, "bfactor" : 8, "bsleep" : 100, "affine_to_cpu" : false, "sync_mode" : 3, },

],

psychocrypt commented 6 years ago

half the number of threads

HyggeJJ commented 6 years ago

Thanks, that helped. I'll monitor the hash rate to see the effect on it.