From b58af12506db1360952b0e6832425927c5cd8ab9 Mon Sep 17 00:00:00 2001 From: clover caruso Date: Tue, 20 Oct 2026 15:01:32 -0700 Subject: [PATCH] Record setup VM retirement and fresh Windows boot timing Assisted-by: gpt-6-astra --- tools/vm-retirement.md | 27 +++++++++++++++++++++++++++ tools/windows-presets.md | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 tools/vm-retirement.md diff --git a/tools/vm-retirement.md b/tools/vm-retirement.md new file mode 100644 index 0000000000000000000000000000000000000000..c7337c1e5a431013ea7cb782d25f42b9ee36b78a --- /dev/null +++ b/tools/vm-retirement.md @@ -0,0 +1,27 @@ +# Setup VM retirement + +On 2026-10-20, Clover requested removing every leftover NAS VM while preserving +her personal Mac development VM and the prepared OS library. The seven retired +guests were `win-modern-w11-clone-fallback`, `ubuntu-arm-proof`, +`testbox-windows-8-pro-4c7886b3`, `testbox-windows-10-pro-4752fd14`, `openclaw`, +`init-win10-ssd-proof-11`, and `window-stream-win11-test`. + +The published Windows 11, Ubuntu ARM64, Windows 8, and Windows 10 templates +passed image checks before instance deletion. The OS library remains intact. +Graceful shutdown was attempted first; the unresponsive, disposable SSD +benchmark guest required force-off. Instance disks, firmware, TPM state, and +managed-save state were removed. Unreferenced benchmark images on SSD were +also removed. The Mac VM was neither stopped nor restarted. + +OpenClaw's service declaration is disabled, preventing deployment from +recreating its VM. Its stopped dataset remains at `/srv/prod/openclaw`, including +the disk, private configuration, keys, and original domain definition. Snapshot +`globe/prod/openclaw@retired-20261020T2200` has hold `openclaw-retirement`. +This private state is not published as a general OS preset. Later routine +deployment backups omit the retired service; preserve the dataset and hold. + +The old VM definitions and the Windows timing trace are retained owner-only +under `/var/lib/snowglobe/retirements/vms-20261020`. The obsolete OpenClaw +libvirt dependency and resource-slice overrides were removed. Restoring +OpenClaw requires a deliberate production deployment of its enabled service; +its preparation script can recreate the definition from the retained disk. diff --git a/tools/windows-presets.md b/tools/windows-presets.md index a3ed4d97630bf3e565ec215d28bb2fc87334d929..4e070a07a10d822232e40cb8c863dfefd62d5d0e 100644 --- a/tools/windows-presets.md +++ b/tools/windows-presets.md @@ -48,3 +48,37 @@ The published v10 preset supersedes v4. v4 and earlier referenced bases remain available to their existing guests. Reverting the default requires withdrawing v10 from discovery while preserving its bytes wherever clones still reference them; it does not require modifying existing guest disks. + +## First-run timing after fleet retirement + +After [retiring the unused guests](vm-retirement.md), another disposable v10 +clone reached `ready` in 95.75 seconds with the same 4-vCPU/4-GiB configuration. +The host observed these phases by polling the provisioning markers: + +| Phase | Duration | +| --- | ---: | +| Create disk clone and start | 1.12 s | +| First boot through provisioning startup | 48.63 s | +| Apply account and computer identity | 2.08 s | +| Restart, log in, and start desktop capture | 43.92 s | + +The guest agent first answered at 33.10 seconds. Guest marker timestamps put +identity changes at 1.83 seconds; the host's polling rounds this to 2.08 seconds. +Two Kernel-General boot events confirmed the reboot. Explorer and guest capture +were running, and the production browser displayed the personalized desktop. + +This is a disk template, not a saved-memory resume. `Rename-Computer` in the +provisioning script is followed by a forced restart; the second boot enables +capture and waits for the desktop. Avoiding that second boot is the next +architectural opportunity. Cloning the disk itself is already inexpensive. + +By `ready`, QEMU recorded 474 flushes with 46.45 seconds of aggregate duration +(98 ms per flush), 2.24 GB read, and 105 MB written. These operation durations +can overlap and are not an additive wall-clock breakdown. The read cache does +not accelerate synchronous HDD writes. This quieter-host result also has +different cache warmth, so it does not isolate the benefit of fleet retirement. + +The restricted raw trace is +`/var/lib/snowglobe/retirements/vms-20261020/windows-boot-trace.json`. +The trace guest was shut down and removed afterward; the published preset and +personal Mac remained intact. -- 2.54.1