Demo: instant start -- sessions resume from a saved, booted machine #113

Closed
opened 2026-11-06 19:21:56 +00:00 by rajames · 2 comments
Owner

What

Boot once to the prompt, save QEMU's state, and start every session from it: a visitor lands at ok> in seconds, not after a minute or two of boot and POST under TCG.

Why

Under software emulation a cold boot with POST takes too long for a visitor to wait.

Done when

  • A script makes the saved state from an ISO, booted to the prompt
  • The launcher resumes from it; 3 4 + . answers 7 ok
  • Time to the prompt measured, cold boot against resume
  • Rebuilt from each nightly's ISO (later: a step of the nightly)
## What Boot once to the prompt, save QEMU's state, and start every session from it: a visitor lands at `ok>` in seconds, not after a minute or two of boot and POST under TCG. ## Why Under software emulation a cold boot with POST takes too long for a visitor to wait. ## Done when - [ ] A script makes the saved state from an ISO, booted to the prompt - [ ] The launcher resumes from it; `3 4 + .` answers `7 ok` - [ ] Time to the prompt measured, cold boot against resume - [ ] Rebuilt from each nightly's ISO (later: a step of the nightly)
rajames added this to the Public demo terminal milestone 2026-11-06 19:21:56 +00:00
rajames added the
kind
feature
board/pc
priority
should
status
in-progress
labels 2026-11-06 19:21:56 +00:00
Author
Owner

Built and tested in 9e711563, on StarForth-v4.0.0; reaches master by PR, through acceptance. See demo/README.md, Tested: ready 0.2 s after a session starts (a cold boot is 87 s); 3 4 + . -> 7 ok through ttyd's websocket; QEMU gone at once on hang-up, close and time-out.

**Built and tested** in `9e711563`, on `StarForth-v4.0.0`; reaches `master` by PR, through acceptance. See `demo/README.md`, *Tested*: ready 0.2 s after a session starts (a cold boot is 87 s); `3 4 + .` -> `7 ok` through ttyd's websocket; QEMU gone at once on hang-up, close and time-out.
rajames added
status
needs-acceptance
and removed
status
in-progress
labels 2026-11-06 19:41:42 +00:00
rajames removed the
status
needs-acceptance
label 2026-11-06 21:44:39 +00:00
Author
Owner

Merged to master in #118 (0332a2e1), accepted by run 163 on 4f6a267b. Gitea's "Closes #112, #113, #114" closed only the first; closed here by hand.

Merged to `master` in #118 (`0332a2e1`), accepted by run 163 on `4f6a267b`. Gitea's "Closes #112, #113, #114" closed only the first; closed here by hand.
Sign in to join this conversation.