Messages in this thread | | | Date | Mon, 28 Jan 2008 13:27:52 +0100 | From | Ingo Molnar <> | Subject | Re: High wake up latencies with FAIR_USER_SCHED |
| |
* Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> 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
| |