Appendix
ATS and ACS configuration
PCIe Address Translation Services (ATS) and Access Control Services (ACS) control how translated peer transactions traverse the IOMMU and PCIe hierarchy. The tested configuration enables ATS on every ConnectX-8 adapter and sets ACS on every ACS-capable bridge on the paths to the passed-through GPUs and ConnectX-8 functions.
ATS must be enabled on the NIC, and ACS on the PCIe switches and root ports must be configured to allow ATS.
Apply ACS only to the bridges on the paths to the passed-through GPUs and ConnectX-8 functions. Do not write one ACS value to every ACS-capable device in the system.
Enabling ATS on NVIDIA NICs
Enable ATS on every ConnectX-8 function with mlxconfig, reboot the host, and confirm that every adapter reports True(1). The setting is stored in the adapter firmware and persists across reboots.
Here is the expected output:
Enable ATS on all sixteen ConnectX-8 functions, then reboot the host:
Configuring ACS
ACS capability and control bits are exposed on PCIe root ports and switch ports. For the relevant path, inspect Source Validation, Translation Blocking, P2P Request and Completion Redirection, Upstream Forwarding, Egress Control and Direct Translated P2P.
Example from the upstream B300 path (0000:16:00.0), before and after the VM-mode setting:
Please review the following when setting ACS:
-
Set ACS only on the ACS-capable bridges (root ports and PCIe switch ports) on the paths to the GPUs and ConnectX-8 functions.
-
Write 0x5d (Source Validation, P2P Request Redirect, P2P Completion Redirect, Upstream Forwarding and Direct Translated P2P) on bridges that support Direct Translated P2P, and 0x1d (the same without Direct Translated P2P) on the others.
-
On the tested system the script below sets 24 bridges to 0x5d and 8 to 0x1d; the remaining 16 bridges on those paths have no ACS capability.
-
The DGX OS nvidia-acs-disable service clears ACS at every host boot, so run the script after each boot, with the VM shut off.
Example physical topology map for B300 NVL8 8-GPU platform
The diagram and raw output in this section were generated from the live B300 NVL8 host while the VM was shut off, all eight GPUs were bound to the NVIDIA driver, Fabric Manager was active, and the host reported a healthy NV18 fabric.
B300 NVL8 Physical Topology

Figure 7. Physical topology map for the tested B300 NVL8.
Full output from lstopo-no-graphics --of console follows. It is reproduced as captured so readers can see CPU caches, processing units, bridges, endpoints, network objects and block devices. Device addresses should be rediscovered on every target system.
Example libvirt domain XML for B300 NVL8 8-GPU platform
The following XML is the reference domain definition used on the tested B300 NVL8 system. The UUID, management MAC address, NVRAM path and disk paths have been replaced. CPU pinning, memory, controllers, host BDFs, hostdev grouping and QEMU MMIO settings are retained.
Use this XML as a reference. Validate it with the libvirt version on the target host, rediscover each source BDF, create site-specific storage and management settings, and review the inactive XML before the first boot.
Domain XML syntax: libvirt Domain XML format.
Platform hardware: NVIDIA B300 NVL8 System User Guide.