—algorithm randomx — specify the algorithm for mining
—pool xmr-eu1.nanopool.org — specify pool address
14444 — specify pool port
—wallet44tLjmXrQ….f7477c138d2340c55648d indicate coin purse + Payment ID after the point. The wallet can be obtained either on the exchange or install a cold Monero wallet.
—gpu-target-temperature 70 — the program will strive to maintain this temperature
—gpu-off-temperature 83 —the miner will turn off when this temperature is reached and turn on when it drops
—send-stales — send outdated balls to the pool (some pools partially pay for them, or add bonuses).
—enable-restart-on-rejected — auto miner restart if too many rejected ball
Example of setting the SRBMiner-MULTI batch file:
setx GPU_MAX_HEAP_SIZE 100
setx GPU_MAX_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_MAX_SINGLE_ALLOC_PERCENT 100
set LOGTIME=%LOGTIME: =%
SRBMiner-MULTI.exe --algorithm randomx --pool xmr-eu1.nanopool.org:14444 --wallet 44tLjmXrQNrWJ5NBsEj2R77ZBEgDa3fEe9GLpSf2FRmhexPvfYDUAB7EXX1Hdb3aMQ9FLqdJ56yaAhiXoRsceGJCRS3Jxkn.5d3c802ee0f8e12e4eb9792722b7816a42178aa29ef7477c138ddb940c55648d.rig1
The program starts as usual by double-clicking on the file with the extension .bat
Running the program, we will see the following window:
We wrote in the batch file only those commands that will help to connect to the pool and start the cryptocurrency mining process. However, to improve performance, you need to configure some other command line arguments, depending on the type of equipment you have.
Install mining on the processor
If you do not set the –-cpu-threads or –cpu-affinity options, the miner will try to automatically find the optimal settings for your system.
Sometimes automatic tuning does not find the optimal settings, so you should find it experimentally.
You need to set the number of threads (–cpu-threads) and bind them to the corresponding processor using the –cpu-affinity command.
CPU WITH 4 CORES / 8 STREAMS:
1. Use 4 threads, 1 on each core: --cpu-threads 4 --cpu-affinity 0x55
2. Use 8 threads, 2 on each core: --cpu-threads 8 --cpu-affinity 0xFF
CPU WITH 6 CORES / 12 STREAMS:
1. Use 6 threads, 1 on each core: --cpu-threads 6 --cpu-affinity 0x555
2. Use 12 threads, 2 on each core: --cpu-threads 12 --cpu-affinity 0xFFF
5. Disable mining on the GPU, use 15 CPU threads with the extended event log turned on and save it in the Logslog.txt file, start Randomx mining from a block height of 1978433 and run the miner in the background.