[Bug 106136] per-process/context memory usage accounting for i915
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 7 09:15:29 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106136
--- Comment #6 from Abdiel Janulgue <abdiel.janulgue at linux.intel.com> ---
(In reply to Eero Tamminen from comment #5)
> What of this do you think could be implemented on user-space???
>
Parsing these sysfs files (which contain gem object allocation and free space
in the gtt):
/sys/kernel/debug/dri/0/i915_gem_gtt
/sys/kernel/debug/dri/0/i915_gem_objects
Could be enough for a userspace client to basically "guesstimate" and manage
how much GPU memory it requests for itself?
Note that from a GPU context POV, it is allowed access to entire 2 tebibytes of
virtual address space. I guess by design kernel won't get in the way and give
it as much as it wants until physical backing pages are no more.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180507/aab57a70/attachment.html>
More information about the intel-gfx-bugs
mailing list