Repository navigation
perf(scheduler): leave settle inputs and aliases out of TB level slices - #2699
Merged
mergify[bot] merged 1 commit intoOct 31, 2026
Conversation
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. |
Before each time step's edges, a compiled testbench computes the levels of the event signals and of every clock and reset baseline through a slice of the settle. The baselines include each instance's clock and reset ports, which follow their sources; only the sources are compared. On Heliodor, the slice held 26k of the settle's 81k instructions and ran at both edges of every cycle. The slice now covers the scheduler's events and the baselines' sources. A slice for storage that no unit stores, such as a TB-driven clock, also kept every loop it could not fold, with what the loops read; reads that no unit stores already hold their values, so such a slice is now empty. Change-Id: I61202a2ad90482ce6186ce9c1de353e3545637f9
tignear
force-pushed
the
stack/tignear/perf/tb-edge-level-cone/leave-settle-inputs-combinational-slices--61202a2a
branch
from
October 31, 2026 08:30
773a7b9 to
4c54693
Compare
Contributor
Author
Revision history
|
Contributor
✅ Merged into
|
Contributor
Author
|
@Mergifyio queue |
Contributor
☑️ This pull request is already queued |
This was referenced Oct 31, 2026
mergify
Bot
deleted the
stack/tignear/perf/tb-edge-level-cone/leave-settle-inputs-combinational-slices--61202a2a
branch
October 31, 2026 09:37
Closed
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.
Before each time step's edges, a compiled testbench computes the levels
of the event signals and of every clock and reset baseline through a
slice of the settle. The baselines include each instance's clock and
reset ports, which follow their sources; only the sources are compared.
On Heliodor, the slice held 26k of the settle's 81k instructions and ran
at both edges of every cycle.
The slice now covers the scheduler's events and the baselines' sources.
A slice for storage that no unit stores, such as a TB-driven clock, also
kept every loop it could not fold, with what the loops read; reads that
no unit stores already hold their values, so such a slice is now empty.
Change-Id: I61202a2ad90482ce6186ce9c1de353e3545637f9
Measurements (Heliodor
test_soc_linux_boot, 1 hart, heliodor-dev, nativeO2,
--max-steps 2000000,perf record -e instructions:u -c 2000003withthe JIT perf map; JIT samples, one per ~2M instructions):
On master the TB unit's samples split into the fused clock-domain unit and
the event-level slice (32-38%), located by the block ranges of the units the
generators inline. With this PR the slice is no longer inlined. Either change
alone leaves it: the events alone are TB-driven inputs whose slice was the
26k loop skeleton, and the alias ports are stored by the settle.
Validation:
slice_of_storage_no_unit_stores_is_empty(a settle with aloop); it fails without the slicer change.
celoxandcelox-frontend-verylwith the CIfeature set: 17,882 passed. Clippy (
--all-targets -D warnings) and fmtclean.