XMR-Stak-RandomX is Nvidia and AMD mining client for mining RandomX algorithm. With Monero recently forking to RandomX, this is the mining client you can use on your msOS rigs.
In this guide, we will show you how to mine XMR with XMR-Stak-RandomX. You can use the same procedure for other algorithms and coins.
Open address editor and save the the pool and the wallet for mining XMR. We will save XMR pool under the (POOL:XMR) tag and XMR wallet under the (WALLET:XMR) tag.
Open worker's config and select XMR-STAK-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. As you can see from the config there is a
currency parameter in which the algorithm needs to be defined, in our case this is
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 XMR-Stak-RandomX.
Was this article helpful?