⚙️
Domain 3 · AI Operations · 22% of the exam

DCGM and monitoring GPUs

NVIDIA’s Data Center GPU Manager, the GPU metrics that matter, and how to tell a busy GPU from a healthy, productive one.

Lesson 23 of 29~15 min read5 quiz questions6 key terms
Exam objectives this lesson covers
  • Articulate the key measures and criteria related to monitoring GPUs.
  • Describe AI data center management and monitoring essentials.

DCGM (Data Center GPU Manager) is NVIDIA’s suite for managing and monitoring GPUs across a cluster. It does active health monitoring, diagnostics, alerts and governance policies such as power and clock settings, with low enough overhead to run while jobs are active.

GPU node 1DCGM host engineGPU node 2DCGM host engineGPU node 3DCGM host engineGPU node 4DCGM host engineDCGM Exportermetrics over HTTPPrometheusstores time seriesGrafana · alerts
Fig 1. A common monitoring pipeline. DCGM collects GPU telemetry on every node, DCGM Exporter publishes it, Prometheus stores it, and Grafana shows dashboards and alerts.

01How DCGM is built

dcgmi discovery -l          # list GPUs DCGM can see
dcgmi group -l              # list GPU groups
dcgmi health -s a           # enable all health watches
dcgmi health -c             # check health
dcgmi diag -r 1             # quick diagnostic; higher levels (2-4) run longer, deeper tests
dcgmi dmon -e 203,252,155   # stream utilisation, memory used, power

02The GPU metrics that matter

MetricWhat it tells youWatch for
GPU utilisationShare of time at least one kernel was runningMisleading on its own: 100% can still mean most SMs idle
SM activity / occupancyHow much of the GPU’s compute units are actually busyThe better measure of real work
Tensor Core activityUse of the matrix unitsLow values on AI jobs suggest wrong precision or a bottleneck elsewhere
Memory used and memory bandwidthHBM capacity in use and how hard it is being read/writtenOut-of-memory risk; memory-bound jobs
Power draw and power limitWatts used versus the capPower capping can throttle performance
TemperatureGPU and memory temperatureThermal throttling; cooling problems
Clocks and throttle reasonsWhether the GPU slowed down, and why (power, thermal)Unexpected slowdowns
PCIe / NVLink throughputData moving in and out of the GPUInterconnect bottlenecks
ECC errorsMemory errors corrected (single-bit) or uncorrectable (double-bit)Rising counts signal failing hardware
XID errorsDriver-reported GPU error events with numeric codesCrashes, hangs, hardware faults
Retired pages / row remappingMemory areas taken out of serviceGPU nearing replacement

03Health checks and diagnostics

DCGM watches health continuously (power, thermal, memory, PCIe, NVLink subsystems) and can run active diagnostics: short checks before a job, deeper stress tests during maintenance or after a hardware swap. Schedulers can call DCGM to keep unhealthy GPUs out of the queue, which saves long training jobs from crashing hours in.

04Monitoring essentials for an AI data center

  1. Collect GPU metrics with DCGM on every node; node, network and storage metrics alongside.
  2. Store as time series (Prometheus) so you can see trends, not just a snapshot.
  3. Visualise per job, per user and per node (Grafana, BaseView).
  4. Alert on errors (XID, ECC), thermal and power events, and idle GPUs.
  5. Act: drain unhealthy nodes, rerun diagnostics, open hardware tickets.
A car dashboard. nvidia-smi is glancing at one car’s dials. DCGM is the fleet telematics system recording every car’s engine, temperature and fault codes over time, and warning you before one breaks down on the motorway.

✦Key terms: flip the cards

What the exam looks for
  • Name key GPU metrics: utilisation, SM activity, memory, power, temperature, clocks/throttling, ECC, XID, interconnect throughput.
  • DCGM = cluster GPU monitoring + diagnostics + policies; exporter feeds Prometheus/Grafana.
  • DCGM monitors; it does not schedule jobs.
Common traps
  • High "GPU utilisation" does not prove the GPU is doing efficient work.
  • nvidia-smi is a point-in-time single-node view; DCGM gives fleet history with an exporter.

?Quick quiz

1. Which metric best reveals failing GPU memory?

Why: ECC errors and retired pages indicate memory problems.

2. How do GPU metrics typically reach Grafana on Kubernetes?

Why: The exporter publishes metrics that Prometheus scrapes.

3. A GPU shows 100% utilisation but low SM activity. What does it suggest?

Why: Utilisation only measures time a kernel was active.

4. Which command runs a quick DCGM diagnostic?

Why: dcgmi diag with level 1 is the quick test.

5. Which tool would you use for GPU fleet health with history and alerting?

Why: DCGM is built for cluster-wide monitoring.

Score: 0 / 5

Original readingNVIDIA DCGM, NVIDIA Developer ↗

This lesson explains the reading in plain language and adds the exam context around it. Read the original too: it is short, and seeing the vendor wording helps on exam day.

All lessons →
↑