Repository navigation
Conversation
#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
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
#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
--tpmat 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 withspin-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:
--tpmBoth 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 lintpasses, andspin-machine-dev docs loganddocs tablesrender.🤖 Generated with Claude Code