Re: [PATCH 0/2 v4] sched: Rewrite per entity runnable load average tracking

From: Morten Rasmussen
Date: Wed Jul 30 2014 - 06:57:17 EST


On Wed, Jul 30, 2014 at 11:21:28AM +0100, Peter Zijlstra wrote:
> On Wed, Jul 30, 2014 at 11:13:31AM +0100, Morten Rasmussen wrote:
> > It is a very real problem when user-space uses priorities extensively
> > like Android does. Tasks related to audio run at very high priorities
> > but only for a very short amount of time, but due the to priority
> > scaling their load ends up being several times higher than tasks running
> > all the time at normal priority. Hence task load is a very poor
> > indicator of utilization.
>
> FWIW Android (which I think does this through binder) is utterly insane
> in this regard. But yes, we have to live with it.

I agree that its use of priorities seems a bit extreme. I'm not trying
to defend it in any way :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/