gpu-operator icon indicating copy to clipboard operation
gpu-operator copied to clipboard

GPU utilization does not reach 100% in DCGM metrics when running GPU Burn on A100 MIG (4g.40gb ; 2g-20gb)

Open dogukanpolatel opened this issue 10 months ago • 4 comments

Description

Problem

We are running an NVIDIA A100 GPU with MIG (Multi-Instance GPU) enabled. The GPU is partitioned as follows:

  • 1x 4g.40gb
  • 1x 2g.20gb
  • 1x 1g.20gb

We are using the gpu-burn container image to fully stress the 4g.40gb MIG instance and expect to observe ~100% GPU utilization in DCGM metrics. However, although the pod runs successfully, GPU utilization does not reach 100% in DCGM exporter/monitoring metrics.

MIG Configuration

mig-enabled: true
mig-devices:
  "4g.40gb": 1
  "2g.20gb": 1
  "1g.20gb": 1

Pod Manifest

apiVersion: v1
kind: Pod
metadata:
  name: gpu-stress-burn-single
  namespace: mlops-development
spec:
  restartPolicy: Never
  containers:
    - name: gpu
      image: iankoulski/gpuburn
      command: ["/app/gpu_burn"]
      args:
        - "-tc"        # Tensor Core enabled
        - "-d"         # Double Precision enabled
        - "14400"      # 4 hours (in seconds)
      resources:
        limits:
          nvidia.com/mig-4g.40gb: "1"
        requests:
          nvidia.com/mig-4g.40gb: "1"

Expected Behavior

  • While gpu-burn is running:
    • DCGM metrics should show ~100% GPU utilization for the allocated MIG instance

Actual Behavior

  • Pod starts and gpu_burn runs successfully
  • However:
    • GPU utilization in DCGM metrics appears low
    • It never reaches ~100%

Questions / Suspicions

  1. Does DCGM exporter report utilization differently for MIG devices?
  2. Are DCGM metrics calculated at physical GPU level instead of per-MIG instance?
  3. Is a multi-process workload or additional flags required?

Additional Context

  • GPU: NVIDIA A100

  • MIG: Enabled

  • Environment: Kubernetes with NVIDIA device plugin Image

  • Monitoring: DCGM Exporter

Screenshots

Image

dogukanpolatel avatar Jan 07 '26 07:01 dogukanpolatel

Hi, thanks for reporting this to us.

To understand why this metric does not approach 1.0 while gpu-burn is running, could you confirm whether nvidia-smi on the worker node (with MIG details, for example nvidia-smi -q -mig=<value>) or dcgmi show the same MIG instance as fully utilized during the test? If possible, please also share a short time window of raw DCGM‑Exporter metrics for that MIG instance (the DCGM_FI_PROF_GR_ENGINE_ACTIVE series you’re graphing) so we can compare what DCGM reports with what gpu-burn is doing.

If you would like to cross‑check with an NVIDIA‑provided workload, you could try the example code from this blog post and see whether the same per‑MIG profiling metric reaches higher values under that load: https://developer.nvidia.com/blog/monitoring-gpus-in-kubernetes-with-dcgm.

That information will help us narrow down whether this is an issue with DCGM/DCGM‑Exporter, with how the workload stresses the MIG slice, or with how the dashboard is visualizing the metric

mvalsecchi-nv avatar Jan 23 '26 09:01 mvalsecchi-nv

Hi again,

I have completed the requested tests and collected the outputs from both nvidia-smi and DCGM while running gpu-burn on an A100 MIG instance.

Environment

GPU: NVIDIA A100 80GB PCIe
Driver: 550.54.15
CUDA: 12.4
MIG profile: 4g.40gb

nvidia-smi Output:

Image

Captured on the worker node while gpu-burn was running:

Image

Image

Raw DCGM Metric:

Image

I can also provide the gpu-burn command, pod specification, and additional diagnostics if needed to help reproduce the test.

Please let me know if you need any further data or validation with another workload.

Thanks.

dogukanpolatel avatar Feb 11 '26 08:02 dogukanpolatel

DCGM Exporter is a right component to comment on this, Please create an issue with https://github.com/NVIDIA/dcgm-exporter repo.

myeolenv avatar Feb 26 '26 00:02 myeolenv

Closing this issue as it pertains to DCGM Exporter metrics behavior, not the GPU Operator itself. As suggested by @myeolenv, please file this issue at https://github.com/NVIDIA/dcgm-exporter for further assistance.

Thanks!

karthikvetrivel avatar Mar 04 '26 15:03 karthikvetrivel