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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux