Skip to content

image: the serial getty is Type=simple, which gives back v20261113.01's console prompt - #241

Merged
aledbf merged 2 commits into
mainfrom
getty-type-simple
Nov 13, 2026
Merged

aledbf merged 2 commits into
mainfrom
getty-type-simple

Conversation

@aledbf

@aledbf aledbf commented Nov 13, 2026

Copy link
Copy Markdown
Member

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.service and its chain inside the boot transaction. The serial getty is Type=idle, so systemd forks it and holds it until no job is left running. boot:waits on 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 getty Type=simple. image/build.sh asserts it on the finished filesystem.

Measured on the bench fleet, against v20261113.01

login prompt p50/p95
v20261113.01 as released 423 / 441 ms
getty Type=simple 346 / 358 ms (lab 43362067503, 20 boots interleaved)
v20261112.01, for reference 344 / 353 ms

What v20261113.01 bought stays, measured on it:

  • first SSH login over vsock 494/506 ms, against 570/626 on v20261112.01 (lab 43361404270);
  • kernel 89.1 ms, against 95.1 (lab 43361415117).

Type=idle is 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

aledbf and others added 2 commits November 13, 2026 00:54
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>
@aledbf
aledbf merged commit 43de41e into main Nov 13, 2026
3 checks passed
@aledbf
aledbf deleted the getty-type-simple branch November 13, 2026 04:02
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.

1 participant