Huge Pages - XMRig (2024)

Huge Pages, also known as Large Pages (on Windows) and Super Pages (on BSD or macOS) 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 refers to this feature as huge pages regardless of platform.

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

On Windows you need special privilege called as SeLockMemoryPrivilege to use huge pages.
First check miner output if you see line below you already have this privilege and no additional actions required.

* HUGE PAGES permission granted

If not, you have 2 options to obtain it, both are require admin rights.

On Windows 10 once you obtain the privilege, admin rights no longer required to use huge pages, but on Windows 7 admin rights always required. Please note on Windows no way to reserve huge pages for future use and the miner still can fail to allocate all required huge pages, because other applications use memory, if you got less than 100% of huge pages best option is reboot. If you heavy use algorithm switching and like to prevent loose huge pages you can use option "memory-pool": true, in "cpu" object.

Since version 5.2.0 if you run the miner with root privileges no manual system configuration required.

For manual configuration you must know how many huge pages you need, general recommendations is 1280 pages per NUMA node for RandomX algorithms and 128 per system for other algorithms. Please note 1280 pages means 2560 MB of memory will be reserved for huge pages and become not available for other usage, in automatic mode the miner reserve precise count of huge pages.

Temporary (until next reboot) reserve huge pages:

sudo sysctl -w vm.nr_hugepages=1280

Permanent huge pages reservation

sudo bash -c "echo vm.nr_hugepages=1280 >> /etc/sysctl.conf"

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 .

Huge Pages - XMRig (2024)
Top Articles
How to Set Up and Remove Folder Redirection on Windows Server
Folder Redirection issues
Exam With A Social Studies Section Crossword
Sissy Transformation Guide | Venus Sissy Training
Walgreens Alma School And Dynamite
Optimal Perks Rs3
Craigslist Phoenix Cars By Owner Only
Baseball-Reference Com
Call Follower Osrs
Www.paystubportal.com/7-11 Login
2135 Royalton Road Columbia Station Oh 44028
Cool Math Games Bucketball
Trini Sandwich Crossword Clue
Samsung Galaxy S24 Ultra Negru dual-sim, 256 GB, 12 GB RAM - Telefon mobil la pret avantajos - Abonament - In rate | Digi Romania S.A.
Rhinotimes
Midlife Crisis F95Zone
Dutch Bros San Angelo Tx
Amc Flight Schedule
Used Sawmill For Sale - Craigslist Near Tennessee
ARK: Survival Evolved Valguero Map Guide: Resource Locations, Bosses, & Dinos
Pretend Newlyweds Nikubou Maranoshin
Acts 16 Nkjv
Lola Bunny R34 Gif
Robeson County Mugshots 2022
Highmark Wholecare Otc Store
Tokyo Spa Memphis Reviews
Select Truck Greensboro
Preggophili
Creed 3 Showtimes Near Island 16 Cinema De Lux
Temu Seat Covers
Craigslist Fort Smith Ar Personals
Shauna's Art Studio Laurel Mississippi
Little Caesars Saul Kleinfeld
Of An Age Showtimes Near Alamo Drafthouse Sloans Lake
Whas Golf Card
Audi Q3 | 2023 - 2024 | De Waal Autogroep
Iban's staff
Rogers Centre is getting a $300M reno. Here's what the Blue Jays ballpark will look like | CBC News
Autozone Locations Near Me
Are you ready for some football? Zag Alum Justin Lange Forges Career in NFL
Uvalde Topic
Alston – Travel guide at Wikivoyage
LumiSpa iO Activating Cleanser kaufen | 19% Rabatt | NuSkin
Mychart University Of Iowa Hospital
Sechrest Davis Funeral Home High Point Nc
Iupui Course Search
Interminable Rooms
2000 Ford F-150 for sale - Scottsdale, AZ - craigslist
Craigs List Sarasota
Law Students
Latest Posts
Article information

Author: Maia Crooks Jr

Last Updated:

Views: 5844

Rating: 4.2 / 5 (43 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Maia Crooks Jr

Birthday: 1997-09-21

Address: 93119 Joseph Street, Peggyfurt, NC 11582

Phone: +2983088926881

Job: Principal Design Liaison

Hobby: Web surfing, Skiing, role-playing games, Sketching, Polo, Sewing, Genealogy

Introduction: My name is Maia Crooks Jr, I am a homely, joyous, shiny, successful, hilarious, thoughtful, joyous person who loves writing and wants to share my knowledge and understanding with you.