Skip to content

docs: the record of systemd with TPM2 from a second build (#767) - #792

Open
aledbf wants to merge 1 commit into
mainfrom
docs/786-record
Open

aledbf wants to merge 1 commit into
mainfrom
docs/786-record

Conversation

@aledbf

@aledbf aledbf commented Nov 26, 2026

Copy link
Copy Markdown
Member

Why

#786 (systemd with TPM2, merged as 788a74b) promised a docs/log entry and docs/experiments records with its bench runs, and merged without them. This adds them, and the run its body said was still missing: the final design with --tpm at 100 a side. Refs #767.

What

  • docs/log/2026-11-26-systemd-with-tpm2-from-a-second-build.md: every arm of image: systemd with TPM2, from a second build the boot never loads #786's bench, each number read back from its run with spin-machine-dev lab show.
  • docs/experiments/767-systemd-with-tpm2-from-a-second.json: carried.
  • docs/experiments/767-one-systemd-build-with-tpm2-openssl.json: rejected. One build costs +20.0 [+15.5, +26.8], and OpenSSL alone +9.7 [+1.6, +14.6].
  • docs/experiments/767-the-tpm2-units-masked-rather-than.json: rejected. Masking costs +4.6 [+1.5, +10.2]; leaving the wants out of the package costs −0.1 [−3.3, +2.9].

The 100-a-side runs

Bench, spin's shape, cold first login against main's systemd in the same run:

Arm No TPM --tpm
#786's design +0.9 [−0.5, +4.0] (45850857558) +1.6 [−3.1, +5.2] (45856077593, new)

Both are within noise, which settles the two 40-a-side runs that disagreed (+5.1 and +0.1). The arm in 45850857558 with tpm-udev's boot work also masked read −3.5 [−4.5, −0.7]. That is below main, which has none of tpm-udev's work, so the entry does not count it as tpm-udev's cost.

Checks

go test ./gates/ ./internal/docsrec/ passes, go tool task lint passes, and spin-machine-dev docs log and docs tables render.

🤖 Generated with Claude Code

#786 promised a docs/log entry and experiments records with its bench
runs. This adds them: the design carried, the one-build design and the
masked units rejected. It also records the decisive runs at 100 a side,
no TPM +0.9 [-0.5, +4.0] (lab 45850857558) and with --tpm +1.6
[-3.1, +5.2] (lab 45856077593), both within noise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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