Skip to content

vmm_tests: increase concurrency#3184

Open
tjones60 wants to merge 2 commits intomicrosoft:mainfrom
tjones60:mor_test
Open

vmm_tests: increase concurrency#3184
tjones60 wants to merge 2 commits intomicrosoft:mainfrom
tjones60:mor_test

Conversation

@tjones60
Copy link
Copy Markdown
Contributor

@tjones60 tjones60 commented Apr 2, 2026

Allow tests to run with less threads reserved, since many of the threads are often idle. This allows more tests to run in parallel, improving CI times.

Also standardizes and clarifies some processor configuration.

Copilot AI review requested due to automatic review settings April 2, 2026 23:39
@tjones60 tjones60 requested a review from a team as a code owner April 2, 2026 23:39
@tjones60 tjones60 added the release-ci-required Add to a PR to trigger PR gates in release mode label Apr 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR increases parallelism for vmm_tests by reducing nextest thread reservations per test (reflecting that many guest VPs are idle), and standardizes processor-topology configuration by introducing reusable “heavy” presets.

Changes:

  • Adjust .config/nextest.toml threads-required overrides to allow more vmm_tests to run concurrently.
  • Add ProcessorTopology::heavy() / ProcessorTopology::very_heavy() helpers and update multiple tests to use them.
  • Clarify VP-count selection logic in memstat tests based on (isolation_type, machine_arch).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vmm_tests/vmm_tests/tests/tests/x86_64/openhcl_uefi.rs Switch heavy/very-heavy tests to use the new ProcessorTopology presets.
vmm_tests/vmm_tests/tests/tests/multiarch/vmbus_relay.rs Use ProcessorTopology::heavy() for the heavy vmbus relay test.
vmm_tests/vmm_tests/tests/tests/multiarch/memstat.rs Make large-VM VP-count selection explicit by isolation type and architecture.
vmm_tests/vmm_tests/tests/tests/multiarch.rs Use ProcessorTopology::heavy() for the heavy boot test.
petri/src/vm/mod.rs Introduce reusable ProcessorTopology::heavy() and ::very_heavy() constructors.
.config/nextest.toml Reduce per-test thread reservations for vmm_tests (including heavy/very-heavy filters) to increase CI concurrency.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 3, 2026 01:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

64
}
}
TestVPCount::LargeVPCount => match (isolation_type, machine_arch) {
Copy link
Copy Markdown
Contributor

@smalis-msft smalis-msft Apr 3, 2026

Choose a reason for hiding this comment

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

@ Daniel Paulius is this change ok? This will presumably affect the baselines here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-ci-required Add to a PR to trigger PR gates in release mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants