[Intel-gfx] [PATCH] drm/i915: Compute a loadavg as the number of pending requests

Eugeni Dodonov eugeni at dodonov.net
Mon Jan 9 16:12:22 CET 2012


On Sun, Jan 8, 2012 at 16:17, Daniel Vetter <daniel at ffwll.ch> wrote:

> I think if this really should be merged upstream, it needs to be more
> optional (i.e. only fire it up if someone reads out the load_avg). People
> will complain if we wake up 60x per second on a mostly idle machine just
> for statistics ...
>

Or we could start the worker when someone 'echo 1 > load_avg'. When it is
not started, cat load_avg would say:
"load_avg counter is stopped, echo 1 to enable it"

for example.

-- 
Eugeni Dodonov
<http://eugeni.dodonov.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120109/15cb2a13/attachment.html>


More information about the Intel-gfx mailing list