Skip to content

doc: describe CI's AMD runners and what an AMD series needs - #2282

Merged
Pedro Henrique Penna (ppenna) merged 1 commit into
devfrom
agents/issue-410-amd-runner-docs
Nov 27, 2026
Merged

Pedro Henrique Penna (ppenna) merged 1 commit into
devfrom
agents/issue-410-amd-runner-docs

Conversation

@ppenna

@ppenna Pedro Henrique Penna (ppenna) commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Part of #410

Stacked on #2278, which is stacked on #2277; GitHub retargets this pull request when they merge, and its own change is its top commit, doc: describe CI's AMD runners and what an AMD series needs.

What does this pull request change?

doc/benchmarks.md said that every CI microVM runner is an Azure VM with an Intel Xeon CPU and that none has an AMD CPU. Each backend pool now holds four AMD VMs, azure-amd-{kvm,mshv,whp}-1..3 with an EPYC 9V74 (Genoa) and -4 with an EPYC 7763 (Milan), all with the general role and the amd label. Only the pools' benchmark runners, which alone measure the performance series, are all Intel: azure-intel-kvm-3, azure-intel-mshv-4, and azure-intel-whp-5.

  • doc/benchmarks.md, the paragraph below the CI series table: the series carry no vendor because only the Intel benchmark runners measure them, and the AMD runners carry general, so they never run a platform job. It also says what an AMD benchmark runner needs before it takes the benchmark role: series of its own with an -amd suffix, as before, and a vendor label on every platform job, amd for an AMD series and, for an Intel series, a label that the AMD runners lack, such as intel, added to the Intel benchmark runners before a workflow requires it. A job's runs-on can require labels but not exclude them, so otherwise a platform job could take the other vendor's benchmark runner, and its expected-host check would fail it.
  • doc/ci.md, "Job graph and runner capacity": names the AMD runners' CPUs, says that a microVM job boots the Genoa or Milan CPU profile when it lands on an AMD runner while only Intel VMs measure the series, and how often each backend's microVM jobs landed on each vendor, since no job requires one.

Start with the doc/benchmarks.md paragraph. Left out, and left to #410, because they need a maintainer to reconfigure runners: the AMD benchmark runners, the intel label on the Intel benchmark runners, and the -amd series with their platform jobs and host files. No workflow, script, or data/ file changes, so no job's routing changes.

Why is this change needed?

The statement was stale and misleads anyone planning the rest of #410 or reading a microVM job's log from an AMD runner: AMD CPU profiles already boot in CI on every backend, while the performance series still measure only Intel VMs. Its plan, to give an AMD runner series of its own before it joins CI, also predates the AMD general runners, and it left out the label prerequisite that an AMD benchmark runner needs.

Alternatives rejected:

  • Preparing the workflow now. Requiring intel in the platform jobs before the Intel benchmark runners carry it would leave every platform job without a runner, and adding the -amd names to PLATFORM_NAMES and OPENVMM_BACKENDS without a runner, a platform job, and a data/<platform>-host.json from that runner would add series that nothing measures.
  • Pinning a microVM job of each backend to amd. In the sample below, each backend's microVM jobs already ran on an AMD runner in 39 or 40 of 40 runs, while a pinned job could wait for 4 of the 7 general runners.

How was this change validated?

Checks and results:

  • Runner inventory, gh api repos/microsoft/nvx/actions/runners (names, status, and labels only): the 12 AMD runners azure-amd-{kvm,mshv,whp}-{1..4} carry general and amd; each backend also has three Intel general runners and one Intel benchmark runner; all 24 are online.

  • Each AMD runner's CPU and profile, from the runner validation and doctor H2 and H3 in CI job logs, all passing, with the time ABI host qualification:

    Runners CPU Profile Example job
    azure-amd-kvm-1..3 EPYC 9V74 (25/17/1) amd.genoa.v2 140406166675, KVM debug kernel
    azure-amd-mshv-1..3 EPYC 9V74 amd.genoa.v2 140406166752, MSHV shard 2
    azure-amd-whp-1..3 EPYC 9V74 amd.genoa.v2 140406468206, WHP shard 1
    azure-amd-kvm-4 EPYC 7763 (25/1/1) amd.milan.v1 140589278699, KVM shard 2
    azure-amd-mshv-4 EPYC 7763 amd.milan.v1 140406166566, MSHV debug kernel
    azure-amd-whp-4 EPYC 7763 amd.milan.v1 140394803453, WHP debug kernel
  • Benchmark hosts: data/linux-kvm-virtual-machine-host.json, data/linux-mshv-virtual-machine-host.json, and data/windows-whp-virtual-machine-host.json record a Xeon Platinum 8370C, 8573C, and 8370C, each on Standard_D8s_v5.

  • Vendor coverage of the 40 CI runs that started on November 27, 2026, between 04:06 and 15:34 UTC (17 pull-request, 12 merge-group, 10 push, and 1 scheduled run), counting their completed microVM jobs:

    Backend Runs with a microVM job on AMD Runs with a microVM job on Intel MicroVM jobs on AMD
    KVM 40 35 82 of 143
    MSHV 39 39 84 of 148
    WHP 39 37 74 of 131
  • At efa5772471c, the same change on dev 9a193491d44, before stacking: python scripts\nvx.py verify passed.

  • python scripts\local_gates.py --base origin/dev --run: test-changes (0 changes to existing tests), markdown-links, and test-layout passed. nvx-cli ran 2326 tests with one error, in the tcp-missed case of scripts.test_microvm_tests.MicrovmTests.test_private_network_ingress_script_checks_policy_and_traffic, whose helper runs a shell script under a 10-second timeout, while other suites loaded the workstation. That test then passed alone, python -m unittest scripts/test_microvm_tests.py passed (393 tests, 9 skipped), and python scripts\local_gates.py --base origin/dev --only nvx-cli --run passed: 2326 tests (89 skipped) and 84 adversarial tests (11 skipped).

  • The tests that read the edited documents, python -m unittest scripts/test_performance.py scripts/test_nightly_ci.py scripts/test_tool_versions.py scripts/test_markdown_links.py: 331 tests passed, 3 skipped.

  • After rebasing onto copilot-instructions: name the Xeon 8370C among the runner CPUs #2278's head e899b06a3e1: python scripts\rebase_check.py verify passed and python scripts\nvx.py verify passed. After the rebase, and again at 34f26426179 with the review fix, python scripts\local_gates.py --base origin/agents/issue-408-runner-cpus --only test-changes markdown-links test-layout --run passed all three gates (0 changes to existing tests), and the tests that read the edited documents passed: 331 tests, 3 skipped.

Backend, host OS, host type, and guest: none; the change is documentation only and boots nothing.
Left to CI: the remaining checks; the change selects no microVM, benchmark, or OpenVMM suite.

Checklist

  • Tests cover the new or fixed behavior, in the layout that
    python3 scripts/check_test_layout.py checks.
  • python3 scripts/check_test_changes.py --base origin/dev lists no change
    to an existing test, or a Changes to existing tests section below
    explains each one.
  • The documentation that the change affects is updated, including
    .github/copilot-instructions.md and the skills when a convention or
    workflow changes.
  • A change to the public API of nvx updates nvx/public-api/ with
    python3 scripts/public_api.py --update.
  • Snapshots, protocols, and on-disk formats stay compatible, or the
    description says how the change versions or migrates them.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The documentation’s claim that CI never uses host profiles contradicts the intentional default fallback scenario and should be scoped to benchmark measurements.

1 open issue
What changed in this PR

Updates NVX’s CI documentation to distinguish existing AMD test runners from Intel-only benchmark runners and clarify the remaining prerequisites for AMD performance series under #410. No code or job routing changes.

Changes:

  • Documents AMD runner CPUs, their normal CPU profiles, and observed vendor coverage.
  • Explains separate AMD series and vendor-label requirements before adding AMD benchmark runners.
File Description
doc/​ci.md Describes AMD runner capacity, CPU profiles, and vendor coverage.
doc/​benchmarks.md Corrects the runner inventory and documents AMD benchmark-series prerequisites.

Review effort: Balanced

Comment thread doc/benchmarks.md Resolved
doc/benchmarks.md said that every CI microVM runner is an Azure VM with
an Intel Xeon CPU and that none has an AMD CPU. Since the pools grew to
eight runners each, four runners of each pool are AMD VMs, three with
an EPYC 9V74 (Genoa) and one with an EPYC 7763 (Milan), all with the
general role, so the microVM jobs run on them too, while each pool's
one benchmark runner, which alone measures the backend's series, is
still an Intel VM.

Say so in doc/benchmarks.md, and say what an AMD benchmark runner needs
before it takes the benchmark role: since runs-on can require labels but
not exclude them, each series' platform job must also require a label of
its vendor's benchmark runner, amd for an AMD series and, for an Intel
series, one that the AMD runners lack, such as intel, added to the Intel
benchmark runners before a workflow requires it; otherwise a platform
job could take the other vendor's benchmark runner and fail its
expected-host check. doc/ci.md names the AMD runners' CPUs, the CPU
profiles that the microVM jobs boot on them, and how often a run's
microVM jobs landed on each vendor's runners.

Evidence: gh api repos/microsoft/nvx/actions/runners lists
azure-amd-{kvm,mshv,whp}-{1..4} with general and amd, and the Intel
benchmark runners azure-intel-kvm-3, azure-intel-mshv-4, and
azure-intel-whp-5. The AMD runners' job logs report an EPYC 9V74 on
-1 to -3, which boots amd.genoa.v2 (jobs 140406166675, 140406166752,
and 140406468206 of run 45959894528 on KVM, MSHV, and WHP), and an
EPYC 7763 on -4, which boots amd.milan.v1 (job 140589278699 of run
46023491895, 140406166566 of run 45959894528, and 140394803453 of run
45959888332), with doctor H2 and H3 passing. The
data/*-virtual-machine-host.json files record Intel Xeon 8370C and
8573C hosts. Of the 40 CI runs that started on November 27, 2026,
between 04:06 and 15:34 UTC, AMD runners ran 240 of the 422 microVM
jobs, and each backend's microVM jobs ran on an AMD runner in 39 or 40
of the runs and on an Intel runner in 35 to 39.

Refs #410

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the CI documentation clarification.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@ppenna
Pedro Henrique Penna (ppenna) changed the base branch from agents/issue-408-runner-cpus to dev November 27, 2026 18:01
@ppenna
Pedro Henrique Penna (ppenna) added this pull request to the merge queue Nov 27, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to invalid changes in the merge commit Nov 27, 2026
@ppenna
Pedro Henrique Penna (ppenna) added this pull request to the merge queue Nov 27, 2026
Merged via the queue into dev with commit 6c87160 Nov 27, 2026
47 checks passed
@ppenna
Pedro Henrique Penna (ppenna) deleted the agents/issue-410-amd-runner-docs branch November 27, 2026 21:01
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