XMRig mining client is RandomX mining client for AMD and Nvidia GPUs on Linux mining OS and as CPU mining client for Linux and Windows systems. GPU mining client is available under name XMRig-RandomX and CPU mining client is available under name XMRig. The default donation level for mining with XMRig is 5%, but percentage can be adjusted with --donate-level=N
parameter.
If you want to use XMRig outside minerstat, you can download it through official sources:
In this guide we will show you how to set up XMRig-RandomX for mining XMR Monero on minerstat. To learn how to set up CPU mining, please read the CPU mining article.
First, open the address editor and save the pool and wallet for mining XMR . We will save %XMR pool under (POOL:XMR) tag and XMR wallet under (WALLET:XMR) tag.
Open worker's config and select XMRIG-RANDOMX as a default mining client.
Update the mining client's configuration so that it will be defined as:
(WORKER) tag will be automatically replaced with your worker's name, so you don't have to change it. System will also replace pool and wallet tags with the values you have defined in address editor.
To start saving logs for XMRig, change the parameter "log-file": null
to "log-file": "xmrig.txt"
in your mining configuration.
To adjust the number of threads you're mining XMR with, click the pencil icon under Pool and Wallet selection, replace "watch": false
with "watch": false, "cpu": {"max-threads-hint": 100}
, where 100
is the percentage of threads you want to use. I.e. for 1 core CPU this option has no effect, for 2 core CPU only 2 values possible 50% and 100%, for 4 cores: 25%, 50%, 75%, 100%. etc.
To run RandomX algorithm, you will need to enable huge pages and set up swap space. There are two commands to do this under msOS:
hugepages
to set up hugepages or toggle between smaller (128) and bigger (1169) settings.mswap create 16384
which will create 16GB swap space. Change the number to fit your needs.Save changes and wait for mining client to restart. You are now mining XMR with XMRig-RandomX.
It's easy and free to get started. Monitor, manage, and optimize your mining rigs with our powerful platform.
Sign up for free nowminerstat isn't just another calculator - it's a powerful mining platform that supports your crypto journey. Boost your profits, save valuable time, and maximize efficiency with our suite of premium features:
Join the global community of miners who trust minerstat to elevate their mining game. Are you ready to unlock your mining potential?