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.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com