[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061018235746.95343e77.pj@sgi.com>
Date: Wed, 18 Oct 2006 23:57:46 -0700
From: Paul Jackson <pj@....com>
To: Nick Piggin <nickpiggin@...oo.com.au>
Cc: holt@....com, suresh.b.siddha@...el.com, dino@...ibm.com,
menage@...gle.com, Simon.Derr@...l.net,
linux-kernel@...r.kernel.org, mbligh@...gle.com,
rohitseth@...gle.com, dipankar@...ibm.com
Subject: Re: exclusive cpusets broken with cpu hotplug
Nick wrote:
> I don't understand why you think the "implicit" (as in, not directly user
> controlled?) linkage is wrong.
Twice now I've given the following specific example. I am not yet
confident that I have it right, and welcome feedback.
However, Suresh has apparently agreed with my conclusion that one
can use the current linkage between cpu_exclusive cpusets and sched
domains to get unexpected and perhaps undesirable sched domain setups.
What's your take on this example:
> Example:
>
> As best as I can tell (which is not very far ;), if some hapless
> user does the following:
>
> /dev/cpuset cpu_exclusive == 1; cpus == 0-7
> /dev/cpuset/a cpu_exclusive == 1; cpus == 0-3
> /dev/cpsuet/b cpu_exclusive == 1; cpus == 4-7
>
> and then runs a big job in the top cpuset (/dev/cpuset), then that
> big job will not load balance correctly, with whatever threads
> in the big job that got stuck on cpus 0-3 isolated from whatever
> threads got stuck on cpus 4-7.
>
> Is this correct?
If I have concluded incorrectly what happens in the above example
(good chance) then please educate me on how this stuff works.
I should warn you that I have demonstrated a remarkable resistance
to being educatible on this subject ;).
If this interface has no material affect on users programs, then
implicit may well be ok. But if it has material affect on the
behaviour, such as CPU placement or scope of load balancing, of user
programs, then I am strongly in favor of making that affect explicit,
understandable, and visible at runtime, on production systems.
That, or getting rid of the affect, and replacing it with something
that is simple, understandable, explicit and visible ... my current
plan.
--
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