[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061022231623.70daba00.pj@sgi.com>
Date: Sun, 22 Oct 2006 23:16:23 -0700
From: Paul Jackson <pj@....com>
To: Nick Piggin <nickpiggin@...oo.com.au>
Cc: suresh.b.siddha@...el.com, mbligh@...gle.com, akpm@...l.org,
menage@...gle.com, Simon.Derr@...l.net,
linux-kernel@...r.kernel.org, dino@...ibm.com,
rohitseth@...gle.com, holt@....com, dipankar@...ibm.com,
clameter@....com
Subject: Re: [RFC] cpuset: remove sched domain hooks from cpusets
Nick wrote:
> It is somewhat improved. The load balancing will now retry other CPUs,
> but this is pretty costly
Ah - ok. Sounds like a sticky problem.
I am beginning to appreciate Martin's preference for not using
cpus_allowed to pin tasks when load balancing is also needed.
For the big HPC apps that I worry about the most, with hundreds of
parallel, closely coupled threads, one per cpu, we pin all over the
place. But we make very little use of load balancing in that
situation, with one compute bound thread per cpu, humming along for
hours. The scheduler pretty quickly figures out that it has no
useful load balancing to do.
On the other hand, as someone already noted, one can't simulate pinning
to overlapping cpus_allowed masks using overlapping sched domains, as
tasks can just wander off onto someone elses cpu that way.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@....com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists