From 12950af096acfecc02c4bd3ae4fbc2e60f391df9 Mon Sep 17 00:00:00 2001 From: can1357 Date: Mon, 15 Jun 2026 02:44:16 +0200 Subject: [PATCH] perf(scripts): raised workspace test workers and ARC CPU limits - Updated workspace-mode CI to run `workspaceTestCommand` with 8 workers instead of 4. - Raised the documented ARC runner CPU limit from 8 to 16 in caching docs. --- infra/docs/04-arc-and-caching.md | 4 ++-- scripts/ci-test-ts.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/docs/04-arc-and-caching.md b/infra/docs/04-arc-and-caching.md index 955ce674f..8fc52bd5a 100644 --- a/infra/docs/04-arc-and-caching.md +++ b/infra/docs/04-arc-and-caching.md @@ -217,7 +217,7 @@ template: cpu: "2" memory: "4Gi" limits: - cpu: "8" + cpu: "16" memory: "12Gi" volumes: - name: runner-cache @@ -266,7 +266,7 @@ Field by field: mounts to the `arc-runners/runner-cache` PVC. `ReadWriteOnce` is enough on this single-node k3s host; use a RWX-capable storage class before spreading runners across nodes. -- **`resources`** - requests `2` CPU / `4Gi`, limits `8` CPU / `12Gi`. Kata reads +- **`resources`** - requests `2` CPU / `4Gi`, limits `16` CPU / `12Gi`. Kata reads these and sizes the guest accordingly: the VM now boots at the same guaranteed floor (`default_vcpus: 2`, `default_memory: 4096`) and only hotplugs beyond that toward the limits, with `default_maxvcpus: 0` allowing up diff --git a/scripts/ci-test-ts.ts b/scripts/ci-test-ts.ts index 7a95c50f0..0dd595a0e 100755 --- a/scripts/ci-test-ts.ts +++ b/scripts/ci-test-ts.ts @@ -278,7 +278,7 @@ async function commandsForMode(mode: Mode): Promise { switch (mode) { case "workspace": return [ - ...fastWorkspacePackages.map(pkg => workspaceTestCommand(pkg, 4)), + ...fastWorkspacePackages.map(pkg => workspaceTestCommand(pkg, 8)), { label: "scripts", cwd: ".",