performancecopilot / pcp

Performance Co-Pilot
https://pcp.io
Other
970 stars 236 forks source link

[RFE] add GPU support to dstat #2095

Open natoscott opened 2 days ago

natoscott commented 2 days ago

Starting to get requests for this, not too surprisingly. :)

It would be great to make GPUs a first class entity in dstat, just like CPUs, disks, network interfaces and so on, i.e. such that values for each individual card can be reported on, filtered, etc.

Here's an example simple plugin that was not merged in the old dstat that could help as a starting point for NVidia GPUs: https://blog.datumbox.com/getting-the-gpu-usage-of-nvidia-cards-with-the-linux-dstat-tool/

We also need to support the AMD GPU metrics in PCP already, and ease the way for other GPU vendors too.

christianhorn commented 2 days ago

Would also be cool to have these stats not only on GPU clocking or business, but consumption.. unfortunately, even if GPUs offer the metrics, it seems not nicely standardized so far, i.e. via standardized sysfs points.