Skip to content

ci: move the runner presets to c3d - #13782

Merged
ChiragAgg5k merged 1 commit into
mainfrom
ci/gcrunner-presets-c3d
Sep 20, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
ci/gcrunner-presets-c3d

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

Moves every preset from n2d to c3d. Values are otherwise unchanged.

Why

Measured on #13779, against the median of the last 8 successful main runs on RunsOn:

Family Total job time vs RunsOn
n2d 129m12s +42%
c3d 110m23s +21%

n2d-standard-4 is EPYC Rome/Milan. RunsOn's runner=4cpu-linux-x64/family=c7 was handing out Zen 4 / Sapphire Rapids. Same vCPU count, two generations of core apart, and these lanes are short and largely single-thread bound so it shows up directly. c3d is Genoa, the GCP equivalent.

Safe to merge on its own

Only the family changes, so every existing runner=<name> keeps resolving. The worst case is a job landing on a faster machine.

c3d is present in 7 of the 8 zones in the pool — europe-west2-a is the exception. Machine-type resolution happens per zone inside the zone loop, so a zone without the family logs Failed to resolve machine type … trying next zone and moves on rather than failing the job. No resolution failures were observed across the measured run.

What this does not fix

The remaining 21% is not compute. Per-step timing on Tests / E2E / PostgreSQL (dedicated) / Health:

Step RunsOn gcrunner
Run tests 3s 5s
Pull Docker Image 12s 54s
Pull Docker Compose images 50s 87s

The app image comes from the regional read-through cache, but jobs spread across eight regions, so a new SHA is fetched cross-region once per region; RunsOn ran in one region against one warm ECR cache. The compose images go to Docker Hub with no proxy at all, where RunsOn had extras=ecr-cache.

Pinning to one region was tried and reverted: it would fix the first, and it defeats the multi-region spread that keeps CI inside per-region quota. The durable fix is a Docker Hub remote repository in Artifact Registry plus a registry-mirrors entry in the runner image, which is transparent to every repository. Tracked separately.

n2d-standard-4 is EPYC Rome/Milan where RunsOn was handing out Zen 4, and these
lanes are short and largely single-thread bound, so the core generation shows up
directly: 42% slower than RunsOn on n2d against 21% on c3d, measured on #13779.

Only the family changes, so every existing runner=<name> keeps resolving.
ChiragAgg5k added a commit that referenced this pull request Sep 20, 2026
The explicit family=c3d labels were only there to measure the family change on
this branch, since the orchestrator reads .github/gcrunner.yml from the default
branch on a public repository. The measurement is done and the family moves into
the presets in #13782, so the labels go back to runner=<name>.
@greptile-apps

greptile-apps Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge because it consistently changes only the runner machine family and leaves preset contracts and resource sizing intact.

Summary

This PR moves all six gcrunner presets from the n2d machine family to c3d without changing preset names or resource sizing.

  • Updates small, standard, build, publish, e2e, and e2e-large presets consistently.
  • Preserves existing CPU, RAM, and disk selections.
  • Introduces no application-code or security-boundary changes.

Reviews (1) · Last reviewed commit: "ci: move the runner presets to c3d"

@github-actions

Copy link
Copy Markdown

✨ Benchmark results

Comparing main (before) → ci/gcrunner-presets-c3d (after).

Metric Before After Change
🚀 Requests/sec 271.55 271.77 ⚪ +0.1%
⏱️ Latency P50 63.96 ms 64.21 ms ⚪ +0.4%
⏱️ Latency P95 151.65 ms 149.44 ms ⚪ -1.5%
Per-scenario breakdown & investigation details

Metrics below reflect the current branch (after). Δ P95 compares against the base.

Scenario P50 (ms) P95 (ms) Requests RPS Δ P95 (ms)
API total 64.21 149.44 16,929 271.77 -2.21
Account 117.42 221.2 891 14.87 -1.31
TablesDB 61.86 115.24 9,207 150.29 +1.07
Storage 59.76 136.32 4,455 74.23 -2.6
Functions 91.69 178.39 2,376 40.28 -6.17

Top API waits (after)

API request Max wait (ms)
storage.files.create 387.33
storage.files.download 351.37
functions.create 340.92
account.name.update 322.12
storage.files.list 303.26

@ChiragAgg5k
ChiragAgg5k merged commit 294eb16 into main Sep 20, 2026
50 checks passed
@ChiragAgg5k
ChiragAgg5k deleted the ci/gcrunner-presets-c3d branch September 20, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants