dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Accelerator/GPU top
@ 2026-02-05 18:58 Alex Deucher
  2026-02-05 19:16 ` Gregory Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Alex Deucher @ 2026-02-05 18:58 UTC (permalink / raw)
  To: Maling list - DRI developers, Dave Airlie, Simona Vetter
  Cc: amd-gfx list, David Francis, Christian Koenig

Has anyone given any thought on how to support something like top for
accelerators or GPUs?  We have fdinfo, but using fdinfo requires extra
privileges (CAP_SYS_PTRACE) and there is not a particularly efficient
way to even discover what processes are using the GPU.  There is the
clients list in debugfs, but that is also admin only.  Tools like ps
and top use /proc/<pid>/stat and statm.  Do you think there would be
an appetite for something like /proc/<pid>/drm/stat, statm, etc.?
This would duplicate much of what is in fdinfo, but would be available
to regular users.

Thanks,

Alex

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-02-09  6:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-05 18:58 Accelerator/GPU top Alex Deucher
2026-02-05 19:16 ` Gregory Carter
2026-02-05 19:25 ` Natalie Vock
2026-02-05 20:35   ` Alex Deucher
2026-02-06 13:38   ` Christian König
2026-02-06 18:54     ` Maxime Schmitt
2026-02-08 16:12     ` Umio-Yasuno - coelacanth_dream
2026-02-06  9:58 ` Tvrtko Ursulin
2026-02-06 13:29   ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox