Skip to content

versions: systemd-bootchart's IO graphs draw each 5 ms on one scale - #626

Merged
aledbf merged 2 commits into
mainfrom
bootchart-io-538
Nov 23, 2026
Merged

aledbf merged 2 commits into
mainfrom
bootchart-io-538

Conversation

@aledbf

@aledbf aledbf commented Nov 23, 2026

Copy link
Copy Markdown
Member

Why

The goal is a cold boot to the first SSH login in under 100 ms, and a restore under it. The boot chart is where a reader finds where that boot's time goes. Its IO graphs could not say when a burst started or how large it was (#538).

What

  • versions.yaml pins systemd-bootchart to 5c358a2, the merge of svg: the IO graphs draw each interval on its own, both on one scale systemd-bootchart#11. The bump was made with spin-machine-dev bump systemd-bootchart. In that fork, each IO bar covers one 5 ms interval and both graphs share one scale, the larger peak. Each title gives the full-height rate, and each graph labels its own peak. The fork's tests/io-graphs tests this through --proc.
  • The IO paragraph of docs/measuring.md's "Boot charts" now says what the graphs show.
  • docs/log.md has an entry for the decision.

Evidence

  • Both drawings, same samples. The three boots of lab 45110751133 (bench, spin's shape, v20261123.04) were replayed through the fork's --proc and drawn by the old fork and the new one.
    • Old fork: the read graph is a plateau across the whole chart, and the boot's single 164 KB write fills the write graph for 150 ms.
    • New fork: the ~8 MB read burst at the chart's start, the later read bursts, and the write each sit where they happened, and their heights compare on one scale.
  • The pinned fork in a lab run. Lab 45113479570 is the pin's bootchart run, 3 boots of v20261123.04. Its charts carry the new titles ("each 5 ms; full height 1507.49 MB/s, both graphs"), 35 to 37 read bars and 1 write bar each. The first login read 392 ms and the chart's end 290 ms. Those are not goal numbers.

go tool task lint test mutate passes.

Closes #538

🤖 Generated with Claude Code

aledbf and others added 2 commits November 23, 2026 01:51
… one scale

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit c28b987 into main Nov 23, 2026
9 checks passed
@aledbf
aledbf deleted the bootchart-io-538 branch November 23, 2026 04:55
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.

Boot chart: IO graphs smooth over 250 ms and scale each to its own peak

1 participant