Re: [PATCH v1] sched: steer waking task to empty cfs_rq for betterlatencies

From: Peter Zijlstra
Date: Tue Apr 24 2012 - 13:12:36 EST


On Tue, 2012-04-24 at 22:37 +0530, Srivatsa Vaddagiri wrote:
> * Peter Zijlstra <peterz@xxxxxxxxxxxxx> [2012-04-24 18:58:16]:
>
> > On Tue, 2012-04-24 at 22:26 +0530, Srivatsa Vaddagiri wrote:
> > > Steer a waking task towards a cpu where its cgroup has zero tasks (in
> > > order to provide it better sleeper credits and hence reduce its wakeup
> > > latency).
> >
> > That's just vile.. pjt could you post your global vruntime stuff so
> > vatsa can have a go at that?
>
> The workload I am up against does experience tons of wakeup (after very short
> (microsecond range) bursts of sleeps) and so am skeptical how the global
> vruntime would keep up with this kind of workload. I'd be happy to test patches
> and give feedback!

Thing is, global vruntime might fix that flaw/property you're exploiting
to get that preemption.


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