Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ First SSH login, ms p50/p95. Δ is the p50 against the release before it, booted
| v20261130.03 | 959 / 992 | +3.8 [-10.7, +23.6] within noise | 82.7 / 91 | -1.1 [-2.1, +0.8] within noise | 914 / 948 | 87.4 / 94.3 |
| v20261201.01 | 907 / 926 | -1.3 [-9.3, +10.6] within noise | 81 / 91.8 | -0.1 [-1.4, +3.9] within noise | 885 / 902 | 86.5 / 91.8 |
| v20261204.01 | 966 / 999 | -11.6 [-23.1, +2.7] within noise | 88.2 / 104 | -0.5 [-2.7, +2.5] within noise | 942 / 989 | 87.4 / 92 |
| v20261204.02 | 896 / 928 | +6.2 [-6.1, +21.1] within noise | 83.1 / 93.6 | +0.8 [-1.0, +3.0] within noise | 868 / 895 | 88.6 / 95.7 |

v20261204.01 against the goal: cold +866 ms, restore -12 ms.
v20261204.02 against the goal: cold +796 ms, restore -17 ms.

## Diagnostics

Expand Down Expand Up @@ -89,6 +90,7 @@ Not targets: what moves behind the goal's numbers (AGENTS.md, "The goal"). p50.
| v20261130.03 | 169 | 258 | 184 | 320 |
| v20261201.01 | 160 | 259 | 171 | 319 |
| v20261204.01 | 169 | 258 | 191 | 319 |
| v20261204.02 | 162 | 258 | 172 | 319 |

## Bounds

Expand Down Expand Up @@ -130,6 +132,7 @@ Never candidates, measured with each release so that they stay bounds (docs/meas
| v20261130.03 | 958 / 996 | 785 / 845 | -172.5 [-193.3, -151.3] |
| v20261201.01 | 906 / 935 | 743 / 760 | -163.8 [-173.0, -157.3] |
| v20261204.01 | 981 / 1013 | 801 / 817 | -179.6 [-190.0, -172.7] |
| v20261204.02 | 900 / 918 | 729 / 746 | -170.6 [-177.9, -160.5] |

## Where each was measured

Expand Down Expand Up @@ -169,3 +172,4 @@ Never candidates, measured with each release so that they stay bounds (docs/meas
| [v20261130.03](releases/v20261130.03.json) | 2026-11-30 | c8id.4xlarge, nested | 1 of 16 vCPUs, 2048 of 8192 MiB, 16 hotplug disks, spin's login, a TPM and shirudo | 20 | v20261130.02 | [46532280160](https://github.com/spin-stack/machine/actions/runs/46532280160) | [processes](releases/v20261130.03-bootchart.svg) | [units](releases/v20261130.03-plot.svg) | [ledger](releases/v20261130.03-ledger.txt) | [chain](releases/v20261130.03-chain.txt) | [order](releases/v20261130.03-order.svg) |
| [v20261201.01](releases/v20261201.01.json) | 2026-12-01 | c8id.4xlarge, nested | 1 of 16 vCPUs, 2048 of 8192 MiB, 16 hotplug disks, spin's login, a TPM and shirudo | 20 | v20261130.03 | [46556725519](https://github.com/spin-stack/machine/actions/runs/46556725519) | [processes](releases/v20261201.01-bootchart.svg) | [units](releases/v20261201.01-plot.svg) | [ledger](releases/v20261201.01-ledger.txt) | [chain](releases/v20261201.01-chain.txt) | [order](releases/v20261201.01-order.svg) |
| [v20261204.01](releases/v20261204.01.json) | 2026-12-04 | c8id.4xlarge, nested | 1 of 16 vCPUs, 2048 of 8192 MiB, 16 hotplug disks, spin's login, a TPM and shirudo | 20 | v20261201.01 | [47238297996](https://github.com/spin-stack/machine/actions/runs/47238297996) | [processes](releases/v20261204.01-bootchart.svg) | [units](releases/v20261204.01-plot.svg) | [ledger](releases/v20261204.01-ledger.txt) | [chain](releases/v20261204.01-chain.txt) | [order](releases/v20261204.01-order.svg) |
| [v20261204.02](releases/v20261204.02.json) | 2026-12-04 | c8id.4xlarge, nested | 1 of 16 vCPUs, 2048 of 8192 MiB, 16 hotplug disks, spin's login, a TPM and shirudo | 20 | v20261204.01 | [47367870158](https://github.com/spin-stack/machine/actions/runs/47367870158) | [processes](releases/v20261204.02-bootchart.svg) | [units](releases/v20261204.02-plot.svg) | [ledger](releases/v20261204.02-ledger.txt) | [chain](releases/v20261204.02-chain.txt) | [order](releases/v20261204.02-order.svg) |
339 changes: 172 additions & 167 deletions docs/releases.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,812 changes: 2,812 additions & 0 deletions docs/releases/v20261204.02-bootchart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions docs/releases/v20261204.02-chain.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
$ systemd-analyze critical-chain --no-pager spin-supervisor.service ssh.service user@$(id -u).service
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

spin-supervisor.service @153ms
└─sysinit.target @152ms
└─systemd-tmpfiles-setup.service @133ms +18ms
└─systemd-journald.service @61ms +65ms
└─systemd-journald.socket @57ms +12us
└─system.slice @55ms
└─-.slice @55ms
ssh.service +60ms
└─systemd-journald.socket @57ms +12us
└─system.slice @55ms
└─-.slice @55ms
user@0.service +45ms
└─user-runtime-dir@0.service @144ms +13ms
└─systemd-logind.service @96ms +46ms
└─systemd-logind-varlink.socket @58ms +33ms
└─systemd-journald.socket @57ms +12us
└─system.slice @55ms
└─-.slice @55ms

$ systemd-analyze --user critical-chain --no-pager
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

default.target @29ms
└─basic.target @29ms
└─sockets.target @29ms
└─systemd-ask-password.socket @27ms +1ms
└─app.slice @27ms
└─-.slice @15ms
89 changes: 89 additions & 0 deletions docs/releases/v20261204.02-ledger.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
v20261204.02-ledger, boot 1: from the moment before QEMU is exec'd to the first login, ms

start end ms window, on the kernel's clock
0.0 66.5 before the kernel's clock (±0.10)
14.7 spin-machine, to its exec of QEMU (±0.17)
28.5 QEMU's start and the held start, to its KVM_SET_CLOCK (kvm-clock's 0 3.5 before it)
23.3 the firmware, the kernel's PVH entry and its setup, to the kernel's clock
0.0 173.6 173.6 the kernel, to PID 1's exec of init
89.6 kernel
84.0 kernel threads (kworker/u65:1 79.5, modprobe 1.8, kworker/0:1 1.0)
173.6 814.8 641.2 PID 1, to the login's sshd-session
286.1 unattributed (shirudo 159.7, (systemd-udevd) 18.1, (udev-worker) 15.8)
103.0 init.scope (systemd 96.0, init 3.8, spin-lab-handof 3.2)
97.9 kernel threads (kworker/0:0 47.2, kworker/0:1H 19.5, kworker/0:2 15.3)
57.0 idle
18.7 systemd-journald.service (systemd-journal 11.2, (systemd-journ) 5.9, 9 1.0)
18.2 systemd-udevd.service ((systemd-udevd) 17.1, 9 1.0, systemd 0.1)
17.6 systemd-logind.service ((systemd-login) 11.9, systemd-logind 4.5, 9 1.1)
11.1 dbus-broker.service (dbus-broker 4.0, dbus-broker-lau 3.8, (dbus-broker-l) 2.5)
6.2 systemd-tmpfiles-setup.service (systemd-tmpfile 4.8, (systemd-tmpfi) 1.0, 9 0.3)
5.3 user@0.service ((systemd) 3.9, unix_chkpwd 0.8, 9 0.4)
4.9 ssh.service (sshd 3.3, (sshd) 1.0, 9 0.3)
4.2 systemd-sysctl.service (systemd-sysctl 2.5, 9 0.7, (systemd-sysct) 0.6)
3.9 spin-supervisor.service (socat 2.6, (socat) 0.8, 9 0.4)
3.3 user-runtime-dir@0.service (systemd-user-ru 2.0, (systemd-user-) 0.9, 9 0.3)
2.8 systemd-udev-load-credentials.service (udevadm 1.5, (udevadm) 1.0, 9 0.3)
0.8 spin-machine-boot-rest.service ((systemctl) 0.5, 9 0.3, systemd 0.1)
814.8 825.1 10.3 sshd-session, to sshd-auth
5.0 user@0.service (systemd 3.1, 30-systemd-envi 1.5, (exec-inner) 0.2)
3.7 ssh.service (sshd-session 3.5, sshd-auth 0.2, sshd 0.0)
0.6 systemd-udevd.service
0.6 unattributed
0.4 4 others under 0.5 ms each
825.1 847.2 22.0 the key exchange and authentication, in sshd-auth
10.6 ssh.service (sshd-auth 5.7, sshd-session 4.3, unix_chkpwd 0.6)
7.7 user@0.service (systemd 7.3, 30-systemd-envi 0.3, (environment-ge 0.1)
1.1 systemd-journald.service
0.6 systemd-udevd.service (systemd-udevd 0.4, (systemd-udevd) 0.2)
0.6 unattributed
1.5 5 others under 0.5 ms each
847.2 853.8 6.7 authenticated: PAM's session, logind, the user's manager
1.6 ssh.service (sshd-session 1.5, sshd-auth 0.1, sshd 0.0)
1.6 init.scope
0.7 unattributed (udevadm 0.6, (sd-close) 0.1)
0.7 systemd-logind.service
0.6 systemd-udevd.service
0.5 systemd-journald.service
0.9 4 others under 0.5 ms each
853.8 856.1 2.3 the session's process, to the user's shell
1.1 systemd-udevd.service
0.8 ssh.service (sshd-session 0.5, bash 0.3)
0.4 4 others under 0.5 ms each
856.1 858.5 2.4 the shell, to the login's command
1.2 ssh.service (bash 1.1, true 0.1)
0.7 systemd-udevd.service
0.5 4 others under 0.5 ms each
858.5 858.9 0.4 the login's command, to its exit
0.4 1 others under 0.5 ms each
858.9 0.4 after the command's exit, until the host had its answer

66.5 before the kernel's clock + 858.9 to the command's exit + 0.4 residue = 925.9, the first login the host measured

owners from PID 1's exec (173.6) to the command's exit, summed over their tasks, ms
running runnable disk sleeping owner
288.0 413.8 87.9 1856.9 unattributed
105.3 100.1 81.6 398.3 init.scope
98.8 830.9 58.4 38392.3 kernel threads
23.2 46.4 6.9 172.6 ssh.service
21.9 114.8 0.4 0.0 systemd-udevd.service
20.9 61.6 1.2 91.1 systemd-journald.service
18.4 46.8 0.8 73.3 systemd-logind.service
18.0 17.8 7.3 73.5 user@0.service
11.6 60.5 3.2 223.2 dbus-broker.service
6.2 14.1 4.8 0.0 systemd-tmpfiles-setup.service
4.4 9.6 16.9 96.6 spin-supervisor.service
4.2 19.8 2.1 0.0 systemd-sysctl.service
3.3 2.8 3.5 2.6 user-runtime-dir@0.service
2.8 11.4 0.8 0.0 systemd-udev-load-credentials.service
0.8 4.2 0.0 161.2 spin-machine-boot-rest.service
0.5 7.2 0.0 0.0 systemd-udev-trigger.service

the login in the journal, at journald's receipt of each line
822.7 connection: sshd-session[158]: Connection from 127.0.0.1 port 45168 on 127.0.0.1 port 22 rdomain ""
830.9 key exchange offered: sshd-session[158]: debug1: SSH2_MSG_KEXINIT sent [preauth]
836.7 keys in use: sshd-session[158]: debug1: SSH2_MSG_NEWKEYS received [preauth]
847.4 authenticated: sshd-session[158]: Accepted publickey for root from 127.0.0.1 port 45168 ssh2: ED25519 SHA256:UKokPZgMRcxVW5PFbgtKqhweAdbWZfk35ovLxQdmtJw
847.6 PAM session opened: sshd-session[158]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)
848.8 logind's session: systemd-logind[137]: New session '2' of user 'root' with class 'user-early' and type 'tty'.
853.7 the command started: sshd-session[167]: Starting session: command for root from 127.0.0.1 port 45168 id 0
27 changes: 27 additions & 0 deletions docs/releases/v20261204.02-order.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
digraph systemd {
"systemd-logind.service"->"system.slice" [color="green"];
"systemd-logind.service"->"systemd-journald.socket" [color="green"];
"systemd-logind.service"->"systemd-logind-varlink.socket" [color="green"];
"spin-supervisor.service"->"ssh.service" [color="green"];
"spin-supervisor.service"->"system.slice" [color="green"];
"spin-supervisor.service"->"systemd-journald.socket" [color="green"];
"spin-supervisor.service"->"sysinit.target" [color="green"];
"systemd-journald.service"->"systemd-journald.socket" [color="green"];
"systemd-journald.service"->"system.slice" [color="green"];
"sysinit.target"->"systemd-tmpfiles-setup.service" [color="green"];
"sysinit.target"->"systemd-journald.service" [color="green"];
"ssh.service"->"systemd-journald.socket" [color="green"];
"ssh.service"->"system.slice" [color="green"];
"systemd-logind-varlink.socket"->"systemd-journald.socket" [color="green"];
"systemd-logind-varlink.socket"->"system.slice" [color="green"];
"system.slice"->"-.slice" [color="green"];
"user@0.service"->"systemd-logind.service" [color="green"];
"user@0.service"->"systemd-journald.socket" [color="green"];
"user@0.service"->"user-runtime-dir@0.service" [color="green"];
"user-runtime-dir@0.service"->"systemd-journald.socket" [color="green"];
"user-runtime-dir@0.service"->"systemd-logind.service" [color="green"];
"systemd-journald.socket"->"system.slice" [color="green"];
"systemd-tmpfiles-setup.service"->"systemd-journald.service" [color="green"];
"systemd-tmpfiles-setup.service"->"systemd-journald.socket" [color="green"];
"systemd-tmpfiles-setup.service"->"system.slice" [color="green"];
}
Loading