Intel Linux Driver Patches Revived For Useful Per-Process Load Statistics
Just over one year ago were proposed changes to improve the insight into per-client load activity for Intel graphics under Linux. The changes would indicate how busy each Intel graphics engine (render, blitter, video, etc) was on a per-client basis and other metrics similar to what users have to look at when it comes to analyzing CPU activity. Those patches were never followed up on or merged but have been revived this past week.
As a result of some Intel Linux customers, those patches for being able to report the per-client engine state have now been revived. The patches have been re-based to the state of the current Intel i915 DRM kernel driver and expose the per-client per-engine state via sysfs.
From the sysfs interface, the intel_gpu_top utility or other user-space utilities can then read just how busy each individual graphics/display engine is being kept by any/each client on the system. here was the textual mock-up last year:
The 2019 revised patches for now can be found on the intel-gfx mailing list. Let's hope this go-around the patches will be merged for benefiting Intel-GPU-Top and any other interested user-space software wanting to read into per-client GPU statistics and hope other DRM drivers will support a similar interface.
As a result of some Intel Linux customers, those patches for being able to report the per-client engine state have now been revived. The patches have been re-based to the state of the current Intel i915 DRM kernel driver and expose the per-client per-engine state via sysfs.
From the sysfs interface, the intel_gpu_top utility or other user-space utilities can then read just how busy each individual graphics/display engine is being kept by any/each client on the system. here was the textual mock-up last year:
The 2019 revised patches for now can be found on the intel-gfx mailing list. Let's hope this go-around the patches will be merged for benefiting Intel-GPU-Top and any other interested user-space software wanting to read into per-client GPU statistics and hope other DRM drivers will support a similar interface.
4 Comments