Repository navigation
fix(bench): enable parallel execution in the Heliodor tiered runner - #1625
Conversation
Pass HELIODOR_CELOX_THREADS (default: nproc) to celox-tiered on AArch64 and x86-64. Previously only celox-parallel received --threads, so tiered measurements always used the default single simulation thread. The compiled tier can now use the existing parallel native kernels; HELIODOR_CELOX_THREADS=1 retains the previous configuration. Reject invalid tiered thread counts before preparation and invalidate successful multi-threaded results whose logs do not record the requested count. Document the configuration and the difference from historical single-threaded tiered measurements. Validation: - Bash syntax checks and Heliodor result/gate fixture suites passed. - 22 suite, workflow, and publication Node tests passed. - Regression fixtures cover ARM/QEMU argument forwarding, missing/wrong thread markers, the single-thread override, and invalid thread counts. - git diff --check passed. ARM hardware performance measurements and full Linux boot benchmarks were not run; this changes runner configuration, not backend code. Change-Id: I3e9e1831b9914e4a55a10ffd4bc935be1cb561b6
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Queued — the merge queue status continues in this comment ↓. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2a8b483858
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "${celox_args[@]}" --backend tiered --opt-level "${CELOX_OPT_LEVEL,,}" \ | ||
| --threads "$HELIODOR_CELOX_THREADS" |
There was a problem hiding this comment.
Reset the thread count for the fixed gate
When a caller exports HELIODOR_CELOX_THREADS=1 (or another valid value) before invoking gate, run_gate never resets that variable before calling run_one, so this new argument makes the tiered leg caller-configurable. This violates the gate's stated fixed-configuration contract and can silently turn the intended parallel tiered measurement back into the historical sequential one; assign the gate's required thread count explicitly in run_gate.
Useful? React with 👍 / 👎.
| "${celox_args[@]}" --backend tiered --opt-level "${CELOX_OPT_LEVEL,,}" \ | ||
| --threads "$HELIODOR_CELOX_THREADS" |
There was a problem hiding this comment.
Cap the default tiered thread count at the CLI limit
On hosts where nproc reports more than 64 CPUs and HELIODOR_CELOX_THREADS is unset, this forwards that value to celox-heliodor, whose --threads parser accepts only 1..=64 (crates/celox-bench/src/bin/celox-heliodor.rs). Consequently every selected celox-tiered run—including the fixed gate and complete suite—exits during argument parsing rather than benchmarking; clamp the derived default to the runner's supported maximum.
Useful? React with 👍 / 👎.
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 1 hour 47 minutes 56 seconds in the queue, including 1 hour 34 minutes 2 seconds running CI. Required conditions to merge
|
|
This pull request is part of a Mergify stack:
|
Pass HELIODOR_CELOX_THREADS (default: nproc) to celox-tiered on
AArch64 and x86-64. Previously only celox-parallel received --threads,
so tiered measurements always used the default single simulation thread.
The compiled tier can now use the existing parallel native kernels;
HELIODOR_CELOX_THREADS=1 retains the previous configuration.
Reject invalid tiered thread counts before preparation and invalidate
successful multi-threaded results whose logs do not record the requested
count. Document the configuration and the difference from historical
single-threaded tiered measurements.
Validation:
thread markers, the single-thread override, and invalid thread counts.
ARM hardware performance measurements and full Linux boot benchmarks
were not run; this changes runner configuration, not backend code.