Skip to content

fix(bench): enable parallel execution in the Heliodor tiered runner - #1625

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/heliodor-tiered-parallel/enable-parallel-execution-heliodor-tiered-runner--3e9e1831
Oct 20, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/heliodor-tiered-parallel/enable-parallel-execution-heliodor-tiered-runner--3e9e1831

Conversation

@tignear

@tignear tignear commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

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.

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
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T14:30:07.477939Z 2a8b483 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mergify

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +1583 to +1584
"${celox_args[@]}" --backend tiered --opt-level "${CELOX_OPT_LEVEL,,}" \
--threads "$HELIODOR_CELOX_THREADS"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Comment on lines +1583 to +1584
"${celox_args[@]}" --backend tiered --opt-level "${CELOX_OPT_LEVEL,,}" \
--threads "$HELIODOR_CELOX_THREADS"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

@tignear

tignear commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

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
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-success = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-success = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-skipped = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-success = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

@tignear

tignear commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 fix(bench): enable parallel execution in the Heliodor tiered runner #1625 👈
2 feat(cli)!: unify benchmark execution under celox run #1633

@mergify
mergify Bot merged commit e84cda2 into master Oct 20, 2026
30 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/heliodor-tiered-parallel/enable-parallel-execution-heliodor-tiered-runner--3e9e1831 branch October 20, 2026 16:21
@mergify mergify Bot removed the queued Mergify queue entry label Oct 20, 2026
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