bench: quantus-bench harness and a workflow that measures on a mining host #11
Reference in New Issue
Block a user
Delete Branch "bench/harness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements #2, the measurement gate. Stacked on #10 (its two commits are included; merge #10 first).
What changed
crates/bench-harness(lair-owned; origin merges never touch it), binaryquantus-bench:GpuEnginethrough theMinerEnginetrait, one worker thread per card, fixed timed windows after a warm-up. Reports per-worker median MH/s and spread, exit 5 when spread exceeds 2%.nvidia-smistate (driver, power limit, draw, SM clock, temperature) before and after.--expect-power-limitrefuses the run (exit 3) if the enforced limit is not the expected one; that is the largest confound on these cards.engine-gpu'sgpu_cpu_parityexample, exit 4 on any mismatch.schema: 1) and a markdown summary on stdout.build.rsembeds the commit likeminer-cli's..gitea/workflows/bench.yaml:devices: None), so the binary is built oncuda-13.0and executed on the host over ssh asgitea_ci.cuda-13.0rather thanrustbecause therustimage is Fedora 44 and the hosts are Fedora 43: a binary from therustrunner fails withGLIBC_2.43 not found.quantus-miner.servicefor the window and starts it again under atrap. Refuses to measure a card that is still busy with the miner stopped (on beast that would be inference).stop/startgrants: lair/quantus#5, already applied to benjy and quadbrat.Workspace: one line in
members, marked# lair:.Cargo.lockgains the crate.Validation
-D warnings, build: clean locally.Not in this PR: the per-device hash metric from #2's scope. It goes with the build-info gauge in #9.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CBgs2nSi4H2mdh8kD8vMX5
quantus-bench
bad02fbc33on benjy.hanzalova.internaltotal median: 144.13 MH/s (batch 1000000, 5 x 30s, engine gpu-wgpu)
quantus-bench
ca6642960con benjy.hanzalova.internaltotal median: 144.39 MH/s (batch 1000000, 5 x 30s, engine gpu-wgpu)
--- resume miner ---
active