Menu

Your GPUs are idle 70% of the time: building a safe idle-GPU reaper from DCGM metrics
📰

Your GPUs are idle 70% of the time: building a safe idle-GPU reaper from DCGM metrics

DEV Community: kubernetes·Altostratus Amihai·4 days ago
#fJ7Y4Yqa
#devtokubernetes#devto#dev#idle#reaper
Long article (476 words) — no AI summary yet.
Reading 0:00
15s threshold

A single H100 is $25-40k to buy, or $2-4/hr to rent. Across the clusters I have instrumented, 60-70% of allocated GPU-hours are idle: jobs that finished but kept their allocation, notebooks left open over the weekend, inference deployments sized for a peak that happened once.

The fix is not another dashboard. Dashboards show you the waste; they don't remove it. The fix is a reaper.

Step 1: measure what "idle" actually means

dcgm-exporter gives you per-GPU utilization ( DCGM_FI_DEV_GPU_UTIL ) and memory usage. The naive query, utilization < 5%, is wrong on its own: it catches pods mid-data-load, inference servers between requests, and anything with bursty compute. Idle has to be a sustained condition:

GPU utilization under ~5% for a sustained window (hours, not minutes), and

framebuffer usage low or flat (a loaded model is not idle even at 0% util), and

the allocation still held by a pod.

Prometheus can express all three.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.