-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPU monitoring (INTEL) #994
Comments
As shared in #993, this and this were the starting points of my research
The intel-gpu-tools library is usually used through a command line tool called The command line tool could be used by spawning a subprocess and parsing its text output from within python. Alternatively, the necessary parts of intel-gpu-tools API could be accessed in python through But the API is complex to consume. Here is how Even with the simpler command line tool text parsing option, it will take some research to understand the relationship between the stats that are reported and the stats that Glances needs. See this StackOverflow answer to see what I mean. Hopefully there is a simpler option that I don't yet know of! |
Is there still any interest in this, or willingness to accept a (rough) PR? I am new to the |
Just checking in to see if there was progress here? |
Intel GPU top on my laptop.
then:
Result: and ===
A Glances subprocess could be used to run this command line. PRO: the output is easy to parse (but we had to compute the global %, is it render/xxx/busy or rc6/value ? more info here https://stackoverflow.com/questions/28876242/interpretation-of-intel-gpu-top-output/38087477#38087477) |
We'll go ahead and extend the gpu plugin similar to the docker -> containers?
Does making it a executable that runs with root perms work fine? |
@RazCrimson just open a "meta" issue for #2409 |
NVtop support the following GPUs: Note: Intel introduced the fdinfo interface in kernel 5.19 (browse kernel source). Hence, you will need a kernel with a version greater or equal to 5.19 to see the processes using Intel GPUs. Intel is working on exposing more hardware information through an HWMON interface. The patches are still a work in progress: see patch series. The fdinfo interface does not expose the memory allocated by the process. The field in the process list is therefore empty. |
Any updates? |
@tomerh2001 Unfortunately and for the moment GPU stats for my laptop where Glances is developed are not available. See following screenshot of the NVTop software: My Linux kernel is: Linux nicolargo-xps15 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux |
Description
As implemented in the issue #170 for the NVidia GPUs, the goal is to enhance the GPU plugin for Intel GPUs.
First of all, we have to find a Python Lib to grab stats, then change the current plugin to be able to monitor Intel GPU.
The text was updated successfully, but these errors were encountered: