Repository navigation
boot: what the disk costs a restore, the first login's lane, and the lab's scratch on NVMe - #275
Merged
Merged
Conversation
Each row is restored a second way, interleaved: its state evicted, read back whole in one sequential pass (READ, what the disk gives), and restored from the page cache. The table gives the state's size too. A restore took ~790 ms to running on nested and on metal alike (2026-11-19), and nothing said which part of it was the disk. kernel/README.md: the paragraph that waited for systemd upstream goes; the image's systemd has no BPF framework. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
boot:ssh-first says accept to login is ~125-145 ms on the bench fleet, and docs/log.md puts ~56 of it in pam_systemd without saying which hop. The first login's command marks the journal and prints its sshd@ unit's and session scope's starts; a second login reads the journal. The marks: accept, authenticated, PAM's session open, logind's new session, the scope active, the command. sshLogin becomes sshRun, which returns the command's output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
spin's hosts keep checkpoints on local NVMe; on a c8i the lab read a restore's state from gp3, ~680 of its ~840 ms (lab 44542990433). An instance store is used, formatted and mounted if nothing has, and the run's summary names the disk TMPDIR is on. 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.
Two probes and a lab change, for the two numbers' next iteration.
boot:restore-firstsays what the disk costs a restoreEach row is also restored a second way, interleaved with the first: its state evicted, read back whole in one sequential pass (
READ), and restored from the page cache. The table also gives the state's size.The lab's scratch on local NVMe
spin's hosts keep checkpoints on local NVMe, so the lab now puts
TMPDIRon the instance store when the host has one (formatted and mounted if nothing has), and the run's summary names the disk. spin-stack/ci#21 moves the bench to c8id.4xlarge (the same CPU, with NVMe).boot:login-laneWhere the first login's own time goes between sshd's accept and the command running, on the guest's clock:
The first login's command is the probe; a second login reads the journal.
sshLoginbecomessshRun, which returns the command's output.Also
kernel/README.mdloses the paragraph that waited for systemd upstream: the image's systemd has no BPF framework (#271).🤖 Generated with Claude Code