Understand nv-monitor resource impact and performance
mainnv-monitor is designed for minimal resource impact, making it suitable for edge devices. It provides GPU monitoring, Prometheus export, CSV logging, and RDMA monitoring with significantly lower CPU overhead than standard tools like top or htop.
Key performance characteristics:
- Low CPU Usage: Uses significantly less CPU than
top(e.g., ~7x to 10x less depending on the hardware) while providing more features. - Stable Memory Footprint: Uses a dynamic memory allocation model where all necessary memory is allocated at startup. There are zero allocations during normal operation, preventing memory growth, fragmentation, or
malloc/freechurn. - Shared Library Efficiency: The NVML shared library code is mapped once in physical RAM and shared across all GPU processes (like
nvidia-smior VLLM), minimizing the unique memory cost.