Re: Are we properly prepared to handle 3 Socket setups?

From: Paul Mundt
Date: Sun Aug 12 2007 - 03:26:26 EST


On Sun, Aug 12, 2007 at 03:52:48AM +0200, Jesper Juhl wrote:
> On 12/08/07, Rene Herman <rene.herman@xxxxxxxxx> wrote:
> > On 08/12/2007 03:08 AM, Jesper Juhl wrote:
> >
> > > This may be a little off topic, but I think it's interresting enough
> > > to warrent a single mail.
> > >
> > > I just saw a news article (http://www.theinquirer.net/?article=41610)
> > > about a 3 Socket Opteron motherboard and couldn't help but wonder if
> > > we are prepared to deal with such a beast, so I thought I'd inform
> > > everyone :-)
> > >
> > > I'm guessing equipping such a board with 3 single core CPU's could
> > > show up some interresting corner cases in schedular code and
> > > elsewhere, I'll bet we have some assumptions somewhere about
> > > nr_of_cpus being an even number...
> >
> > I would hope the N=1 case will have flushed out enough of those... :-|
> >
> Hehe, true, but I was thinking more of nr_of_cpus is an odd number > 1. :-)
> Just thinking of having to divide things by 3 makes me worry ;-) ...
>
These sorts of cases happen frequently enough today as it is in an
operational capacity, CPU hotplug will have the sytem in such states
already on systems with an even number. This is generally why things like
the online map and corresponding cpumasks are what counts, while the
total number of possible CPUs can be a drastically different number.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/