XMRig, Support 1GB Page on Fedora
30/05/2022
@ Saigon
Mining Rig
By default, running xmrig to mine Monero will got 1GB PAGES disabled eventhough config.json has been configured.
While running xmrig, you can caught the following log.
[2021-03-15 15:14:59.732] randomx failed to allocate RandomX dataset using 1GB pagesThe solution is to edit grub file located at /etc/default/grub with the following config:
GRUB_CMDLINE_LINUX_DEFAULT="hugepagesz=1G hugepages=3"Then, update grub.cfg with this command and do reboot.
grub2-mkconfig -o /boot/grub2/grub.cfgFinally, run your xmrig with sudo and enjoy!