From bfe870c299300a75c968b0481189074c2e67507a Mon Sep 17 00:00:00 2001 From: "bunny.fae.mom" Date: Tue, 17 Nov 2026 18:04:54 -0500 Subject: [PATCH] valefar: give nixos-large 8 GiB so the test gate plans more e2e lanes --- hosts/valefar/spindle.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hosts/valefar/spindle.nix b/hosts/valefar/spindle.nix index be339752..5e195afb 100644 --- a/hosts/valefar/spindle.nix +++ b/hosts/valefar/spindle.nix @@ -79,10 +79,10 @@ let }; image = guest { }; # `image: nixos-large` for workflows that need a real machine: albedo's full - # test gate boots hundreds of daemons and kernels. 4 GiB is a ceiling on - # purpose: the gate has to stay light enough for an 8 GB laptop + # test gate boots hundreds of daemons and kernels. 8 GiB since 2026-11-17: + # at 4 GiB the gate planned two shared e2e lanes and python e2e ran ~13 min alone largeImage = guest { - microvm.mem = lib.mkForce 4096; + microvm.mem = lib.mkForce 8192; microvm.vcpu = lib.mkForce 10; }; @@ -145,8 +145,8 @@ in hydrant.dir = "${stateDir}/state/hydrant"; # the tangled.org web app reads pipelines straight from the browser; spindle.tangled.network allows any origin too corsOrigins = [ "*" ]; - # both guests reserve 4 GiB; nixos uses 2 vCPUs and nixos-large uses 10, so - # two albedo pipelines (10 + 2 each) fit the 24-vCPU pool at once. + # nixos reserves 4 GiB and 2 vCPUs, nixos-large 8 GiB and 10; the memory pool + # fits one albedo pipeline whole (test 8 + perf 8 + nix 4 GiB) at a time. # the job count, pool totals and unit MemoryMax/CPUQuota move together maxJobCount = 4; }; @@ -162,12 +162,12 @@ in overlayDir = overlayDir; limits = { total = { - memoryMiB = 16768; + memoryMiB = 20864; vcpus = 24; diskMiB = 262144; }; workflow = { - memoryMiB = 4192; + memoryMiB = 8288; vcpus = 10; diskMiB = 65536; }; @@ -227,7 +227,7 @@ in Group = "spindle"; SupplementaryGroups = [ "kvm" ]; WorkingDirectory = "${stateDir}/state"; - MemoryMax = "18G"; + MemoryMax = "22G"; MemorySwapMax = 0; CPUQuota = "2400%"; TasksMax = 4096; -- knotmirror 0.0.1