Skip to content

merge queue: merged #3013: perf(scheduler): avoid redundant change tracking - #3017

Closed
mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/6726a7d6b1
Closed

mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/6726a7d6b1

Conversation

@mergify

@mergify mergify Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Its pull request has merged, and nobody needs to act on it.
Mergify opened it for batch particular-madeleine-kwvbq6 of the changes queue, to test #3013 before it merged into master.

🎉 What landed

Mergify merged its pull request into master, then closed this draft:

  • #3013 perf(scheduler): avoid redundant change tracking (tignear), as 8ba452a

This draft's code was built in this order:

  1. master at 78837b1
  2. the pull request queued ahead of this batch, listed below, which brought the tip to b90d87f
  3. #3013, the pull request of this batch

Queued ahead of this batch

This pull request entered the queue before this batch and is not part of it.

Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: b90d87fc0b2f2f7fd5aa52283f89b1ceed590f4c
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 3013
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • check-success = Verify workflow lockfile
  • 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-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-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • 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
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Queue validation
    • check-neutral = @github-actions/Queue validation
    • check-skipped = @github-actions/Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Verify workflow lockfile
    • check-neutral = @github-actions/Verify workflow lockfile
    • check-skipped = @github-actions/Verify workflow lockfile
Required conditions to stay in the queue

tignear and others added 4 commits November 2, 2026 18:16
Acyclic process bodies run only at their first output projection, but settle planning charged every projection for the complete body and tracked all its reads and writes again. This generated partitions and change watches for work that is never executed, keeping large sets of old values live across the real body.

Plan those reads, writes and costs only at the executing projection. Keep cyclic components and guarded regions unchanged. Remove the full flag-array population count at every settle: when individual flags are all set, their own guards already select every partition; an untracked raw view still forces a full settle.

For larger event sets, evaluate stable clock edges in 64-bit value/mask batches. For SV sensitivity lists without occurrence counters, check four inputs at a time, stop at the first change, and refresh all baselines at initialization or a detected change. Preserve four-state X/Z transitions, ordinary event-control startup, and post-body rearming.

Validation: 621 unit tests and 9,879 behavioral tests passed, with 20 existing skips. The common suite covers native/native-parallel, Cranelift/Cranelift-parallel and Wasm, with focused interpreter and differential scheduler coverage. Added coverage for 70 mixed edges crossing a word boundary and a long sensitivity list with early/late changes, repeated values and X/Z-only changes. The shared sensitivity case passes Icarus; Verilator's adapter reports its four-state expectations unsupported. Affected all-target Clippy, formatting and diff checks passed.

E902/CoreMark four-state steady throughput now exceeds xezim in both long run orders on this machine. These are fresh measurements of this source tree on top of the merged #3003–#3005 stack, using one frozen binary.

| Run order | Celox clocks/CPU-s | xezim clocks/CPU-s | CPU throughput gain | Wall throughput gain |
| --- | ---: | ---: | ---: | ---: |
| Celox first | 33148 | 30482 | 8.75% | 8.74% |
| xezim first | 32605 | 30704 | 6.19% | 6.19% |

Each engine completed 2,359,876 clocks with matching CoreMark CRCs. After warmup, alternate 34 matching 65,536-clock intervals (131,072..2,359,296); whole-window throughput uses process CPU time or wall time excluding controlled pauses. Both engines are pinned to logical CPU 8 on a Ryzen 7 9800X3D. No own builds or tests run during measurements; other machine load is uncontrolled. The Celox-first run had 12 MiB of huge-page-backed executable memory; the xezim-first run had ordinary pages and still won.

RTLmeter revision `4fdd6c3fd154e9b99d3a9d713cf3f4977e284f94`, E902/CoreMark `+iterations=5 +max_cycles=1000000000`. Celox: `heliodor-dev` profile, native O2, four-state, one thread, `--unlimited --no-checkpoint-on-signal --report`. Comparison: xezim 0.11.4, binary SHA256 `afbe25c3906450a35335fb65da2ff6212f0b3e654a0f16c11a2f28a7c29d4e65`. Both use the same progress display once per 65,536 clocks in the existing negedge utility process, with no added RTL process and no two-state fallback.

This qualifies post-JIT throughput for E902/CoreMark on this host. JIT-inclusive total time remains longer for Celox; these are instrumented measurements, not a claim about every RTLmeter design or unmodified release scores.

Measured source tree: `39f916fbacbd5f76a9d476438b080cb755de5f2d`; Celox binary SHA256: `cf3cbb2eda57808751f79fd93f7387eacf1b97d7af9aebbe8c9bcbd189e03e82`. Full local interval records and CRC/input hashes: `work/change-tracking-final-{a,b}-{native,xezim}/results.json`. Source manifest, aggregate results and validation logs: `work/change-tracking-final-*`.

Change-Id: Ia8c215051c2389f4ee7ffdd2af74466ee6d5ead1
Permit the x86 emission-only settle metadata to be unused on targets without x86 emission, matching the adjacent call-stack metadata. Convert the release queue's default seconds to milliseconds so admission waits for the intended 60 minutes and polls every 15 seconds.

Validation: 393 repository script tests, workspace formatting, host x86 backend clippy, and AArch64 cargo check for celox and celox-bench passed.
Change-Id: I61cd7e3d4f8f4e0952f652343c2a6ea66ffecf2a
@mergify mergify Bot changed the title merge queue: checking #3013 on master (78837b1), stacked on #3014 merge queue: merged #3013: perf(scheduler): avoid redundant change tracking Nov 2, 2026
@mergify mergify Bot closed this Nov 2, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/6726a7d6b1 branch November 2, 2026 10:00
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