lkml.org 
[lkml]   [2007]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] scheduler: improve SMP fairness in CFS
Chris Snook wrote:

> Concerns aside, I agree that fairness is important, and I'd really like
> to see a test case that demonstrates the problem.

One place that might be useful is the case of fairness between resource
groups, where the load balancer needs to consider each group separately.

Now it may be the case that trying to keep the load of each class within
X% of the other cpus is sufficient, but it's not trivial.

Consider the case where you have a resource group that is allocated 50%
of each cpu in a dual cpu system, and only have a single task in that
group. This means that in order to make use of the full group
allocation, that task needs to be load-balanced to the other cpu as soon
as it gets scheduled out. Most load-balancers can't handle that kind of
granularity, but I have guys in our engineering team that would really
like this level of performance.

We currently use CKRM on an SMP machine, but the only way we can get
away with it is because our main app is affined to one cpu and just
about everything else is affined to the other.

We have another SMP box that would benefit from group scheduling, but we
can't use it because the load balancer is not nearly good enough.

Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-24 21:51    [W:0.083 / U:0.460 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site