Repository navigation
kernel: the boot's device-setup exits as one change, 0021-0025 (#627) - #699
Merged
Merged
Conversation
The five kernel patches of #590, #591 and #592 that each remove VM exits from device setup, carried together to be measured as one arm: alone each read within noise, as a bound the five read −7.4 [−12.1, −2.8] at 60 a side (lab 45114405201). Rebased onto 7.3.5 as pinned (they apply unchanged), remade with git format-patch, checkpatch --strict clean, and asserted on the vmlinux each goes into. The budget entry names the run that decides it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#627) Each changelog now gives the exits measured gone and what the five together did to the first login, measured against v20261123.06. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As one change against v20261123.07 (bench, spin's shape and login): the first login −9.4 [−14.2, −5.7] and sshd accepting −9.5 [−14.4, −5.5] at 120 a side (lab 45260781177); the restored login −0.4 [−2.0, +1.7] evicted and +0.2 [−6.6, +7.3] cached, 60 a side (lab 45261629539). The row moves to "What the machine carries", the log has its entry, and each changelog carries the .07 numbers. 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 goal is a cold boot to the first SSH login under 100 ms. Five kernel patches each remove VM exits from the boot's device setup (#590, #591, #592). Alone, none moved the first login past noise. As a bound the five read −7.4 [−12.1, −2.8] at 60 a side (lab 45114405201). #627 asked for them decided as one change at 120 a side against the release, with
restore-firstbeside it. Measured that way against v20261123.07, they take 9.4 ms off the cold first login and leave the restore unchanged, so they are kept.This replaces #663. It is rebased onto main (kernel 7.3.6, #645's 0014-0020) and re-measured against v20261123.07, on a new branch, because #663's branch is not force-pushed.
What
kernel/patches/0021-0025: the bound's five, fromarchive/exp-batch2-bound, numbered after budget: the decompressor's copy, LZ4 and parse_elf, 21 ms (bench) before the kernel's clock #645's 0014-0020. They apply to 7.3.6 with--fuzz=0. Each changelog says what was measured.kernel/Dockerfileandkernel/README.md: one vmlinux assertion per patch.docs/boot-time.md: a row in "What the machine carries". The IOAPIC row in "Measured and rejected" points to it, and the open row is gone.docs/log.md: the dated entry.Measured
Bench, nested, spin's shape and login, against v20261123.07, interleaved. The kernel is parts run 45256426877.
0022 keeps the risk #627 named. Upstream a2f1e22390ac took out
pci_restore_state()'s refusal of a state that was never saved. So 0022's gate (AER, EEH, s390, Xen pcifront,reset_root_port) has to grow by hand with whatever calls error handlers next. It stayed in the set because the set was fixed before the run.Checks
--strictis clean, sparse says "the patches add no warning", and "kernel patches: each is in this vmlinux" passes.go tool task lint testpasses locally.Closes #627.
🤖 Generated with Claude Code