Re: [RFC v2 4/7] change kernel accounting to include steal time

Peter Zijlstra
2010-08-30T19:14:45Z

On Mon, 2010-08-30 at 12:07 -0700, Jeremy Fitzhardinge wrote:
> My comments were mostly because I though that this patch was going to
> actually make the scheduler change behaviour to take stolen time into
> account in scheduling decisions - and those decisions would be equally
> meaningful if the slowdown was from HT, PM or stolen time. But AFAICT
> this patch does nothing to that end.

If you want to influence the load-balancer (the only thing that really
cares about HT) the best would probably be to add a term to
kernel/sched_fair.c:update_cpu_power().

Decrease the power relative to the amount of steal-time, just like freq
and time spend on RT tasks.