RandomX Optimization Guide - XMRig (2024)

Guides

Memory size requirements

  • 2080 MB per NUMA node for dataset, 1 NUMA node usually equal to 1 CPU socket, the miner show number of nodes on startup.
  • 256 MB for cache on first NUMA node.
  • 256 KB of L2 cache and 2 MB of L3 cache per 1 mining thread.

CPU cache requirements is the main reason why the miner not use all threads on most CPUs (very popular question). On Windows 4GB memory may not enough system and miner.

There are several ways to increase or reduce memory requirements:

  • 1GB huge pages on Linux, increases memory requirements to 3GB (3 pages) per NUMA node and increases the hashrate by 1-3%.
  • Disable NUMA support by "numa": false in "randomx" object, miner will use only 1 dataset, but it reduce hashrate significantly, if you have only 1 NUMA node this option has no effect.
  • RandomX light mode, reduces memory requirements to 256 MB but this mode very slow, can be enabled by "mode": "light", in "randomx" object.

Multiple memory channels may be required:

  • DDR3 memory is limited to about 1500-2000 H/s per channel (depending on frequency and timings)
  • DDR4 memory is limited to about 4000-6000 H/s per channel (depending on frequency and timings)

Huge Pages

Huge Pages can increase RandomX performance up to 50%, 1GB huge pages (Linux only) increase hashrate by an additional 1-3% on top of regular huge pages.

Hardware prefetchers MSR mod

You must disable hardware prefetchers to get the optimal RandomX performance.

Cache QoS

Experimental feature to disallow all CPU cores which are not mining to not have access to L3 cache which reduce interference with mining.

RandomX Optimization Guide - XMRig (2024)

FAQs

How to increase mining speed with XMRIG? ›

Grant administrator rights to the xmrig.exe miner.
  1. Right-click on the xmrig.exe miner and choose “Properties”.
  2. Navigate to the “Compatibility” tab, and enable the “Run as administrator” option.
  3. Apply the changes.
  4. Start the miner, wait for 5 minutes, and restart your PC to implement the settings.
Feb 26, 2024

How much RAM is needed for RandomX? ›

Memory size requirements

2080 MB per NUMA node for dataset, 1 NUMA node usually equal to 1 CPU socket, the miner show number of nodes on startup. 256 MB for cache on first NUMA node. 256 KB of L2 cache and 2 MB of L3 cache per 1 mining thread.

What is the best miner for RandomX? ›

The two best choices are XMR-STAK-RX and XMRIG.

How do I enable 1gb pages in XMRIG? ›

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 .

How can I make my mining speed faster? ›

Speed-increasing buffs and items
  1. The Mining buff from the Mining Potion adds 25%.
  2. The Mining armor adds 30% with the set bonus.
  3. The Celestial Shell and Celestial Stone each add 15%.
  4. The Sun Stone and Moon Stone add 15% during day and night respectively or during a Solar Eclipse.

How can I make my mining rig more efficient? ›

Temperature Management: Implement effective cooling solutions to maintain optimal temperature levels. Overheating can adversely impact performance, so monitor and regulate temperatures consistently. 3. Hardware Overclocking: Explore safe and controlled overclocking options for your GPU or ASIC miners.

What makes RandomX ASIC resistant? ›

Monero employs the RandomX mining algorithm, which is designed to be more efficient on general-purpose hardware like CPUs, making it difficult for ASICs and even GPUs to gain a significant advantage.

Does more RAM increase mining speed? ›

The higher your RAM capacity, the more data can be loaded into memory for mining operations, potentially resulting in faster hash rates.

What coins use RandomX? ›

"RandomX" coins ( 6 found )
NameAlgorithmPrice (24h)
Epic Cash EPICRandomX$0.741558+11.20%
Yadacoin YDARandomX$0.0140001+1.32%
Dagger XDAGRandomX$0.00285207-0.12%
Zephyr ZEPHRandomX$3.18+2.25%
2 more rows

Can I mine RandomX with a GPU? ›

XMR-Stak is a Nvidia and AMD GPUs mining client that works on Linux system. It supports mining of RandomX algorithm.

What miner has the highest Hashrate? ›

Bitmain Antminer S19 XP Hyd (255Th)

The machine is an updated version of the popular Antminer S19 Pro model and was released in October 2022. The Antminer S19 XP Hyd has a hash rate of 255 terahashes per second (TH/s), putting it ahead of most other mining machines in terms of hash rate.

Which is the most efficient miner? ›

The Bitmain Antminer S19 XP Hydro (255Th) is widely regarded as one of the most effective miners in the market. Combining serious hashing power with liquid cooling technology, this mining machine redefines effectiveness in virtual coin mining.

What is the best RAM for RandomX? ›

Capacity does not affect the algorithm's performance, but you will need at least 2 GB for the fast mode. From our experience, 6 GB is the optimal minimum. But of course, it is better to have more: Windows and other services also need memory. 8GB is suitable for everyday use.

How much RAM do I need for Monero mining? ›

A computer should have a powerful CPU and at least 2GB of RAM to mine. Mining Monero can also be done on a Raspberry pi, and even from a smartphone if it has at least 4GB of RAM and a memory card with a large capacity.

How to set an algorithm in XMrig? ›

Algorithm can be defined in 3 ways:
  1. By pool, using algorithm negotiation, in this case no need specify algorithm on miner side.
  2. Per pool coin option, currently only usable values for this option is monero , arqma and dero .
  3. Per pool algo option.

How can I make my CPU mining faster? ›

When mining using your CPU, the software that works best is CPU miner. Mining in this manner is possible, albeit at a slow rate. To increase the mining speed, you can use graphic cards. AMD and Nvidia cards are your best bet (see below for details on building mining rigs).

How can I increase my mining fast? ›

Here are some tips to either help get you started boosting your Mining skill or allow you to do so even faster than before.
  1. 5 Get To Floor 100.
  2. 6 Upgrade Your Pickaxe As Soon As Possible. ...
  3. 7 Eat Foraged Goods Or Buy Food From Gus. ...
  4. 8 Always Break Gem and Ore Nodes. ...
  5. 9 Always Break Silver Rocks. ...
  6. 10 Go To The Mines On Rainy Days. ...
Mar 4, 2024

How do I increase my mining Hashrate? ›

Overclocking and Cooling Solutions

Overclocking, a technique wherein miners increase the clock speed of their hardware components, can significantly enhance hash rates. However, this process generates additional heat, necessitating advanced cooling solutions such as liquid cooling or custom cooling setups.

Top Articles
3 Steps to Disable Right Click on Web Page and Images
Pikamoon
How To Fix Epson Printer Error Code 0x9e
Dte Outage Map Woodhaven
Research Tome Neltharus
Fort Carson Cif Phone Number
Explore Tarot: Your Ultimate Tarot Cheat Sheet for Beginners
Tv Guide Bay Area No Cable
Craigslist Parsippany Nj Rooms For Rent
Hallowed Sepulchre Instances & More
Goteach11
Encore Atlanta Cheer Competition
Planets Visible Tonight Virginia
Craigslist Labor Gigs Albuquerque
World Cup Soccer Wiki
Weekly Math Review Q4 3
Rapv Springfield Ma
Troy Athens Cheer Weebly
Pvschools Infinite Campus
O'reilly's Auto Parts Closest To My Location
10 Free Employee Handbook Templates in Word & ClickUp
A rough Sunday for some of the NFL's best teams in 2023 led to the three biggest upsets: Analysis - NFL
Does Breckie Hill Have An Only Fans – Repeat Replay
Vermont Craigs List
Lonesome Valley Barber
Quick Answer: When Is The Zellwood Corn Festival - BikeHike
8005607994
Egizi Funeral Home Turnersville Nj
Dewalt vs Milwaukee: Comparing Top Power Tool Brands - EXTOL
Tokyo Spa Memphis Reviews
Meta Carevr
Medline Industries, LP hiring Warehouse Operator - Salt Lake City in Salt Lake City, UT | LinkedIn
Bayard Martensen
Craigslist Texas Killeen
Craigslist Central Il
Mg Char Grill
Memberweb Bw
The Wichita Beacon from Wichita, Kansas
Chattanooga Booking Report
Navigating change - the workplace of tomorrow - key takeaways
Kvoa Tv Schedule
Cnp Tx Venmo
Powerboat P1 Unveils 2024 P1 Offshore And Class 1 Race Calendar
Shell Gas Stations Prices
Mybiglots Net Associates
Sea Guini Dress Code
Unit 11 Homework 3 Area Of Composite Figures
How the Color Pink Influences Mood and Emotions: A Psychological Perspective
The Average Amount of Calories in a Poke Bowl | Grubby's Poke
Server Jobs Near
Rocket Bot Royale Unblocked Games 66
Latest Posts
Article information

Author: Rev. Leonie Wyman

Last Updated:

Views: 5818

Rating: 4.9 / 5 (79 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Rev. Leonie Wyman

Birthday: 1993-07-01

Address: Suite 763 6272 Lang Bypass, New Xochitlport, VT 72704-3308

Phone: +22014484519944

Job: Banking Officer

Hobby: Sailing, Gaming, Basketball, Calligraphy, Mycology, Astronomy, Juggling

Introduction: My name is Rev. Leonie Wyman, I am a colorful, tasty, splendid, fair, witty, gorgeous, splendid person who loves writing and wants to share my knowledge and understanding with you.