nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
768 stars 583 forks source link

Application lock-ups (Windows 10) #315

Closed cdokolas closed 6 years ago

cdokolas commented 7 years ago

Running nheqminer v0.5c in the background (CPU mining) causes lock-ups on many other applications. Examples:

I'm absolutely sure nheqminer is the culprit because I've repeatedly stopped it during such delays and responsiveness was restored immediately.

My specs:

Amonomen commented 6 years ago

What is the exact command line you're using to start the miner? You really haven't provided any information to even guess what the issue could be.

cdokolas commented 6 years ago

This is how it runs (as a Windows service via NSSM): nheqminer.exe -l eu.zec.slushpool.com:4444 -u someuser.name -t 6

As to the guessing, I'm just stating the problem, throwing in some basic info, waiting to see if there are others experiencing the same. You can ask me anything you think might help you. IMHO, it has something to do with memory management.

Amonomen commented 6 years ago

I should have checked this before I posted.. A quick Google search shows that CPU only has 4 threads. Trying to run a CPU miner on n/n threads will cause a big performance loss let alone 1.5n/n threads. Try setting the thread count to 3 instead of 6.

cdokolas commented 6 years ago

Apologies not necessary. I made the change. Now CPU is @ ~87% total. I'll let you know how it goes.

Thanks a bunch.

cdokolas commented 6 years ago

It's been running for about 5 hours now and the only "problem" I have is that the hash rate has fallen by ~25%. This is to be expected though with 3 working cores instead of 4. Thanks for the tip :)