Skip to content
Open
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 @@ -47,8 +47,9 @@ First SSH login, ms p50/p95. Δ is the p50 against the release before it, booted
| 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.03 | 912 / 946 | -4.5 [-14.7, +14.8] within noise | 83.7 / 88.4 | -0.2 [-2.1, +2.5] within noise | 886 / 902 | 88.2 / 92.7 |

v20261204.02 against the goal: cold +796 ms, restore -17 ms.
v20261204.03 against the goal: cold +812 ms, restore -16 ms.

## Diagnostics

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

## Bounds

Expand Down Expand Up @@ -133,6 +135,7 @@ Never candidates, measured with each release so that they stay bounds (docs/meas
| 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] |
| v20261204.03 | 920 / 946 | 754 / 772 | -165.6 [-180.8, -155.6] |

## Where each was measured

Expand Down Expand Up @@ -173,3 +176,4 @@ Never candidates, measured with each release so that they stay bounds (docs/meas
| [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) |
| [v20261204.03](releases/v20261204.03.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.02 | [47427838768](https://github.com/spin-stack/machine/actions/runs/47427838768) | [processes](releases/v20261204.03-bootchart.svg) | [units](releases/v20261204.03-plot.svg) | [ledger](releases/v20261204.03-ledger.txt) | [chain](releases/v20261204.03-chain.txt) | [order](releases/v20261204.03-order.svg) |
349 changes: 177 additions & 172 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,960 changes: 2,960 additions & 0 deletions docs/releases/v20261204.03-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.03-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 @137ms
└─sysinit.target @135ms
└─systemd-tmpfiles-setup.service @109ms +23ms
└─systemd-journald.service @55ms +52ms
└─systemd-journald.socket @51ms +13us
└─system.slice @49ms
└─-.slice @49ms
ssh.service +31ms
└─systemd-journald.socket @51ms +13us
└─system.slice @49ms
└─-.slice @49ms
user@0.service +42ms
└─user-runtime-dir@0.service @151ms +9ms
└─systemd-logind.service @84ms +62ms
└─systemd-logind-varlink.socket @52ms +29ms
└─systemd-journald.socket @51ms +13us
└─system.slice @49ms
└─-.slice @49ms

$ 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 @28ms
└─basic.target @28ms
└─sockets.target @28ms
└─systemd-ask-password.socket @26ms +1ms
└─app.slice @26ms
└─-.slice @14ms
87 changes: 87 additions & 0 deletions docs/releases/v20261204.03-ledger.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
v20261204.03-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.8 before the kernel's clock (±0.14)
14.9 spin-machine, to its exec of QEMU (±0.26)
27.6 QEMU's start and the held start, to its KVM_SET_CLOCK (kvm-clock's 0 2.9 before it)
24.3 the firmware, the kernel's PVH entry and its setup, to the kernel's clock
0.0 181.1 181.1 the kernel, to PID 1's exec of init
92.7 kernel
88.5 kernel threads (kworker/u65:1 83.6, modprobe 1.8, kworker/0:1 1.3)
181.1 805.5 624.3 PID 1, to the login's sshd-session
289.4 unattributed (shirudo 162.1, (systemd-udevd) 17.2, (udev-worker) 15.7)
105.4 init.scope (systemd 99.1, spin-lab-handof 3.4, init 2.9)
100.7 kernel threads (kworker/0:1 67.3, kworker/0:1H 19.2, kworker/u65:2 4.8)
53.6 idle
17.4 systemd-journald.service (systemd-journal 10.4, (systemd-journ) 5.7, 9 1.2)
17.0 systemd-logind.service ((systemd-login) 11.9, systemd-logind 4.0, 9 1.0)
11.3 dbus-broker.service (dbus-broker-lau 4.2, dbus-broker 3.6, (dbus-broker-l) 2.8)
6.1 systemd-tmpfiles-setup.service (systemd-tmpfile 4.6, (systemd-tmpfi) 0.9, 9 0.6)
5.3 ssh.service (sshd 3.8, (sshd) 1.0, 9 0.3)
3.7 spin-supervisor.service (socat 2.4, (socat) 0.9, 9 0.3)
3.6 systemd-sysctl.service (systemd-sysctl 2.3, (systemd-sysct) 0.9, 9 0.3)
3.5 user-runtime-dir@0.service (systemd-user-ru 2.3, (systemd-user-) 0.9, 9 0.3)
2.8 systemd-udev-load-credentials.service (udevadm 1.4, 9 0.8, (udevadm) 0.6)
2.2 systemd-udevd.service (9 1.8, (systemd-udevd) 0.4, systemd 0.1)
1.5 user@0.service ((systemd) 1.2, 9 0.3, systemd 0.1)
0.8 spin-machine-boot-rest.service ((systemctl) 0.4, 9 0.3, systemd 0.1)
805.5 815.3 9.9 sshd-session, to sshd-auth
3.9 ssh.service (sshd-session 3.7, sshd-auth 0.2, sshd 0.0)
3.7 user@0.service ((systemd) 2.8, unix_chkpwd 0.8, (sd-pam) 0.1)
1.0 systemd-udevd.service
1.3 7 others under 0.5 ms each
815.3 841.7 26.3 the key exchange and authentication, in sshd-auth
11.9 user@0.service (systemd 9.9, 30-systemd-envi 1.5, (environment-ge 0.3)
10.7 ssh.service (sshd-auth 5.9, sshd-session 4.1, unix_chkpwd 0.7)
2.0 systemd-journald.service (systemd-journal 1.3, journal-offline 0.7)
0.5 kernel threads (kworker/0:1H 0.3, rcu_preempt 0.1, kworker/0:1 0.1)
1.3 6 others under 0.5 ms each
841.7 848.9 7.2 authenticated: PAM's session, logind, the user's manager
1.6 ssh.service (sshd-session 1.4, sshd-auth 0.2, sshd 0.0)
1.4 init.scope
1.2 systemd-udevd.service
0.9 systemd-logind.service
0.8 user@0.service
0.6 systemd-journald.service
0.7 4 others under 0.5 ms each
848.9 851.3 2.4 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.5 4 others under 0.5 ms each
851.3 855.6 4.3 the shell, to the login's command
1.8 systemd-udevd.service
1.2 ssh.service (bash 1.1, true 0.1)
1.1 unattributed
0.2 4 others under 0.5 ms each
855.6 856.1 0.5 the login's command, to its exit
0.5 2 others under 0.5 ms each
856.1 0.7 after the command's exit, until the host had its answer

66.8 before the kernel's clock + 856.1 to the command's exit + 0.7 residue = 923.6, the first login the host measured

owners from PID 1's exec (181.1) to the command's exit, summed over their tasks, ms
running runnable disk sleeping owner
291.2 428.0 83.4 1886.1 unattributed
107.3 100.4 66.7 400.5 init.scope
101.5 808.0 55.9 37686.6 kernel threads
24.0 52.2 6.5 161.0 ssh.service
20.5 61.0 1.8 73.5 systemd-journald.service
18.4 48.1 3.7 68.3 systemd-logind.service
17.9 19.4 7.4 66.5 user@0.service
11.9 54.9 2.8 194.6 dbus-broker.service
7.5 116.0 0.0 0.0 systemd-udevd.service
6.1 10.0 2.8 0.0 systemd-tmpfiles-setup.service
4.3 9.2 1.1 103.3 spin-supervisor.service
3.6 17.6 3.0 0.0 systemd-sysctl.service
3.5 5.0 1.1 2.6 user-runtime-dir@0.service
2.8 13.6 0.9 0.0 systemd-udev-load-credentials.service
0.8 3.4 0.0 145.6 spin-machine-boot-rest.service

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