Open jmakov opened 3 years ago
Try this for now. I'll try to investigate what might be the problem on 21.10.
sudo sysctl -w vm.nr_hugepages=64
Thank you for the super fast response! Sadly that doesn't change anything. On 20.04 everything works out of the box though.
I've also tried to set memlock
in /etc/security/limits.conf
without success.
For some reason only now (after a few hours after applying your suggestion) HugePages_Total
changed from 42 to 47, leaving me with only 1 warning left.
While running cpuminer:
$ cat /proc/meminfo|grep -i huge
AnonHugePages: 944128 kB
ShmemHugePages: 0 kB
FileHugePages: 0 kB
HugePages_Total: 47
HugePages_Free: 3
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 96256 kB
I'm also on 21.10 and getting the Huge Pages allocation failed
error. Commenting for visibility
Thanks for your work!
Using Ubuntu 21.10, compiled from source and run with sudo I get
Huge Pages allocation failed
. I've followed https://github.com/WyvernTKC/cpuminer-gr-avx2/issues/35 and managed to reduce 12 warning to 2. Would be glad to get any hints.Log: