Re: [PATCH] cpuset and sched domains: sched_load_balance flag

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <nickpiggin@...>
Cc: <akpm@...>, <menage@...>, <linux-kernel@...>, <dino@...>, <cpw@...>, <mingo@...>
Date: Wednesday, October 3, 2007 - 1:44 pm

Nick wrote:

Consider the case when there are two, smaller, non-overlapping cpusets
with active jobs, and one larger cpuset, covering both those smaller
ones, with only paused tasks.

If we realize we don't need to balance the larger cpuset, then we can
have two smaller sched domains rather than one larger one.

Since the CPU cycle cost of load balancing increases more than linearly
with the size of the sched domain, therefore it will save CPU cycles to
have the two smaller ones, rather than the one larger one.

If user space can just tell us that the larger cpuset doesn't need
balancing, then the kernel has enough information to perform this
optimization.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] cpuset and sched domains: sched_load_balance flag, Paul Jackson, (Wed Oct 3, 1:44 pm)
[PATCH] cpuset decrustify update and validate masks, Paul Jackson, (Sun Sep 30, 6:44 am)