Re: High wake up latencies with FAIR_USER_SCHED
From: Ingo Molnar
Date: Mon Jan 28 2008 - 07:28:20 EST
* Srivatsa Vaddagiri <vatsa@xxxxxxxxxxxxxxxxxx> wrote:
> NEW_FAIR_SLEEPERS feature gives credit for sleeping only to tasks and
> not group-level entities. With the patch attached, I could see that
> wakeup latencies with FAIR_USER_SCHED are restored to the same level
> as !FAIR_USER_SCHED.
>
> However I am not sure whether that is the way to go. We want to let
> one group of tasks running as much as possible until the
> fairness/wakeup-latency threshold is exceeded. If someone does want
> better wakeup latencies between groups too, they can always tune
> sysctl_sched_wakeup_granularity.
the patch does look like the right thing to do. There's nothing special
about 'groups' versus 'tasks' in terms of scheduling. And most
importantly, this solves the behavioral assymetry observed by Guillaume
as well - which makes it an obvious-to-add regression fix. I've added
your patch to the scheduler queue.
Ingo
--
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/