テクニカルガイド

GPU Utilization Monitoring with nvidia-smi and DCGM

nvidia-smi and NVIDIA DCGM expose GPU activity, memory, power, temperature, clock, and health information for diagnosing a running workload.

  • 3 分で読めます
  • 最終更新日
このページでは3 分で読めます
  1. 概要
  2. ディープダイブ
  3. 戦略的影響
  4. The Future of GPU Utilization Monitoring with nvidia-smi and DCGM
  5. 現実世界の実装
  6. リスクとガードレール
  7. 実装ロードマップ
  8. 探検を続けましょう
  9. よくある質問

概要

A single utilization percentage does not explain performance: compare multiple metrics with request or training throughput and profile the actual bottleneck.

ディープダイブ

NVIDIA's nvidia-smi reports device status and utilization summaries, while DCGM provides monitoring, health, and profiling functions suited to managed systems and clusters. The GPU utilization percentage in nvidia-smi is the share of the recent sample period during which one or more kernels were executing. It is not the percentage of theoretical FLOPs achieved. Memory utilization is a separate activity measure and is not the same as the amount of VRAM allocated. A device can be active nearly all the time yet fail to deliver expected throughput. Kernels may be memory-bound, use few compute units, wait on dependencies, or perform operations that do not use specialized tensor hardware. Conversely, low utilization between steps can point to slow input decoding, small batches, CPU preprocessing, synchronization, or an undersized workload. Compare GPU metrics with tokens or samples per second, step time, latency, and host CPU activity. Memory capacity and memory traffic also answer different questions. nvidia-smi reports used memory in units such as MiB; DCGM profiling can report whether device-memory traffic is active. A high memory-activity ratio can signal bandwidth pressure, while high allocated capacity may simply reflect caching. Watch memory growth over time for leaks and include reserved memory from the framework. Power, clock frequency, and temperature help explain throttling or power limits. ECC and health diagnostics can reveal hardware or communication issues. DCGM's profiling metrics are interval averages; they do not identify an individual slow kernel or source line. Use a profiler when aggregate telemetry suggests a bottleneck but cannot locate it. Sample cadence matters. A short burst can disappear in a long reporting interval, and container or virtualization boundaries may affect which processes are visible. Monitor representative steady-state and burst workloads, and correlate metrics with logs and job phases. Use the tools to form a hypothesis, then verify it with performance profiling.

戦略的影響

費用と予算

アーキテクチャの決定により、パフォーマンスと運用コストが何年にもわたって推進されます。

より明確な判決

技術教育は、チームが最新のスタックだけでなく、適切なスタックを選択するのに役立ちます。

品質管理

より良いエンジニアリングの選択により、本番環境での信頼性に関するインシデントが減少します。

The Future of GPU Utilization Monitoring with nvidia-smi and DCGM

GPU monitoring tools will continue adding hardware counters and fleet-level health signals. Better dashboards may connect telemetry with workloads, model stages, and power use. Aggregate utilization will still need interpretation because kernels, memory traffic, and communication create different bottlenecks. Teams should combine DCGM or nvidia-smi snapshots with framework profilers and application throughput for actionable diagnosis. Correlate sampled signals with application traces and job phases. Recheck metric definitions when tools, drivers, or device generations change. Keep sampling windows documented per device.

現実世界の実装

An operator checks GPU process memory, temperature, clocks, power, and utilization during a long training run.

A cluster dashboard samples DCGM metrics to compare SM activity, tensor-pipe activity, DRAM traffic, and interconnect use across nodes.

A data scientist sees low GPU activity between batches and profiles data loading before increasing model compute.

An engineer separates memory allocated in MiB from memory-activity percentage when assessing GPU capacity and bandwidth.

リスクとガードレール

  • 1 つのベンチマークを最適化すると、より広範なシステムの弱点が隠れる可能性があります。

  • インフラストラクチャとメンテナンスのコストは過小評価されがちです。

  • システムが複雑になるにつれて、セキュリティと可観測性のギャップが拡大する可能性があります。

実装ロードマップ

  1. 実装前にレイテンシ、品質、コストの目標を定義します。

  2. 現実的な負荷とデータ条件でのベンチマーク。

  3. エラー、ドリフト、ユーザーへの影響を計測器で監視します。

  4. スケーリングの前に、ロールバックとインシデント対応のパスを準備します。

探検を続けましょう

Free newsletter

Get the daily AI briefing

Three verified AI stories every weekday morning, written in plain English. Free forever, no ads.

One email each weekday. Unsubscribe in one click. We never sell or share your address.

Test yourself

Take the GPU Utilization Monitoring with nvidia-smi and DCGM quiz

Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.

クイズを開始する

Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation

よくある質問

What is GPU Utilization Monitoring with nvidia-smi and DCGM?

nvidia-smi and NVIDIA DCGM expose GPU activity, memory, power, temperature, clock, and health information for diagnosing a running workload. A single utilization percentage does not explain performance: compare multiple metrics with request or training throughput and profile the actual bottleneck.

What does nvidia-smi GPU utilization approximately report?

The reported utilization is a time-based activity measure, not achieved compute efficiency.

How does memory utilization differ from memory usage?

Memory activity and allocated capacity measure different behavior.

A GPU reports high utilization but low throughput. What is a plausible explanation?

Continuous kernel activity does not guarantee high arithmetic efficiency.

What might low GPU activity between training steps indicate?

The GPU may be waiting for CPU preprocessing, data transfer, or synchronization.

Which DCGM metric can help assess memory-traffic activity?

DCGM profiling includes a measure of device memory traffic activity.