Huge Pages

Huge Pages, also known as Large Pages (on Windows) and Super Pages (on BSD) is very important thing for almost all supported CPU mineable algorithms, typical hashrate increase is 20-30% when huge pages used, for RandomX it can increase performance up to 50%. XMRig use term huge pages on all platforms, please don't confusing.

If XMRig use huge pages you will see lines with text like bellow in miner log.

huge pages 100%

OS specific setup

1GB huge pages Linux only

For RandomX dataset since version 5.2.0 the miner support 1GB huge pages (regular huge pages size is 2MB), this feature available only on Linux. It increases the hashrate by 1-3% (depends of CPU) and increases memory requirements to 3GB (3 pages) per NUMA node.
By default this feature disabled, to enable use option "1gb-pages": true, in "randomx" object.

If use XMRig with root privileges, additional system configuration not required.
As an alternative you can go to miner source directory and run sudo ./scripts/enable_1gb_pages.sh script source .