Skip to content

Feature: _nvidia ​

Description ​

Configures kernel command line parameters required for NVIDIA GPU workloads, optimizing the system for GPU performance by disabling power-saving features and tuning PCIe and CPU governor settings.

What it does ​

_nvidia adds a set of kernel parameters via /etc/kernel/cmdline.d/50-nvidia.cfg that are required for reliable and performant NVIDIA GPU operation, particularly in bare-metal OpenStack environments:

ParameterPurpose
iommu=ptEnables IOMMU passthrough mode for direct device memory access
idle=pollDisables CPU idle states to minimize GPU-related latency spikes
nvidia.NVreg_DynamicPowerManagement=0x00Disables NVIDIA dynamic power management
usbcore.autosuspend=-1Disables USB autosuspend
nvme_core.default_ps_max_latency_us=0Disables NVMe power state transitions
pcie_port_pm=offDisables PCIe port power management
pcie_aspm.policy=performanceSets PCIe Active State Power Management to performance mode
cpufreq.default_governor=performanceSets the CPU frequency governor to performance mode

Files ​

FilePurpose
file.include/etc/kernel/cmdline.d/50-nvidia.cfg (file.include)Adds NVIDIA GPU performance tuning parameters to the kernel command line.
file.include.markers.yaml (ref)Maps files in this feature to test-coverage marker IDs.
info.yaml (ref)Declares type: flag.