#2443·beszel

Feature request: GPU clocks, fan speed and memory utilization

Author: Ozares-TRUSTCreated Sep 27, 2026Updated Sep 27, 2026

Feature request: GPU clocks, fan speed and memory utilization

What

Beszel currently collects only a subset of the GPU data that is readily available via both nvidia-smi and NVML:

index, name, temperature.gpu, memory.used, memory.total, utilization.gpu, power.draw

This is what agent/gpu.go queries today. I'd like to request additional metrics that are available from the same sources without any extra tooling:

Metric NVML call nvidia-smi equivalent nvtop JSON field
Memory clock nvmlDeviceGetClockInfo(dev, NVML_CLOCK_MEM) clocks.memory mem_clock
Graphics clock nvmlDeviceGetClockInfo(dev, NVML_CLOCK_GRAPHICS) clocks.gr gpu_clock
Fan speed nvmlDeviceGetFanSpeed(dev) fan.speed fan_speed
Memory utilization nvmlDeviceGetUtilizationRates (.Memory) utilization.memory mem_util

All four are already returned by nvtop -lP (3.x JSON output) and by the NVML collector that is already in use.

Why

  • Clocks: dropping core/memory clocks is the main signal of thermal or power throttling. Temperature alone doesn't tell you the card is being slowed down.
  • Fan speed: lets you see whether cooling is responding under load, and spot a failing fan before it becomes a thermal problem.
  • Memory utilization: distinguishes "VRAM almost full" (a capacity risk) from "memory bus saturated" (a bandwidth bottleneck) — currently only capacity is shown.

For workstation/inference use this combination is the practical substitute for hotspot temperature, which consumer NVIDIA cards do not expose on Linux.

Where

  • agent/gpu.go — parseNvidiaData / the nvidia-smi query string
  • agent/gpu_nvml.go — the NVML path (nvmlDeviceGetTemperature is already called; clocks and fan speed are the same kind of call)
  • agent/gpu_nvtop.go — nvtopSnapshot struct already decodes nvtop JSON, just needs the extra fields
  • internal/entities/system — GPUData struct and the hub-side rendering

Notes

I verified the data is available on our hardware before writing this:

$ nvidia-smi --query-gpu=clocks.memory,clocks.gr --format=csv
clocks.memory [MHz], clocks.current.graphics [MHz]
9501 MHz, 1785 MHz

$ nvtop -lP -d 1
{
  "device_name": "NVIDIA GeForce RTX 3090",
  "gpu_clock": "1890MHz",
  "mem_clock": "9501MHz",
  "fan_speed": "59%",
  "mem_util": "98%",
  ...
}

NVML path, same result:

nvmlDeviceGetClockInfo(dev, 2) -> 9501 MHz
nvmlDeviceGetClockInfo(dev, 0) -> 1785 MHz
nvmlDeviceGetFanSpeed(dev)     -> 62 %

Happy to test a patch if that helps — we run 10 systems with this agent (mixed Linux and Windows).