fireworm71 / veriumMiner

veriumMiner for solomining and pools
Other
59 stars 36 forks source link

Low hash rate between Win/Linux #29

Open iceblu3710 opened 6 years ago

iceblu3710 commented 6 years ago

Using cpuminer v1.4: x64 Opts on Windows I get ~1800H/m but on Linux I only get 600H/m.

System is i7-6700k, 16gig ram.

Is there something I need to setup on Linux to help throughput?

darkwolfultima commented 6 years ago

did you enable hugepages following the instructions under hugepages - linux?

iceblu3710 commented 6 years ago

I added default_hugepagesz=1G hugepagesz=1G hugepages=1 to the grub boot config. Right off the bat my hash rate jumped to 1300H/m which is the same as my Phenom x2 machine. I increased the number of hugepages but only 1 is ever used.

My i7 should be markedly faster than my Phenom x2

darkwolfultima commented 6 years ago

you need to add them via etc/sysctl.conf

see instructions here: https://github.com/fireworm71/veriumMiner#hugepages-linux

iceblu3710 commented 6 years ago

I have tried all the different hugepages settings and they give different results, none any good.

i7-6700k running 8 threads (linux): All hugepages options disabled: 600H/m Transparent_hugepages via guide: 1360H/m Prealloc hugepages (trasparent pages set to never): 1255H/m Boot config to 1x1G hugepages: 1300H/m Stock Win10: 1700H/m LargePages Win10: 1950H/m

Even the best case one above is woefully below the reported H/m for my processor.

darkwolfultima commented 6 years ago

from where? the cpu sheet? if your hugepages on linux are set correctly, look at ram and bios configs as well. make sure you have the optimal ram config set,you are using the fastest supported ram, and that your bios is updated and set for performance mode if it supports one.