Skip to content

Sentinel, ingest into speedR-results, dashboard on real results; methodology 0.2 - #2

Merged
MatejKocourek merged 10 commits into
mainfrom
results-pipeline
Nov 21, 2026
Merged

MatejKocourek merged 10 commits into
mainfrom
results-pipeline

Conversation

@MatejKocourek

@MatejKocourek MatejKocourek commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

What

Checking the box before every run

  • A machine (machines/<name>.toml) is now a set of identical boxes: one Slurm partition, their results one series. machines/kabylake.toml replaces the old GitHub-Actions-era prl-bench-x64-1 (wake secrets and runner labels are gone, and docs/machines.md with them).
  • Sentinel (speedr/sentinel.py): before each timing pass, speedr-node run runs four short, steady benchmarks on R 4.5.2. They are areWeFast/bounce, shootout/nbody/nbody, mathkernel/DoubleVecAdd-T1 and R-benchmark-25/Programmation/att3_1: 2 processes × (3 warm-up + 5 measured), ~66 s. They are compared with the machine's reference times (calibrated from 7 runs, before and after a power cycle, spread < 1%). Deviation = geometric mean of the time ratios − 1:
    • more than 3% off → the run is recorded as suspect;
    • more than 10% off → the timing pass does not run, and the job requeues itself, held, with the reason as its comment.
    • speedr-node sentinel runs it alone (e.g. to check a new box).
  • The probe result written by the cluster's prolog (/run/prlprg-bench/probe.json, PRL-PRG/prlprg-bench-infra#1) is kept with the run.

Results → speedR-results → dashboard

  • speedr-node run writes run.env (machine, box, Slurm job, methodology, host, suite and speedR commits, times) and copies it to the controller's spool last.
  • speedr ingest / node/speedr-publish (cron on the controller, every 5 min) turns each new run into <methodology>/<impl>/<machine>/<version>/<config>/<run_id>/ with:
    • meta.json (schema updated: sentinel, probe, box, source date, speedR commit; seed no longer required);
    • samples.csv (per process, with the CPU's hottest temperature, throttling and the thermal flag);
    • iterations.csv.
  • It then rebuilds that methodology's index and pushes to speedR-results' results branch. That push renders the dashboard on GitHub Pages: https://prl-prg.github.io/speedR-results/ (Results per methodology and implementation, on the results branch speedR-results#1).
  • A run is suspect when the sentinel or probe say so, or when any process ran hot or throttled. The dashboard already marks suspect runs and keeps them out of change detection.
  • Dashboard:
    • site/render.sh takes SPEEDR_RESULTS_ROOT and renders each methodology version that has results;
    • pages for data not measured yet (profiles, R-devel, configurations) say so instead of failing;
    • run ids are strings;
    • the machines page plots each run's sentinel against the reference.

Methodology 0.2 and the suite

  • r-benchmarks pinned to main (86c5182; Modularize the project r-benchmarks#4 merged).
  • Methodology 0.2 (draft): 3 processes per benchmark (one process of the whole suite takes 19 min on 4.5.2, so a recent release takes about an hour), plus the probe, the sentinel and the boot check.
  • First runs: the R of every Ubuntu LTS (3.0.2, 3.2.3, 3.4.4, 3.6.3, 4.1.2, 4.3.3, 4.5.2) on kabylake.

Tested

  • ruff and pytest (50 passed), including tests/test_ingest.py (ingest, index, check, sentinel statuses).
  • The site renders locally from an ingested test set: one real run copied into 7 versions with made-up scaling (only for finding pages that break on real-shaped data).
  • On the cluster: the sentinel's calibration, a held requeue from inside a job, and the first real job (R 4.5.2: probe 1.1%, sentinel −0.2%, both ok).

The deployed checkouts on the controller and node run this branch. The speedr commit each run records stays reachable whether this is merged or squash-merged.

🤖 Generated with Claude Code

MatejKocourek and others added 10 commits November 20, 2026 00:42
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The machines page reads started and node; the mock lacked them and the
mock render failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Measured on prl-prg-bench3-ubuntu: systemd is done and the housekeeping
CPUs idle from about 30 s of uptime, and the probe reads its reference
from the first run on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MatejKocourek
MatejKocourek merged commit 712c7a5 into main Nov 21, 2026
3 checks passed
@MatejKocourek
MatejKocourek deleted the results-pipeline branch November 21, 2026 14:05
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