On Mon, Apr 16, 2007 at 04:10:59PM -0700, Michael K. Edwards wrote:On 4/16/07, Peter Williams <pwil3058@xxxxxxxxxxxxxx> wrote:Note that I talk of run queuesThis observation of Peter's is the best thing to come out of this
not CPUs as I think a shift to multiple CPUs per run queue may be a good
idea.
whole foofaraw. Looking at what's happening in CPU-land, I think it's
going to be necessary, within a couple of years, to replace the whole
idea of "CPU scheduling" with "run queue scheduling" across a complex,
possibly dynamic mix of CPU-ish resources. Ergo, there's not much
point in churning the mainline scheduler through a design that isn't
significantly more flexible than any of those now under discussion.
Why? If you do that, then your load balancer just becomes less flexible
because it is harder to have tasks run on one or the other.
You can have single-runqueue-per-domain behaviour (or close to) just by
relaxing all restrictions on idle load balancing within that domain. It
is harder to go the other way and place any per-cpu affinity or
restirctions with multiple cpus on a single runqueue.