From 5ea436efc5624385c83a950c84871b5387a7e4ff Mon Sep 17 00:00:00 2001 From: Rick Peters Date: Wed, 30 Sep 2026 13:47:52 +0200 Subject: [PATCH] docs: MAX_PARALLEL=5 ran fine on the 9800X3D (TODO R2 done, comments) --- AGENTS.md | 2 +- TODO.md | 3 ++- scripts/vmtest.sh | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 6e51c98..3402e1c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,7 +32,7 @@ wsl-build-host, progress-report, steamify-iso-release, steamify-branch-cleanup). suites cli, menu, hw, installer, toggles (`vmsuite.sh`, checks in `share/vmtest/`). Each passed in its own run: limine 43, systemd-boot 42, grub 42 (with the B1 boot entry check), cli 55, menu 36, hw 77, installer 4, toggles 42 checks. - 2026-09-29, on the PC (WSL2): the first complete parallel run, **328 pass, 0 fail in 18 minutes** (base image + - qcow2 overlays, own ssh port per job, package cache, `VM_MEM=4G`, `MAX_PARALLEL=3`). On a new machine: one full + qcow2 overlays, own ssh port per job, package cache, `VM_MEM=4G`, `MAX_PARALLEL=3`; 5 worked on the 9800X3D). On a new machine: one full `scripts/vmtest.sh --screen`, read `~/vms/last-test.txt`, fix what fails. - Open work: `TODO.md` (the CEC driver download, the GitHub Actions workflow, P3). diff --git a/TODO.md b/TODO.md index 5b81ebe..03dfc8b 100644 --- a/TODO.md +++ b/TODO.md @@ -63,7 +63,8 @@ Where the time goes: boot loader VMs ~3 min each, every suite block restores a s (`view_start` returns early; watch with `screen -r vmtest` or `tail -f ~/vms/test.log`), a VM for the user gets a window through WSLg (see the wsl-build-host skill). Still to do: a first full `vmtest.sh` run there - [x] R1c. `vminstall.sh` without udisks (WSL): `losetup -P` + `mount` when `udisksctl` is missing and it runs as root -- [ ] R2. With 64 GB and 8c/16t: try `MAX_PARALLEL=4` and 8 GB VMs (`VM_MEM=8G`) +- [x] R2. `MAX_PARALLEL=5` ran fine on the PC (9800X3D, 8c/16t, 64 GB; reported 2026-09-30). The default stays 3 for smaller + machines. Not tried: 8 GB VMs (`VM_MEM=8G`). ## Found 2026-09-29 (first full run on the PC) diff --git a/scripts/vmtest.sh b/scripts/vmtest.sh index 6d4a8a2..3e0d70c 100755 --- a/scripts/vmtest.sh +++ b/scripts/vmtest.sh @@ -7,7 +7,7 @@ # cli, menu, hw, installer, toggles (folders in share/vmtest/) # --install install the boot loader VMs first from the newest Steamify ISO (asks before replacing a disk) # --window show the VMs' windows (default: headless; one shared Konsole follows ~/vms/test.log) -# MAX_PARALLEL=3 (env) VMs at once; the slowest suites start first +# MAX_PARALLEL=3 (env) VMs at once (5 worked on a 9800X3D / 64 GB); the slowest suites start first # --screen run in a detached `screen` session named vmtest: `screen -r vmtest` to watch, Ctrl-a d to leave # The suites run on the plain CachyOS VM ~/vms/steamify-vm (Plasma, from vminstall.sh --iso # with VM_STEAMIFY=skip); the boot loader test on ~/vms/bl- (Steamify ISO). @@ -47,7 +47,7 @@ advertised="$(sed -n 's/.*"bootloader:\([^"]*\)".*/\1/p' "$iso_repo/archiso/airo $want_boot && [[ ${#loaders[@]} -eq 0 ]] && read -r -a loaders <<< "$advertised" tested="limine systemd-boot grub" # the loaders vmbootloadertest.sh has a way to boot the other kernel for summary="$HOME/vms/last-test.txt" -maxp="${MAX_PARALLEL:-3}" # VMs at once: 8 GB RAM each, 6 vCPUs each +maxp="${MAX_PARALLEL:-3}" # VMs at once (4 GB RAM each in the suites, see vmsuite.sh); 5 ran fine on a 9800X3D with 64 GB # Jobs, the slowest first so the last ones are short: suites, then the boot loaders. jobs_list=() for s in toggles hw cli menu installer; do [[ " ${suites[*]} " == *" $s "* ]] && jobs_list+=("suite:$s"); done