XMRig Mining
Mine Monero (XMR) and other cryptocurrencies using XMRig on Clore.ai's GPU and CPU servers.
What Is XMRig?
XMRig is a high-performance, cross-platform miner for CPU and GPU:
CPU mining
Monero (XMR) via RandomX — BEST use case
GPU mining
KawPow (RVN), Ethash variants, Octopus
Algorithms
RandomX, KawPow, Ethash, Autolykos2, Octopus + more
Stratum V2
Modern pool protocol support
TLS support
Encrypted pool connections
License
GPL 3.0, open source
Why Clore.ai for XMRig?
High-core-count CPUs: Clore.ai servers often have 32-128 CPU cores — ideal for RandomX
Spot pricing: Rent cheaply during off-peak hours
No hardware investment: Mine without buying and maintaining hardware
Flexibility: Switch algorithms or coins based on profitability
Profitability Check First
Profitability Calculators
minerstat.com/calc — multi-algorithm
whattomine.com — comprehensive
xmrig.com/docs/algorithms — hashrate reference
Quick Math
Prerequisites
Clore.ai account
With CLORE balance
Mining pool account
Create at supportXMR.com, MoneroOcean, etc.
Monero wallet
Download at getmonero.org (for XMR mining)
SSH access
Port 22
Create a Monero Wallet
Save your wallet address — it looks like:
Step 1: Rent a Server
For CPU Mining (Monero/RandomX)
Go to clore.ai → Marketplace
Filter by CPU cores: 32+ cores preferred
Look for servers with high CPU thread count
Port 22 is sufficient
Order the server
For GPU Mining (KawPow, Octopus)
Filter by GPU: RTX 3080+, RTX 4090 for best performance
Ports needed: 22 only
NVIDIA GPUs only for CUDA mining
Step 2: Deploy XMRig via Docker
Custom Dockerfile
Create a Dockerfile on the server:
Build Image
Run CPU Mining (Monero)
Run GPU Mining (KawPow - Ravencoin)
Step 3: Configuration File Method
Using a config file is cleaner than command-line flags.
Create config.json
Replace YOUR_MONERO_WALLET_ADDRESS with your actual wallet address.
Run with Config File
Step 4: Enable Huge Pages (Performance Boost)
RandomX benefits significantly from 1GB huge pages. Enable on the host:
Step 5: Monitor Mining
Check Container Status
Sample Log Output
Key Metrics to Watch
H/s (hashrate)
Mining speed — higher is better
Accepted shares
Valid work submitted to pool
Rejected shares
Invalid work — should be near 0
Latency
Pool connection speed
Pool Dashboard
Check your progress at your pool's website:
SupportXMR:
https://supportxmr.com/#/dashboard?wallet=YOUR_ADDRESSMoneroOcean:
https://moneroocean.stream/#/dashboard?wallet=YOUR_ADDRESS2Miners:
https://xmr.2miners.com/account/YOUR_ADDRESS
Popular Mining Pools
Monero (XMR) Pools
SupportXMR
pool.supportxmr.com:443
0.6%
0.1 XMR
MoneroOcean
gulf.moneroocean.stream:443
0%
0.003 XMR
XMRig Pool
pool.xmrig.com:443
1%
0.01 XMR
MineXMR
pool.minexmr.com:4444
1%
0.004 XMR
GPU-Mineable Coins
Ravencoin (RVN)
KawPow
rvn.2miners.com:6060
Ergo (ERG)
Autolykos2
erg.2miners.com:8888
Conflux (CFX)
Octopus
cfx.2miners.com:4040
Ethereum Classic (ETC)
Etchash
etc.2miners.com:1010
MoneroOcean: Auto-Profit Switching
MoneroOcean automatically mines the most profitable algorithm:
Optimization Tips
CPU Optimization
GPU Optimization (CUDA)
Dual Mining (CPU + GPU)
Security Considerations
Protect API Endpoint
Automated Profit Monitoring Script
Troubleshooting
Low Hashrate
Connection Issues
CUDA Errors
Container Keeps Restarting
Legal and Ethical Notes
Quick Reference
Command-Line Flags
-o URL
Pool address
-u ADDRESS
Wallet address
-p WORKER
Worker name
-a ALGO
Algorithm (rx/0 for Monero)
--tls
Enable TLS encryption
-k
Keepalive connection
--cpu-max-threads-hint=N
Use N% of CPU threads
--donate-level=0
Disable dev donation
Algorithm Reference
rx/0
Monero (XMR)
CPU (RandomX)
kawpow
Ravencoin (RVN)
GPU
autolykos2
Ergo (ERG)
GPU
octopus
Conflux (CFX)
GPU
etchash
ETC
GPU
Useful Links
Summary
1
Calculate profitability FIRST
2
Create Monero wallet at getmonero.org
3
Register at a mining pool
4
Rent server (CPU cores for XMR, GPU for others)
5
Build XMRig Docker image
6
Configure config.json with wallet and pool
7
Enable huge pages for 20-50% hashrate boost
8
Start mining and monitor via pool dashboard
XMRig on Clore.ai gives you access to high-performance mining hardware on demand. Use it strategically — mine when prices are high and rental costs are low. Always do the math first. ⛏️
Clore.ai GPU Recommendations
Entry-level Mining
RTX 3080 (10GB)
$0.05–0.19/gpu/hr
Optimal Mining
RTX 3090 (24GB)
$0.07–0.21/gpu/hr
High-performance Mining
RTX 4090 (24GB)
$0.14–0.42/gpu/hr
💡 All examples in this guide can be deployed on Clore.ai GPU servers. Browse available GPUs and rent by the hour — no commitments, full root access.
Last updated
Was this helpful?