127.0.0.1:3333), run it. Earns XMR with your CPU — the most private way to acquire Monero (no exchange, no KYC, no counterparty).
1. Download — Official releases: github.com/xmrig/xmrig/releases. Verify GPG signature or SHA-256 checksum. Your antivirus will flag it — false positive (cryptojacking botnets use modified XMRig).
2. Configure — Edit config.json:
{
"pools": [{
"url": "127.0.0.1:3333",
"user": "YOUR_MONERO_ADDRESS",
"pass": "x",
"keepalive": true,
"tls": false
}],
"cpu": {
"enabled": true,
"huge-pages": true,
"max-threads-hint": 75
},
"donate-level": 1
}
3. Run — ./xmrig (Linux/Mac) or xmrig.exe (Windows). Watch for speed 10s/60s/15m output.
| Mode | URL | Fee | Min Hashrate | Notes |
|---|---|---|---|---|
| P2Pool mini | 127.0.0.1:3333 | 0% | Any | Decentralized, run locally |
| P2Pool main | 127.0.0.1:3333 | 0% | ~50 KH/s | Higher difficulty, faster shares |
| MoneroOcean | gulf.moneroocean.stream:10128 | 0% | Any | Algo-switching, auto XMR payout |
| SupportXMR | pool.supportxmr.com:3333 | 0.6% | Any | Established pool |
| HashVault | pool.hashvault.pro:80 | 0.9% | Any | Global servers |
| Solo | 127.0.0.1:18081 | 0% | ~1 MH/s | Run local monerod, very rare finds |
| CPU | Hashrate | L3 Cache | Cores/Threads |
|---|---|---|---|
| AMD Ryzen 9 7950X | ~25,000 H/s | 64 MB | 16C/32T |
| AMD EPYC 7742 | ~44,000 H/s | 256 MB | 64C/128T |
| Intel i7-13700K | ~12,000 H/s | 30 MB | 16C/24T |
| AMD Ryzen 7 5800X | ~10,000 H/s | 32 MB | 8C/16T |
| AMD Ryzen 5 5600X | ~7,500 H/s | 32 MB | 6C/12T |
| Intel i5-12600K | ~7,000 H/s | 20 MB | 10C/16T |
| Apple M2 Pro | ~4,500 H/s | 16 MB | 12C |
| Intel i5-10400 | ~4,000 H/s | 12 MB | 6C/12T |
RandomX needs 2 MB L3 cache per thread. AMD Ryzen dominates because of large L3. GPU mining is not profitable for Monero — RandomX is deliberately CPU-optimized.
Huge Pages: Enable for 20-30% hashrate boost. Linux: sudo sysctl -w vm.nr_hugepages=1280. Windows: run as Administrator. XMRig shows HUGE PAGES: 100% when working.
Thread count: Use max-threads-hint: 75 for mining while using the computer, 100 for dedicated mining. Each thread needs 2 MB L3 cache.
MSR mod (Linux): sudo ./xmrig on first run enables MSR register tweaks for 5-15% boost on some Intel CPUs. Requires root.
Power: Undervolt your CPU. Mining is power-limited — reducing voltage saves electricity without reducing hashrate. Use Ryzen Master (AMD) or ThrottleStop (Intel).
Every antivirus flags XMRig because cryptojacking malware uses it. The official build from GitHub is safe. Solutions:
Windows Defender: Settings → Virus Protection → Exclusions → add the XMRig folder.
macOS: System Preferences → Security → Allow anyway.
Linux: No issues. Most distros don't run AV by default.
Never download XMRig from random websites. Only github.com/xmrig/xmrig. Verify checksums.
Mining is the most private way to get Monero. No exchange, no KYC, no counterparty. Just your CPU and electricity.
P2Pool mini is the recommended pool — zero fees, decentralized, pays directly to your wallet. Supports the network.
Want to sell mined XMR for EUR? arnoldnakamura — 683 trades, 100% feedback.