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
If you want to use XMRig outside minerstat, you can download it through official sources:
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 run RandomX algorithm, you will need to enable huge pages and set up swap space. There are two commands to do this under msOS:
hugepagesto set up hugepages or toggle between smaller (128) and bigger (1169) settings.
mswap create 16384which 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.
Was this article helpful?
Regain your privacy • Improve your latency • Server-side switching