Re: [PATCH] cpuidle: menu: use nr_running instead of cpuload forcalculating perf mult

From: Peter Zijlstra
Date: Mon Jun 04 2012 - 11:08:39 EST


On Mon, 2012-06-04 at 06:48 -0700, Arjan van de Ven wrote:
> it's not about busy, it's about performance sensitive.
> it's not a super nice proxy, no argument, but it's one of the few long
> term ones we have.
>
I'm still not seeing how it makes any sense at all. Is there an actual
workload here this matters?

It seems to me your own history of idle guestimation is the best measure
there is for this. If you're shown to be too agressive, grow the window,
otherwise shrink it.

You can make that adjustment as slow as you like to include as much
history as you think you need.


--
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/