Enable huge pages / large pages on Debian 9

in #monero7 years ago (edited)


I had the problem, that xmrig always told me on my Linux machines, that huge pages are disabled.

To create/enable huge pages on Debian 9 you just need to execute just two commands:

echo 128 > /proc/sys/vm/nr_hugepages
sysctl -w vm.nr_hugepages=128

This will enable 128 pages, for mining 16 or 32 pages should be more than enough.
Huge pages increased my xmrig mining speed by 20%-30%.

Happy mining!

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.028
BTC 63345.39
ETH 3130.58
USDT 1.00
SBD 2.48