MrPlusGH / NPlusMiner

NPlusMiner + GUI | NVIDIA/AMD/CPU miner | AI | Autoupdate | MultiRig remote management
GNU General Public License v3.0
172 stars 52 forks source link

CPU miner #100

Closed RetroShag closed 6 years ago

RetroShag commented 6 years ago

Just a suggestion, add --cpu-affinity AAAA argument to JayDDee cpu miner to spread the load across all cores, and not just the first ones.

MrPlusGH commented 6 years ago

AAAA would spread across half the cores if I get this right. Do you see any gain in hashrate using this config?

RetroShag commented 6 years ago

Yes, it does improve the hashrate. Spreading the load across all cores ensures that all CPU cache is utilized. I usee AAAA on Ryzen 1700 (16 threads), but it should work on other cpus.

MrPlusGH commented 6 years ago

Thank you. Will put in test.

MrPlusGH commented 6 years ago

https://github.com/MrPlusGH/NPlusMiner/commit/105b19d4922e414aa79fde113c4443cf29965cc8

Thank you!