Feature request - Memory bandwidth monitor VM summary graph

vxspiritxv

New Member
May 18, 2025
3
0
1
I was just thinking about this and never thought to look into how much bandwidth my VMs use.
Seems the backend exists, works for me anyways (amd epyc).

mount -t resctrl resctrl /sys/fs/resctrl
mkdir /sys/fs/resctrl/mon_groups/mbw
#PID of a virtual machine
echo 3908 > /sys/fs/resctrl/mon_groups/mbw/tasks
#Total memory bandwidth (includes cache)
cat /sys/fs/resctrl/mon_groups/mbw/mon_data/mon_L3_00/mbm_total_bytes
#DRAM bandwidth
cat /sys/fs/resctrl/mon_groups/mbw/mon_data/mon_L3_00/mbm_local_bytes
 
Hi!

Thanks for the input!

mount -t resctrl resctrl /sys/fs/resctrl
Unfortunately, this fails on any device, which does not have the capabilities. We usually only put values in the time series, which are collectable by any system independent from the hardware configuration (e.g. generic task utilization, pressure), especially since these become API for any future Proxmox VE versions...
 
  • Like
Reactions: Johannes S