Repository navigation
svg: the IO graphs draw each interval on its own, both on one scale - #11
Merged
Merged
Conversation
Upstream averaged 250 ms around each bar and scaled each graph to its own peak. A 5 ms burst drew as a plateau 250 ms wide that rose before the burst began, and 4 KB written filled the write graph as 20 MB read filled the read one. pgpgin and pgpgout are counted as each bio is submitted, so they are current at every sample (spin-stack/machine#538). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Why
The machine's goal is a cold boot to the first SSH login in under 100 ms. The boot chart shows where that boot's time goes, and its IO graphs could not answer when a burst started or how large it was (spin-stack/machine#538).
What
pgpginandpgpgoutare counted as each bio is submitted, so no smoothing is needed.tests/io-graphs, through--proc, writes 10 MB read and 100 KB written between two samples. It checks that each graph has exactly one bar and that the write bar is a hundredth of the read bar. Against main it fails: 25 bars each, and the write graph drawn as tall as the read one.Evidence
Three boots of lab 45110751133 (bench, spin's shape, v20261123.04) were replayed through a fake
/proc, and each was drawn by main and by this branch. On main, the read graph is a plateau over the whole chart and the write graph is full for 150 ms. On this branch, the 8 MB burst at ~20 ms, the read bursts near 80 and 180 ms, and the one 164 KB write at ~25 ms each appear where they happened, at their true sizes against one another.make checkpasses 9 of 9 on ubuntu-24.04.🤖 Generated with Claude Code