Repository navigation
image: the serial getty is Type=simple, which gives back v20261113.01's console prompt - #241
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v20261113.01's console prompt came 77 ms later than v20261112.01's: the getty is Type=idle, systemd holds it until no job is left running, and since spin lingers logind starts user@1000.service and its chain inside the boot transaction. boot:waits on the release: 91.8 ms between the getty's fork and its exec in the median boot, against 3-5 before. A drop-in makes it Type=simple: 346/358 against 423/441 ms p50/p95 to a login prompt, 20 boots interleaved on the bench fleet (lab run 43362067503) - back to where v20261112.01 was (344/353), with the first SSH login 494/506 against 570/626 and the kernel 89.1 against 95.1 ms kept. Type=idle keeps a prompt clear of the boot's status lines, and this machine's console prints none. build.sh asserts the drop-in. 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.
v20261113.01's report shows
usable(the serial console's login prompt) +21-25% against v20261112.01. That is the release's linger change, and this gives it back without losing what linger bought.Cause
Since spin lingers, logind starts
user@1000.serviceand its chain inside the boot transaction. The serial getty isType=idle, so systemd forks it and holds it until no job is left running.boot:waitson v20261113.01 (lab 43361486792) measures that hold at 91.8 ms in the median boot; before linger it was 3-5 ms.Change
A drop-in,
serial-getty@.service.d/type.conf, makes the gettyType=simple.image/build.shasserts it on the finished filesystem.Measured on the bench fleet, against v20261113.01
Type=simpleWhat v20261113.01 bought stays, measured on it:
Type=idleis there to keep a login prompt clear of the boot's status lines. This machine's console prints none: the kernel is quiet and systemd shows no status.🤖 Generated with Claude Code