[PATCH RFC 4/5] drm/amdgpu: Add accounting of command submission via DRM cgroup
eric at anholt.net
Fri Nov 23 17:36:28 UTC 2018
Christian König <ckoenig.leichtzumerken at gmail.com> writes:
> Am 20.11.18 um 21:57 schrieb Eric Anholt:
>> Kenny Ho <Kenny.Ho at amd.com> writes:
>>> Account for the number of command submitted to amdgpu by type on a per
>>> cgroup basis, for the purpose of profiling/monitoring applications.
>> For profiling other drivers, I've used perf tracepoints, which let you
>> get useful timelines of multiple events in the driver. Have you made
>> use of this stat for productive profiling?
> Yes, but this is not related to profiling at all.
> What we want to do is to limit the resource usage of processes.
That sounds great, and something I'd be interested in for vc4. However,
as far as I saw explained here, this patch doesn't let you limit
resource usage of a process and is only useful for
"profiling/monitoring" so I'm wondering how it is useful for that
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 832 bytes
Desc: not available
More information about the amd-gfx