Skip to content

perf_nvme : Remove requirement to have 8 NVMe#4500

Open
SRIKKANTH wants to merge 1 commit into
mainfrom
smyakam/perf_nvme/max_disk/2026_05_28
Open

perf_nvme : Remove requirement to have 8 NVMe#4500
SRIKKANTH wants to merge 1 commit into
mainfrom
smyakam/perf_nvme/max_disk/2026_05_28

Conversation

@SRIKKANTH

Copy link
Copy Markdown
Collaborator

NvmeSettings(disk_count=8) requirement is restricting the perf_nvme test from running VMs with lesser NVMe disks. For example, ARM64 VM (like plds_v6) have max of 6 NVMes.

Description

Related Issue

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation update

Checklist

  • Description is filled in above
  • No credentials, secrets, or internal details are included
  • Peer review requested (if not, add required peer reviewers after raising PR)
  • Tests executed and results posted below

Test Validation

Key Test Cases:
perf_nvme

Impacted LISA Features:

Tested Azure Marketplace Images:

Test Results

Image VM Size Result
Canonical:ubuntu-24_04-lts:server-arm64:latest Standard_D16plds_v6 PASSED

Copilot AI review requested due to automatic review settings May 28, 2026 15:06
NvmeSettings(disk_count=8) requirement is restricting the perf_nvme test from running VMs with lesser NVMe disks. For example ARM64 VM (like plds_v6) have max of 6 NVMes.
@SRIKKANTH SRIKKANTH force-pushed the smyakam/perf_nvme/max_disk/2026_05_28 branch from f0e6d41 to b4ad8b6 Compare May 28, 2026 15:07

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.

Pull request overview

Removes the hardcoded NvmeSettings(disk_count=8) requirement from the perf_nvme test, replacing it with the generic Nvme feature requirement. This allows the test to run on VMs with fewer than 8 NVMe disks (e.g., ARM64 plds_v6 VMs with 6 NVMes), matching the existing pattern used by perf_nvme_io_uring. The runtime path already handles any disk count >= 1, and metric names dynamically include the actual disk count.

Changes:

  • Drop NvmeSettings import in favor of just Nvme.
  • Replace supported_features=[NvmeSettings(disk_count=8)] with supported_features=[Nvme] for perf_nvme.

@github-actions

Copy link
Copy Markdown

✅ AI Test Selection — PASSED

2 test case(s) selected (view run)

Marketplace image: canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest

Count
✅ Passed 2
❌ Failed 0
⏭️ Skipped 0
Total 2
Test case details
Test Case Status Time (s) Message
perf_nvme (lisa_0_0) ✅ PASSED 4377.212
perf_nvme_io_uring (lisa_0_1) ✅ PASSED 5340.097

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