lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2008-01-28 13:31    [W:2.392 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site