SR-IOV Debian Package Install#
The amdgpu-exporter-sriov Debian package installs the Device Metrics
Exporter and a matching GPU Agent build on an SR-IOV/GIM hypervisor host for
MI-series platforms. It is versioned independently from the baremetal
amdgpu-exporter package (see Standalone Debian Package Install).
System Requirements#
Operating System: Ubuntu 22.04 or Ubuntu 24.04
Platform: MI-series GPU configured for SR-IOV/GIM virtualization
GIM driver: version 9.0.0.K or later must already be installed on the hypervisor host before installing this package. See the MxGPU-Virtualization releases page for GIM driver installation instructions.
Installation#
Step 1: Install the APT Prerequisites for Metrics Exporter#
Update the package list and install necessary tools, keyrings and keys:
sudo apt update sudo apt install vim wget gpg sudo mkdir --parents --mode=0755 /etc/apt/keyrings wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | gpg --dearmor | sudo tee /etc/apt/keyrings/rocm.gpg > /dev/null
Edit the sources list to add the Device Metrics Exporter repository:
deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/device-metrics-exporter/sriov/1.0.0 jammy main
deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/device-metrics-exporter/sriov/1.0.0 noble main
Update the package list again:
sudo apt update
Step 2: Install the SR-IOV Metrics Exporter#
Install the SR-IOV Device Metrics Exporter:
sudo apt install amdgpu-exporter-sriov
This installs two systemd units:
gpuagent-sriov.service— the SR-IOV/GIM GPU Agent buildamd-metrics-exporter-sriov.service— the metrics exporter (Wants=/After=gpuagent-sriov.service)
Enable and start both services:
sudo systemctl enable gpuagent-sriov.service amd-metrics-exporter-sriov.service sudo systemctl start gpuagent-sriov.service amd-metrics-exporter-sriov.service
Check service status:
sudo systemctl status gpuagent-sriov.service sudo systemctl status amd-metrics-exporter-sriov.service
Metrics Exporter Default Settings#
Configuration file:
/etc/metrics/config.jsonGPU Agent socket:
/var/run/gpuagent.sock(Unix Domain Socket)GPU Agent binary:
gpuagent-sriov(SR-IOV/GIM build, distinct from the baremetalgpuagent)Health monitoring is disabled by default in this package’s config
See the Hypervisor column in the List of Available Metrics for the list of metrics supported under this deployment
Removing the SR-IOV Metrics Exporter#
Stop both services:
sudo systemctl stop amd-metrics-exporter-sriov.service sudo systemctl stop gpuagent-sriov.service
Remove the package:
sudo dpkg -r amdgpu-exporter-sriov sudo apt-get purge amdgpu-exporter-sriov
Troubleshooting#
Techsupport Collection#
sudo metrics-exporter-ts.sh
Logs#
sudo journalctl -xu amd-metrics-exporter-sriov
sudo journalctl -xu gpuagent-sriov
Common Issues#
amd-metrics-exporter-sriov.servicefails to start:Confirm
gpuagent-sriov.serviceis running first — the exporter serviceWants=/After=itVerify the GIM driver (9.0.0.K or later) is installed on the host
Metric collection issues:
Check that the GIM driver version meets the minimum requirement
Confirm the host is actually configured for SR-IOV/GIM virtualization