How to Mine Monero RandomX with CPU & GPU

Monero just forked as planned and switched from the previous Cryptonight V8 algorithm to the new RandomX.

RandomX is pretty unique in a way so far, it’s best mined with CPUs and not GPUs. The change is pretty huge; CPUs now offer between 100-1000% better value for the money compared to GPUs.

What the Fork? Or why is Monero Forking Every 6 Months: A Recap

Initially, cryptocurrency mining started as a way to allow people like you and I help the blockchain remain decentralized. If the hashrate comes from a million small CPU and GPU miners, each belonging to a different person, there is no single weak link or node that could be attacked to compromise the network. That’s the definition of decentralization.

The introduction of ASICs affected decentralization in a few ways:

  • First of all, ASICs are expensive and have to be bought separately, whereas everyone already has a CPU in their computer. This greatly limits the amount of people who is able to get involved into mining.
  • The second thing is that ASICs can be easily stacked in farms; A company that can invest enough into a farm can get a decent share of the network hashrate.

To prevent all of that from happening to their coin, the Monero team decided to slightly change and improve their mining algorithm every six months. ASICs are fast but they are not flexible. They are hardwired to mine a certain algorithm. Any slight change in the algorithm renders all existing ASICs unable to mine it, whereas CPU and GPU miners only have to update their software.

Monero first forked in April 2018 and have been doing that regularly every 6 months since then. 6 Months is roughly what it takes for a company like Bitmain to design and release an ASIC on a certain algorithm.

Everything a Miner Should Know about RandomX

As the name suggests, RandomX is features random code execution, as well as memory-hard techniques. This makes the algorithm very CPU-friendly. So far, there are a few other coins based on RandomX, the most popular being LOKI, ArQmA and Wownero.

The three most popular miners used for this new algorithm are XMRig, SRBMiner-MULTI and XMR-STAK-RX.

  • XMRig just received an update that made it the most flexible and fastest miner from this list.
  • SRBMiner-MULTI is still a decent alternative.item
  • XMR-STAK-RX the slowest of the bunch, though it’s also the newest one. It has no dev fee and if it gets a speed boost, it might become the new big thing.

Best CPU to Mine Monero RandomX – Benchmarks

to be updated soon..

How to Mine Monero RandomX with CPU

I will take as example for this article XMRig miner and i will be using a AMD FX-8350 CPU

  • Download latest XMRig miner here:, i am using Windows 10 Home and downloaded the ““, extract archive contents
  • To configure the miner is very simple and it can be done in different ways 1) edit “config.json” file and add wallet address, replace pool if needed ; 2) using the configuration wizard from here: , once details are added you can copy two types of commands a) Config file: copy and replace what is found in “config.json” ; b) Command line: create a text document like “monero_randomx.txt” and paste the details there, then rename from .txt to .bat
  • Start “xmrig.exe” to run the miner.

Note: If you’re running XMRig on a rig with an Intel processors you should disable “Hardware prefetcher” and “Adjacent cacheline prefetch” in BIOS to improve performance.

Also if you notice low hashrate you could try to add your username to “Lock pages in memory”. Go to gpedit.msc -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment and look for “Lock pages in memory“, double click to open it, click “Add user or group” and type in your PC username, apply settings and reboot the machine. You can also try to increase virtual memory as we do on gpu mining rigs.

Monero RandomX Mining Calculator:

How to mine Monero RandomX with GPU

RandomX GPU Hashrate Benchmarks

Monero RandomX Nvidia GPUs Hashrate Benchmarks by

Model CryptonightR H/S RandomX H/S Relative speed
GTX 1050 2GB (stock) 299 (75 W) 181 (75 W) 60.5%
GTX 1660 Ti max overclock (2070/13760 MHz) 626 (98 W) 671 (103 W) 107.2%
GTX 1660 Ti low power (1785/13760 MHz) 604 (70 W) 567 (70 W) 93.9%
GTX 1070 (1850/7600 MHz) 612 (89 W) 609 (108 W) 99.5%
GTX 1070 Ti (1900/7600 MHz) 625 (97 W) 769 (123 W) 123.0%
GTX 1080 Ti (1930/10010 MHz) 787 (145 W) 1136 (190 W) 144.3%
GTX 1080 Ti (2037/11800 MHz) 927 (183 W) 1122 (190 W) 121.0%
RTX 2080 (1980/13740 MHz) 828 (142 W) 1191 (189 W) 143.8%
RTX 2080 Ti (1915/13600 MHz) 1105 (197 W) 1641 (242 W) 148.5%
Titan V (1335/850 MHz) 1436 (101 W) 2199 (125 W) 153.1%
Tesla V100 (1530/877 MHz) 1798 (134 W) 2524 (177 W) 140.4%

Monero RandomX AMD GPUs Hashrate Benchmarks by

In Conclusion

This new fork puts Monero in a pretty interesting spot. On one hand, it made all GPU miners switch to other coins though on the other hand, it might attract more different people. That’s definitely good for decentralization of the coin and since its global hashrate dropped because of that, a lot of people might find it interesting to try mining it.

Thank you for reading. As always, your comments, suggestions and questions are welcome.

Subscribe and stay tuned for further updates!

Found this useful? Buy me a beer 🙂


CoinPayments: $1stMiningRig

ETH: 0x8a159cc27454130ee4880504f4d2afe2ebb22d15

BTC: 183BNU2y8Zr1z6ER1L9WjFa9XRKEKCqBjp

Ravencoin: RUYB64UXeyeWvDd4o9dBc3uvT57QjAZKz1

Luxcoin: LX5G6ZbQivZJL7srmFKxWYgBWjmFBZAvEu

ZEC: t1T9dLLM14Jh6NNuCPfNsRgGnj58LkT3yYX