Skip to content

Timings on named hosts: the CPU check and the dispatcher - #153

Merged
MaxGekk merged 2 commits into
mainfrom
named-hosts
Nov 22, 2026
Merged

MaxGekk merged 2 commits into
mainfrom
named-hosts

Conversation

@MaxGekk

@MaxGekk MaxGekk commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Part of #152 (the A/A floors complete it).

  • dev/host.sh: a table of named hosts and a check of the machine against it. Four hosts, the CPUs jegg's runs have drawn: epyc7763, epyc9v74, epyc9v45, xeon6975p. --expect <key> fails on any other CPU; --self-test checks the table against the names the pool has printed and runs in CI.
  • The Timing workflow and the Fuzz workflow's compare job take a host input. The first step after the checkout checks the runner's CPU and fails on any other machine. host=any, the default, skips the check.
  • dev/dispatch.sh --host <key> <timing|fuzz> -f input=value ...: dispatches a run and, when it failed on the CPU check, waits and dispatches again, 12 attempts 20 minutes apart by default.
  • benchmarks/README.md and AGENTS.md state the rule and hold the table of A/A floors per host.

Ported from vfdlibm's bench/host.sh and bench/dispatch-bench.sh, cut to what jegg needs: no Arm host, no CPU flags, no run tag (the dispatcher finds its run by its creation time).

The host list is an assumption: all four CPUs the runs have drawn are named, and the EPYC 7763 is the first to get a floor. Fewer hosts is a table edit.

Why are the changes needed?

A number is reproducible within a run and not between runs, and the pool hands out at least four CPUs. The last two weeks compared the compare job's ratios, the probe's shares and bytes per visit across runs on different machines. Varka and vfdlibm learned this the hard way and check the host first; this does the same.

Does this PR introduce any user-facing change?

No. Nothing in the library changes.

How was this patch tested?

  • dev/host.sh --self-test passes locally and runs in CI; the script classifies this laptop as no named host, as it should.
  • dev/dispatch.sh parses and is being used for the first A/A run on epyc7763 (head=main, base=main); its run link and the floor go into the README table when it lands.
  • The workflow files parse.

Predictions from #152:

  1. The A/A on the EPYC 7763 reads every workload within noise, prop and math under 3%: held. Run 45035509819, dispatched through dev/dispatch.sh: prop +0.7%, math -0.1%, projection +10.0%, lambda -3.0%, all within noise. The row is in the README.
  2. Of ten dispatches to epyc7763, at least six pass the check first time: one of one so far; the count continues as the dispatcher is used.
  3. No count changes: nothing touches the library.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Fable 5.1)

Max Gekk added 2 commits November 22, 2026 15:55
#152)

The Timing workflow and the Fuzz workflow's compare job take a host input and
check the runner's CPU before anything is built; dev/dispatch.sh dispatches
again when a run drew another machine. The table of hosts is the four CPUs
jegg's runs have drawn. After vfdlibm's bench/host.sh and dispatch-bench.sh.

Generated-by: Claude Code (Claude Fable 5.1)
Generated-by: Claude Code (Claude Fable 5.1)
@MaxGekk
MaxGekk merged commit 56aa7cc into main Nov 22, 2026
1 check passed
@MaxGekk
MaxGekk deleted the named-hosts branch November 22, 2026 16:04
MaxGekk pushed a commit that referenced this pull request Nov 22, 2026
…ks the host too

Generated-by: Claude Code (Claude Fable 5.1)
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