[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SMP install (was Re: new debian-cd scripts)



-----BEGIN PGP SIGNED MESSAGE-----

> Well, the best solution IMHO is to automagically install a SMP kernel if
> SMP is availaible. I don't know enough about the install program to see if
> it's possible or not without too much rewrite. Maybe someone can enlighten me?

I'm think that if you have a uniprocessor kernel running, it's rather
difficult to tell whether the hardware supports SMP.  Now, it's possible
to make the default kernel an SMP kernel ... as far as I know, this is how
Linux compiles "out of the box" in 2.1.x.  If you don't go in and comment
out "SMP=1" in the Makefile, it builds SMP.  On uniprocessor machines it
doesn't do anything different than normal, it runs just the same.  But
when you put in on an SMP box, off it goes dual or quad proc.  If it's
possible to compile an SMP kernel and boot it with the kernel option to
tell it that there's only one CPU, that may be the best of both worlds.
It keeps the kernel from possibly being confused on SMP-capable boards
with only one processor installed, but I think ... heck, I dunno.  But I
would guess that then the multi-CPU info is at least available in /proc.
Generally, though -- if I'm not mistaken -- an SMP-capable kernel should
be able to autodetect how many CPUs there are and adjust accordingly.  So
making the default kernel an SMP-aware one probably isn't going to cause
problems, should you decide to do that.

Andy

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBNVtpjnT0BN7Y/oDVAQHpnwP+LZVVbFqtEO8IuYL2U2+GiW+VCz7IELKy
aOaqrZHd/SFEmzVkkJvK4ubBSB/boBxVmyoO4E4CtE+JDQip71Hx/2OI8NAti35Q
SwOfhTrQkLAbfHWPnV2ihX/nQfoSC9oMQRZHBkSCzG6v97tTtn2BH0kCOv84flvz
3Ovl2OP+PRM=
=HYy6
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: