Skip to content

docs: measured stock-vs-tuned benchmarks (hashrate + efficiency, mining live)#107

Merged
VijitSingh97 merged 3 commits into
mainfrom
claude/benchmarks-showcase
Jun 12, 2026
Merged

docs: measured stock-vs-tuned benchmarks (hashrate + efficiency, mining live)#107
VijitSingh97 merged 3 commits into
mainfrom
claude/benchmarks-showcase

Conversation

@VijitSingh97

Copy link
Copy Markdown
Contributor

What

Adds a Benchmarks page + a README "Does it actually help?" highlight answering the obvious question — how much does RigForge's tuning actually move the needle? — with numbers measured mining live on a real 7800X3D (not synthetic --bench).

Configuration H/s Watts H/s/W
Stock XMRig (no HugePages/MSR) 10,416 86.8 120.1
RigForge — system tuning only 10,756 83.6 128.7
RigForge — tuned 10,779 83.5 129.2
Stock → tuned +3.5% −3.8% +7.6%

How it was measured

Each config ran as its own XMRig process mining to the live pool; hashrate (XMRig API, 60 s avg) + CPU-package power (Intel RAPL) sampled every 20 s over 5-minute windows, rotated across multiple rounds (~45 samples/config). Variance was negligible (hashrate within ~0.1%, power within ~0.3%).

Getting a truthful baseline took real care, and the PR is deliberately honest about it:

  • The prefetcher MSRs persist, so a naive "bare" run inherits the previous tuned mod — I rebooted to firmware-default MSRs and reset them before every bare window.
  • Ubuntu 24.04's Transparent HugePages quietly help the stock run, which is why the gap is ~3.5% on this modern box and not the 20–30% older write-ups quote. That caveat is in the doc, not hidden.
  • Efficiency and performance tuning produced the identical config — because RandomX pins this chip at ~84 W in any all-core setup, so there's no hashrate-for-watts trade-off to make. RigForge measured that and correctly didn't invent one.

Notable finding

Stock XMRig draws more power (86.8 W) for fewer hashes — without HugePages the CPU stalls on memory (TLB walks). RigForge is faster and cooler, so the efficiency gain (+7.6%) exceeds the raw-speed gain (+3.5%).

Scope

Documentation only — no code change. New docs/benchmarks.md, README highlight + docs-table/index links, CHANGELOG. make lint clean. The measurement rig has been restored to normal tuned mining.

🤖 Generated with Claude Code

VijitSingh97 and others added 3 commits June 12, 2026 11:46
A new Benchmarks page + a README highlight reporting what RigForge's tuning
actually buys, measured MINING LIVE on a real 7800X3D (not synthetic --bench):
stock XMRig vs system tuning vs a full tune, in both hashrate and H/s-per-watt.

Headline: +3.5% hashrate AND +7.6% efficiency vs stock — and stock burns MORE
watts for LESS work (no HugePages -> memory stalls). The page is deliberately
honest: most of the win is the system tuning, modern kernels' Transparent
HugePages narrow the gap, and on this CPU efficiency and performance tuning
converge because RandomX pins ~84 W in any all-core config (no trade-off to
make). Method, hardware, and caveats all included.

Docs only; no code change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Restructure the benchmarks page into two rigs and add the EPYC 7642, measured
live the same way: stock 34,599 -> RigForge 36,866 H/s (+6.6%, +6.0% efficiency),
and RigForge MATCHED an operator's hand-tuned worker (within 0.02%) using a newer
XMRig and 5x fewer HugePages. The per-CPU live tune also dodged a landmine:
prefetch mode 2 halves RandomX on the EPYC but wins on the X3D — a fixed profile
would get one wrong. README highlight + CHANGELOG updated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VijitSingh97 VijitSingh97 merged commit 0790840 into main Jun 12, 2026
5 checks passed
@VijitSingh97 VijitSingh97 deleted the claude/benchmarks-showcase branch June 12, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant