Mark M. Hoffman on 20 Oct 2006 12:46:34 -0000


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

Re: [PLUG] Linux on Dual Core


Hi Stephen:

* Stephen Gran <steve@lobefin.net> [2006-10-20 11:16:15 +0100]:
> On Thu, Oct 19, 2006 at 07:45:22PM -0400, Mark M. Hoffman said:
> > Hello:
> > 
> > * Stephen Gran <steve@lobefin.net> [2006-10-19 15:44:52 +0100]:
> > > On Thu, Oct 19, 2006 at 10:20:44AM -0400, Toby DiPasquale said:
> > > > On Thu, Oct 19, 2006 at 02:18:08PM +0000, Jabberwocky wrote:
> > > > > I'm about to purchase a new laptop, and I'm looking at the Intel Dual 
> > > > > Core processors.  Any gotchas with installing Linux on these chips?
> > > > 
> > > > Just one. If you want to use both CPUs, make sure you're using an
> > > > SMP-enabled kernel.
> > > 
> > > In >= 2.6.18, there is no longer a difference.  SMP is detected at boot
> > > time.
> > 
> > Oh yes there is still a difference.  Where did you read that?
> 
> You no longer need to build different kernels for SMP and non-SMP
> systems.  The kernel now detects if it is running on an SMP system or
> not.  Of course there are differences.

Well, I did a little more STFW after I replied and I found that it is possible
to configure a kernel that does this.  You need to enable CONFIG_HOTPLUG_CPU,
which is non-intuitive, and which still requires CONFIG_SMP to be enabled.

So... Toby's advice is still correct.

BTW: here is an article that describes how this works... interesting stuff.
http://lwn.net/Articles/164121/

Regards,

-- 
Mark M. Hoffman
mhoffman@lightlink.com

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug