From 89299b91c747bd4dc92a56861c1de384de47067e Mon Sep 17 00:00:00 2001 From: Simone Date: Mon, 18 May 2026 21:14:08 +0200 Subject: [PATCH] docs(runbook): record Windows host pre-migration baseline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase A benchmark data (2026-05-17): VM lifecycle avg 60.6s boot, smoke job avg 27s Win / 49s Linux, 100% success rate (12/12 burn-in). B7 reference thresholds: Win ≤32s, Linux ≤59s. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- docs/RUNBOOK.md | 40 +++++++++++++++++++ .../PhaseAB-bridge-user-checklist.md | 8 ++-- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/docs/RUNBOOK.md b/docs/RUNBOOK.md index 35c4a30..2860d62 100644 --- a/docs/RUNBOOK.md +++ b/docs/RUNBOOK.md @@ -198,6 +198,46 @@ Estimated time: 2-4 hours including Windows Update. --- +## Windows host baseline + +**Data**: 2026-05-17 (Phase A closure — commit `36913ab6`) + +**Hardware**: Intel i9-10900X, 64 GB RAM, NVMe SSD + +**Versioni**: +- `ci_orchestrator`: v2.0.0-phaseA (SHA `b4ca7f3`), Python 3.13.3 +- `act_runner`: v1.0.2 + +**Benchmark infra — VM lifecycle** (`Measure-CIBenchmark.ps1`, 4 iter, template Windows): + +| Phase | iter 1 | iter 2 | iter 3 | iter 4 | **media** | +| --------- | ------ | ------ | ------ | ------ | --------- | +| Clone (s) | 0.63 | 0.63 | 0.62 | 0.61 | **0.62** | +| Start (s) | 1.75 | 1.89 | 1.72 | 1.72 | **1.77** | +| IP (s) | 66.57 | 20.21 | 85.07 | 60.97 | **58.2** | +| WinRM (s) | 0.01 | 0.01 | 0.01 | 0.01 | **0.01** | +| Destroy(s)| 4.81 | 6.39 | 4.50 | 4.20 | **4.98** | +| Boot tot | 68.96 | 22.74 | 87.42 | 63.31 | **60.6** | + +> Fase IP (20–85 s) = costo dominante e variabile (detect IP via VMware Tools). Normale, non bloccante. + +**Tempo medio per job** (smoke `self-test.yml`, Gitea Actions, Passo 6 Phase A): + +| Template | Transport | Wall time | +| -------------- | --------------------- | --------- | +| WinBuild2025 | in-guest git clone | 26 s | +| WinBuild2025 | host-side clone + zip | 28 s | +| LinuxBuild2404 | in-guest git clone | 51 s | +| LinuxBuild2404 | host-side clone + zip | 46 s | +| **media Win** | | **27 s** | +| **media Linux**| | **49 s** | + +**Success rate**: 100 % — burn-in 12/12 (3 round × 4 job concorrenti, Passo 7 Phase A). + +> Questi valori sono il baseline di riferimento per il criterio B7 ("tempo medio entro ±20% baseline Windows"). Margini: Win ≤ 32 s, Linux ≤ 59 s. + +--- + ## Quick Reference | Symptom | First command | diff --git a/plans/archived/2026-05-23/PhaseAB-bridge-user-checklist.md b/plans/archived/2026-05-23/PhaseAB-bridge-user-checklist.md index ffa8874..5b89da6 100644 --- a/plans/archived/2026-05-23/PhaseAB-bridge-user-checklist.md +++ b/plans/archived/2026-05-23/PhaseAB-bridge-user-checklist.md @@ -20,21 +20,21 @@ codice Python) né in [PhaseB-user-checklist.md](PhaseB-user-checklist.md) Senza un baseline registrato, il confronto richiesto da B7 ("tempo medio entro ±20% baseline Windows") è impossibile. -- [ ] Eseguire benchmark sull'host Windows (post Fase A, runner Python attivo): +- [x] Eseguire benchmark sull'host Windows (post Fase A, runner Python attivo): ```powershell cd .\scripts\Measure-CIBenchmark.ps1 | Tee-Object -FilePath "baseline-windows-$(Get-Date -Format 'yyyyMMdd').txt" ``` -- [ ] Annotare in `docs/RUNBOOK.md` (sezione nuova "Windows host baseline"): +- [x] Annotare in `docs/RUNBOOK.md` (sezione nuova "Windows host baseline"): - Data - Tempo medio per job (Windows e Linux template) - Success rate - Versione `act_runner` e `ci_orchestrator` (output di `python -m ci_orchestrator --version` se disponibile, altrimenti SHA del commit) - Hardware: i9-10900X, 64 GB RAM, NVMe SSD (da `AGENTS.md`) -- [ ] Committare: +- [x] Committare: ```powershell git add docs/RUNBOOK.md @@ -197,7 +197,7 @@ Questi non sono comandi, ma checkpoint prima di iniziare B1 e B6. | Sezione | Descrizione | Stato | | ------- | ---------------------------------------------- | ----- | -| 1 | Baseline benchmark salvato in `docs/RUNBOOK.md` | [ ] | +| 1 | Baseline benchmark salvato in `docs/RUNBOOK.md` | [x] | | 2.1 | Chiavi SSH presenti | [ ] | | 2.2 | Password `BuildVMGuest` recuperata | [ ] | | 2.3 | Gitea PAT generato per `ci-runner-linux` | [ ] |