For the complete documentation index, see llms.txt. This page is also available as Markdown.

XMRig Mining

Mine Monero (XMR) and other cryptocurrencies using XMRig on Clore.ai's GPU and CPU servers.

XMRig is the most widely used open-source cryptocurrency miner. It supports CPU mining (RandomX algorithm for Monero) and GPU mining (KawPow, Ethash, and others). This guide covers deployment on Clore.ai servers.


What Is XMRig?

XMRig is a high-performance, cross-platform miner for CPU and GPU:

Feature
Details

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

Quick Math


Prerequisites

Requirement
Details

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)

  1. Go to clore.aiMarketplace

  2. Filter by CPU cores: 32+ cores preferred

  3. Look for servers with high CPU thread count

  4. Port 22 is sufficient

  5. Order the server

For GPU Mining (KawPow, Octopus)

  1. Filter by GPU: RTX 3080+, RTX 4090 for best performance

  2. Ports needed: 22 only

  3. NVIDIA GPUs only for CUDA mining

CPU vs GPU on Clore.ai: Clore.ai is primarily a GPU marketplace. For Monero (RandomX), dedicated CPU servers may be cheaper. For GPU-mineable coins, NVIDIA servers offer better performance.


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:

Performance impact: Huge pages can increase Monero hashrate by 20-50% on some CPUs. Worth enabling if you have access to the host system.


Step 5: Monitor Mining

Check Container Status

Sample Log Output

Key Metrics to Watch

Metric
What It Means

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_ADDRESS

  • MoneroOcean: https://moneroocean.stream/#/dashboard?wallet=YOUR_ADDRESS

  • 2Miners: https://xmr.2miners.com/account/YOUR_ADDRESS


Monero (XMR) Pools

Pool
URL
Fee
Min Payout

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

Coin
Algorithm
Pool Example

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 is special: It automatically switches your miner to the most profitable algorithm at any given time, while still paying in XMR. Great for maximizing returns.


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


Important considerations:

  1. Check Clore.ai ToS: Ensure mining is permitted on your rented servers

  2. Tax compliance: Mined cryptocurrency may be taxable income in your jurisdiction

  3. Profitability: Cloud mining is often unprofitable — do your math first

  4. Network effect: Mining contributes to blockchain security (positive contribution)


Quick Reference

Command-Line Flags

Flag
Description

-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

Algorithm
Coin
Best Hardware

rx/0

Monero (XMR)

CPU (RandomX)

kawpow

Ravencoin (RVN)

GPU

autolykos2

Ergo (ERG)

GPU

octopus

Conflux (CFX)

GPU

etchash

ETC

GPU



Summary

Step
Action

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

Use Case
Recommended GPU
Est. Cost on Clore.ai

Entry-level Mining

RTX 3080 (10GB)

~$0.08/gpu/hr

Optimal Mining

RTX 3090 (24GB)

~$0.12/gpu/hr

High-performance Mining

RTX 4090 (24GB)

~$0.70/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?