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 @@ -45,8 +45,9 @@ First SSH login, ms p50/p95. Δ is the p50 against the release before it, booted
| v20261130.02 | 907 / 943 | -13.6 [-20.5, +2.3] within noise | 85.4 / 107 | +1.7 [-0.2, +5.9] within noise | 895 / 925 | 90.6 / 96.5 |
| 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 |

v20261201.01 against the goal: cold +807 ms, restore -19 ms.
v20261204.01 against the goal: cold +866 ms, restore -12 ms.

## Diagnostics

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

## Bounds

Expand Down Expand Up @@ -127,6 +129,7 @@ Never candidates, measured with each release so that they stay bounds (docs/meas
| v20261130.02 | 919 / 942 | 757 / 772 | -161.8 [-166.9, -155.4] |
| 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] |

## Where each was measured

Expand Down Expand Up @@ -165,3 +168,4 @@ Never candidates, measured with each release so that they stay bounds (docs/meas
| [v20261130.02](releases/v20261130.02.json) | 2026-11-30 | c8id.4xlarge, nested | 1 of 16 vCPUs, 512 of 8192 MiB, 16 hotplug disks, sized to 2048 MiB, spin's login, a TPM and shirudo | 20 | v20261130.01 | [46465672158](https://github.com/spin-stack/machine/actions/runs/46465672158) | [processes](releases/v20261130.02-bootchart.svg) | [units](releases/v20261130.02-plot.svg) | [ledger](releases/v20261130.02-ledger.txt) | [chain](releases/v20261130.02-chain.txt) | [order](releases/v20261130.02-order.svg) |
| [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) |
329 changes: 167 additions & 162 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.
3,104 changes: 3,104 additions & 0 deletions docs/releases/v20261204.01-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.01-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 @171ms
└─sysinit.target @169ms
└─systemd-tmpfiles-setup.service @133ms +32ms
└─systemd-journald.service @64ms +66ms
└─systemd-journald.socket @61ms +14us
└─system.slice @58ms
└─-.slice @58ms
ssh.service +33ms
└─systemd-journald.socket @61ms +14us
└─system.slice @58ms
└─-.slice @58ms
user@0.service +52ms
└─user-runtime-dir@0.service @151ms +7ms
└─systemd-logind.service @97ms +52ms
└─systemd-logind-varlink.socket @62ms +32ms
└─systemd-journald.socket @61ms +14us
└─system.slice @58ms
└─-.slice @58ms

$ 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 @32ms
└─basic.target @32ms
└─sockets.target @32ms
└─systemd-ask-password.socket @31ms +1ms
└─app.slice @30ms
└─-.slice @16ms
85 changes: 85 additions & 0 deletions docs/releases/v20261204.01-ledger.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
v20261204.01-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 70.7 before the kernel's clock (±0.27)
15.9 spin-machine, to its exec of QEMU (±0.16)
30.0 QEMU's start and the held start, to its KVM_SET_CLOCK (kvm-clock's 0 4.1 before it)
24.8 the firmware, the kernel's PVH entry and its setup, to the kernel's clock
0.0 191.1 191.1 the kernel, to PID 1's exec of init
98.5 kernel
92.7 kernel threads (kworker/u65:0 86.7, modprobe 2.1, kworker/0:1 1.2)
191.1 845.8 654.6 PID 1, to the login's sshd-session
301.8 unattributed (shirudo 166.6, (udev-worker) 17.4, (systemd-udevd) 16.1)
111.8 init.scope (systemd 105.1, spin-lab-handof 3.5, init 3.2)
105.0 kernel threads (kworker/0:1 50.4, kworker/0:1H 19.5, kworker/0:2 18.6)
53.9 idle
18.8 systemd-journald.service (systemd-journal 11.3, (systemd-journ) 5.9, 9 1.6)
17.2 systemd-logind.service ((systemd-login) 11.5, systemd-logind 4.6, 9 1.0)
11.3 dbus-broker.service (dbus-broker 4.1, dbus-broker-lau 3.7, (dbus-broker-l) 2.6)
7.2 systemd-tmpfiles-setup.service (systemd-tmpfile 5.5, (systemd-tmpfi) 1.0, 9 0.6)
5.7 ssh.service (sshd 4.1, 9 0.7, (sshd) 0.7)
4.6 user@0.service ((systemd) 3.4, unix_chkpwd 0.8, 9 0.3)
4.4 spin-supervisor.service (socat 2.9, (socat) 0.7, 9 0.7)
4.3 systemd-sysctl.service (systemd-sysctl 2.9, (systemd-sysct) 0.9, 9 0.4)
3.6 user-runtime-dir@0.service (systemd-user-ru 2.2, (systemd-user-) 0.9, 9 0.4)
3.2 systemd-udev-load-credentials.service (udevadm 1.8, (udevadm) 1.0, 9 0.3)
1.0 systemd-udevd.service (9 1.0, systemd 0.1)
0.9 spin-machine-boot-rest.service (9 0.6, (systemctl) 0.2, systemd 0.1)
845.8 859.0 13.3 sshd-session, to sshd-auth
6.6 user@0.service (systemd 3.8, (systemd) 1.3, 30-systemd-envi 0.9)
4.2 ssh.service (sshd-session 4.0, sshd-auth 0.2, sshd 0.0)
1.0 systemd-journald.service (systemd-journal 0.6, journal-offline 0.4)
1.5 7 others under 0.5 ms each
859.0 882.5 23.4 the key exchange and authentication, in sshd-auth
11.0 ssh.service (sshd-auth 6.1, sshd-session 4.2, unix_chkpwd 0.7)
8.4 user@0.service (systemd 7.2, 30-systemd-envi 1.0, (environment-ge 0.1)
1.7 systemd-journald.service (systemd-journal 1.2, journal-offline 0.5)
2.4 7 others under 0.5 ms each
882.5 889.1 6.6 authenticated: PAM's session, logind, the user's manager
1.8 ssh.service (sshd-session 1.7, sshd-auth 0.1, sshd 0.0)
1.5 unattributed (udevadm 1.3, (udevadm) 0.2)
1.3 init.scope
0.8 systemd-logind.service
0.6 systemd-journald.service
0.6 3 others under 0.5 ms each
889.1 891.3 2.2 the session's process, to the user's shell
0.8 ssh.service (sshd-session 0.5, bash 0.3)
0.8 systemd-udevd.service
0.5 4 others under 0.5 ms each
891.3 895.7 4.4 the shell, to the login's command
1.5 systemd-udevd.service
1.4 unattributed
1.3 ssh.service (bash 1.2, true 0.1)
0.2 3 others under 0.5 ms each
895.7 896.2 0.5 the login's command, to its exit
0.5 1 others under 0.5 ms each
896.2 0.5 after the command's exit, until the host had its answer

70.7 before the kernel's clock + 896.2 to the command's exit + 0.5 residue = 967.3, the first login the host measured

owners from PID 1's exec (191.1) to the command's exit, summed over their tasks, ms
running runnable disk sleeping owner
305.5 466.5 91.9 1950.4 unattributed
114.0 81.9 65.6 443.6 init.scope
105.8 837.8 58.8 39347.6 kernel threads
25.4 54.8 5.1 167.2 ssh.service
22.3 65.3 1.3 78.9 systemd-journald.service
19.5 17.4 5.9 78.1 user@0.service
18.6 41.2 1.1 63.3 systemd-logind.service
11.9 54.3 2.0 212.2 dbus-broker.service
7.2 17.3 3.3 0.0 systemd-tmpfiles-setup.service
5.0 10.5 1.3 105.4 spin-supervisor.service
4.3 21.1 1.0 0.0 systemd-sysctl.service
4.1 117.5 0.1 0.0 systemd-udevd.service
3.6 1.5 0.3 6.8 user-runtime-dir@0.service
3.2 14.4 0.4 0.0 systemd-udev-load-credentials.service
0.9 5.3 0.0 150.9 spin-machine-boot-rest.service

the login in the journal, at journald's receipt of each line
856.5 connection: sshd-session[157]: Connection from 127.0.0.1 port 39888 on 127.0.0.1 port 22 rdomain ""
864.8 key exchange offered: sshd-session[157]: debug1: SSH2_MSG_KEXINIT sent [preauth]
872.4 keys in use: sshd-session[157]: debug1: SSH2_MSG_NEWKEYS received [preauth]
882.6 authenticated: sshd-session[157]: Accepted publickey for root from 127.0.0.1 port 39888 ssh2: ED25519 SHA256:9d0n76ryKGXMxHRmCceX6VP7rS7/MBQOI/bAUZWsu+Y
882.8 PAM session opened: sshd-session[157]: pam_unix(sshd:session): session opened for user root(uid=0) by root(uid=0)
884.8 logind's session: systemd-logind[137]: New session '2' of user 'root' with class 'user-early' and type 'tty'.
889.0 the command started: sshd-session[166]: Starting session: command for root from 127.0.0.1 port 39888 id 0
27 changes: 27 additions & 0 deletions docs/releases/v20261204.01-order.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
digraph systemd {
"ssh.service"->"system.slice" [color="green"];
"ssh.service"->"systemd-journald.socket" [color="green"];
"systemd-journald.socket"->"system.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"];
"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"];
"user-runtime-dir@0.service"->"systemd-journald.socket" [color="green"];
"user-runtime-dir@0.service"->"systemd-logind.service" [color="green"];
"systemd-tmpfiles-setup.service"->"systemd-journald.socket" [color="green"];
"systemd-tmpfiles-setup.service"->"system.slice" [color="green"];
"systemd-tmpfiles-setup.service"->"systemd-journald.service" [color="green"];
"systemd-journald.service"->"system.slice" [color="green"];
"systemd-journald.service"->"systemd-journald.socket" [color="green"];
"systemd-logind-varlink.socket"->"systemd-journald.socket" [color="green"];
"systemd-logind-varlink.socket"->"system.slice" [color="green"];
"system.slice"->"-.slice" [color="green"];
"sysinit.target"->"systemd-journald.service" [color="green"];
"sysinit.target"->"systemd-tmpfiles-setup.service" [color="green"];
"systemd-logind.service"->"systemd-journald.socket" [color="green"];
"systemd-logind.service"->"system.slice" [color="green"];
"systemd-logind.service"->"systemd-logind-varlink.socket" [color="green"];
}
Loading