Skip to content

Versioned methodology, R builds with upstream GCC 16, runs through Slurm - #1

Merged
MatejKocourek merged 2 commits into
mainfrom
methodology-and-builds
Nov 19, 2026
Merged

MatejKocourek merged 2 commits into
mainfrom
methodology-and-builds

Conversation

@MatejKocourek

Copy link
Copy Markdown
Collaborator

What's in it

  1. rbench dependency (9dd8cbe): the suite comes from r-benchmarks as the rbench package, pinned to one commit; results are stored uncompressed.
  2. Methodology versions (3166a6b): methodology/versions.csv and one page per version (now 0.1, draft). Every run records its methodology version (schema field, meta.json, runs.csv), speedr methodology prints the current one, and the dashboard renders one site per version, with a bar linking the same page under the other versions.
  3. Builds and runs (564fc13):
    • build/: the toolchain image (official gcc:16, 16.2.0, on an Ubuntu 26.04 archive snapshot, everything pinned by digest or hash) and build-r.sh, which builds R with its own defaults (./configure --prefix, recommended packages; no distribution hardening) plus clusterGeneration as it was on CRAN at the date of the R source.
    • build/settings.toml: per-version settings as rules for all versions or a version range (speedr build-env VERSION prints them): the C dialect R's configure would have picked in its time (gnu89 → gnu11 → gnu17 → gnu23), -fcommon only up to 3.6.1 (the newest version that fails to link without it, found with bisect-fcommon.sh), and flags that change no generated code (-fpermissive, -fallow-argument-mismatch, libcurl configure answers) everywhere. Devel and patched snapshots get the rules of their version; future releases fall in the open-ended last rule.
    • node/speedr-node: build (cached by a build id over the source, settings, package and toolchain image) and run a version on a benchmark node: in the image, pinned to the isolated CPU, no network, results copied to the controller's spool. node/speedr-submit queues builds and runs through Slurm.
    • The timing driver adds bench's Thermal (Add Thermal: flag executions run on a hot or throttled CPU bench#3; pinned from the fork until r-benchmarks pins a bench that has it): each execution records its hottest CPU temperature and throttle events and is flagged if the CPU throttled or came within 10 °C of its declared limit.

The cluster itself (Slurm, power management, dashboard, node settings) is configured in a separate private repo.

Tested

  • ruff and pytest (45 passed).
  • R 3.0.0 to 4.6.2 and an R-devel snapshot build in the image on the bench node with these settings; a 4.6.2 run went through Slurm with results in the spool.

🤖 Generated with Claude Code

MatejKocourek and others added 2 commits November 19, 2026 20:58
Every run records the methodology version it was measured under
(meta.json, runs.csv), and the dashboard renders one site per version
(site/render.sh, _site/<version>/) with a bar linking the same page under
the others, so numbers measured under different methods are never mixed.
Version 0.1 (draft) describes R's default build with upstream GCC 16, the
C dialect of each release's time and the run and machine settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build/: a toolchain image (gcc:16 on an Ubuntu 26.04 snapshot) and
build-r.sh, which builds R with its own defaults (./configure --prefix,
recommended packages) plus clusterGeneration as it was on CRAN at the
source's date. build/settings.toml holds the per-version settings, as
rules for all versions or a range: the C dialect of each release's time,
-fcommon up to 3.6.1 (the newest that fails to link without it, found
with bisect-fcommon.sh) and flags that change no code. Snapshots (devel,
patched) get the rules of their version.

node/speedr-node builds and runs a version on a benchmark node (build
cached by id, run pinned to the isolated CPU in the image, results
copied to the controller's spool); node/speedr-submit queues both
through Slurm. The timing driver records CPU temperature and throttling
with bench's Thermal, which flags executions on a hot or throttled CPU.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MatejKocourek
MatejKocourek merged commit b727eb1 into main Nov 19, 2026
3 checks passed
@MatejKocourek
MatejKocourek deleted the methodology-and-builds branch November 19, 2026 23:07
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