Grace Blackwell Support: stabilization and performance validation on core features
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- linux, rust
- Domaine
- backend, infrastructure, performance, testing-qa
Piste de recherche
Start by reviewing the IOMMUFD/vSMMUv3 series and the issue’s functional-stability checklist, then run the listed VM lifecycle and device-attachment tests on GB200 or GB300 hardware. Compare matrixMul, bandwidthTest, and single- and multi-node NCCL against bare metal and, where possible, QEMU; record the full software stack and agree on acceptable performance deltas. Done means stability issues are addressed, performance is validated, and a bare-metal CI route is identified.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
With the final patch set of the IOMMUFD / vSMMUv3 series landing, Cloud Hypervisor should be able to boot Grace Blackwell (GB200/GB300) guests with GPU passthrough and run CUDA workloads. Before moving on to new features (#8976), we want to stabilize this path and confirm performance is where we expect it, relative to bare metal and QEMU.
This issue tracks that work: the test matrix, the software stack we validate against, known stability issues, and the plan for a CI machine.
Functional stability
- VM lifecycle: boot, shutdown (clean teardown), reboot
- Repeated reboot and boot/shutdown cycles, verifying the host is left clean each time
- VFIO devices (e.g. GPU) attached to the vSMMUv3 (no hotplug/unplug)
- VFIO devices (e.g. NIC, NVMe) not attached to the vSMMUv3
- Hotplug/unplug of non-VFIO devices
- GPU health:
dcgmidiagnostics at multiple levels - Optional: Hotplug/unplug of non-GPU VFIO devices
Known/suspected issue: VM teardown has been reported as not fully clean.
Performance parity
- CUDA samples:
matrixMul,bandwidthTest, etc. - Single-node NCCL (GPUs on the same node)
- Multi-node NCCL (GPUDirect RDMA over InfiniBand; requires P2P DMA, see below)
Baseline: same tests on bare metal and, where possible, QEMU on the same host. We should agree on an acceptable delta per test.
Validation configuration
Platforms
| Who | Platform |
|---|---|
| @sboeuf (Meta) | GB200 |
| @yamahata (Crusoe) | GB300 |
From a virtualization standpoint the two should behave identically; covering both lets us catch platform-specific variations.
Software stack
Firmware (platform and GPU), host kernel, NVIDIA driver, and CUDA version have all made a real difference in our experience. Please record the full stack when reporting results: platform vendor and firmware, GPU firmware, host kernel (base + patches), guest kernel, NVIDIA driver, CUDA.
Peer-to-peer DMA Caveats
Multi-node NCCL relies on GPUDirect RDMA (the NIC DMAs directly into the GPU BAR), which in a VM requires the GPU BAR to be mapped into the host IOMMU domain for the peer device. Two host-kernel configurations are:
Canonical's NVIDIA HWE stack: https://discourse.ubuntu.com/t/nvidia-grace-blackwell-canonical-support/72534
- Recommended by Canonical/NVIDIA for pre-production and production GB200 NVL72 and GB300 NVL72 systems.
- Pros: fully qualified stack, including NVIDIA HWE kernel (v6.17-based), GPU driver, CUDA, DOCA-OFED, QEMU/libvirt.
- Cons: relies on a downstream workaround that maps BAR PFNs directly (without proper dma-buf support in the kernel).
Upstream-based kernel ≥ 6.19
- Pros: proper VFIO P2P via dma-buf (
VFIO_DEVICE_FEATURE_DMA_BUF+IOMMU_IOAS_MAP_FILE) merged in v6.19. - Cons: not qualified against the rest of the NVIDIA stack; a stream of follow-up fixes (need further research).
- Reference: support added to qemu v11.0
Note: The two configurations therefore need different Cloud Hypervisor behaviour. When it is being supported, the dma-buf work should fall back to plain IOMMU_IOAS_MAP when the kernel returns ENOTTY, so the both configurations continue to work.
CI
This is a large feature in a fast-moving ecosystem, and CI coverage is critical. The CI machine must be bare metal. Minimum is a single GB node (2 Grace + 4 GPUs); two nodes from different racks (e.g. in different NVLink domains) would additionally cover GPUDirect RDMA.
Potential routes to explore:
- Hardware sponsored by an interested company
- Public bare-metal offerings
- Langage dominant
- Rust
- Étoiles
- 6.3k
- Forks
- 786
- Merge moyen
- 1 j 3 h
- PR mergées (30 j)
- 195
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de cloud-hypervisor/cloud-hypervisor
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
cloud-hypervisor/cloud-hypervisor#9562 · 5 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
cloud-hypervisor/cloud-hypervisor#9553 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
cloud-hypervisor/cloud-hypervisor#9551 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 46/100
cloud-hypervisor/cloud-hypervisor#9550 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
cloud-hypervisor/cloud-hypervisor#9528 · 2 réactions ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de cloud-hypervisor/cloud-hypervisor
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
Les mainteneurs répondent en général sous 17 jours
-
bug(c-sdk): boxlite_box_exec does not check runtime liveness before dispatching streaming execOuvertebug rust SDK & CLI & REST API
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
boxlite-ai/boxlite#3292 ·
Les mainteneurs répondent en général sous 1 jour
-
Android bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
anefzaoui/misterdownloadmanager#2516 ·
Les mainteneurs répondent en général sous 1 jour
-
editor ui
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
state:triage tech-debt
Difficulté 2/5 1-3 heures Accessibilité débutants 89/100
agent8-cash/ethpayserver#731 ·
Les mainteneurs répondent en général sous 1 jour