Repository navigation
merge queue: merged #3013: perf(scheduler): avoid redundant change tracking - #3017
Closed
mergify[bot] wants to merge 4 commits into
Closed
mergify[bot] wants to merge 4 commits into
mergify[bot] wants to merge 4 commits into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
changesqueue, to test #3013 before it merged intomaster.🎉 What landed
Mergify merged its pull request into
master, then closed this draft:8ba452aThis draft's code was built in this order:
masterat78837b1b90d87fQueued 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 ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationcheck-success = Verify workflow lockfilemaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-success = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-skipped = @github-actions/Queue validationmaster]:check-success = @github-actions/Verify workflow lockfilecheck-neutral = @github-actions/Verify workflow lockfilecheck-skipped = @github-actions/Verify workflow lockfileRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-skipped = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-success = @github-actions/Queue validationmaster]:check-success = @github-actions/Verify workflow lockfilecheck-neutral = @github-actions/Verify workflow lockfilecheck-skipped = @github-actions/Verify workflow lockfile