LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: Sunil Naidu <akula2.shark@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Choosing a HyperThreading/SMP/MultiCore kernel ?
Date: Fri, 12 Jan 2007 10:03:49 -0500	[thread overview]
Message-ID: <20070112150349.GI17269@csclub.uwaterloo.ca> (raw)
In-Reply-To: <8355959a0701120525m5d1a7904i56b8a8f7316883d6@mail.gmail.com>

On Fri, Jan 12, 2007 at 06:55:32PM +0530, Sunil Naidu wrote:
> There are 2 cases:-
> 
> #1 Intel Pentium 4 Workstation with HyperThreading
> 
> Since kernel takes HT as 2 processors, I did say in KConfig as:
> 
> CONFIG_SMP= y
> CONFIG_NR_CPUS=2
> CONFIG_SCHED_MC=not set
> CONFIG_MPENTIUM4=y (Or should I say CONFIG_X86_PC=y)
> CONFIG_SCHED_SMT=y
> CONFIG_SCHED_MC=not set
> RESOURCES_64BIT=not set
> HOTPLUG_CPU=not set
> 
> 
> Pl correct me if am wrong.
> 
> 
> #2 Intel Core2Duo Processor - Laptop
> 
> CONFIG_SMP= y
> CONFIG_NR_CPUS=4 ??
> CONFIG_SCHED_MC=y
> CONFIG_X86_PC=y ?  (if wrong, what should I set for Xeon QuadCore)
> CONFIG_SCHED_SMT=not set
> CONFIG_SCHED_MC=y
> RESOURCES_64BIT=not set
> HOTPLUG_CPU=not set
> 
> I didn't start this yet (still with Mac, will install in weekend), is
> this correct one?
> 
> [OT] I don't know if I can ask about a suggested distro here or not?
> Anyway, me read that Fedore & Yellow Dog suits well for this?

I would expect any distribution should work on these (as long as the
kernel they use isn't too old.).  Of course if it is a Mac, you need a
distribution that supports their firmware (which is of course not a PC
bios).  As long as you can boot it, any i386 or amd64 kernel with smp
enabled should use all the processors present (well amd64 on the
core2duo and on the p4 if it is em64t enabled).

I believe the closest optimization for a Core2 is probably the Pentium M
(certainly not the P4/netburst).  Not entirely sure though.

--
Len Sorensen

  reply	other threads:[~2007-01-12 15:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 13:25 Sunil Naidu
2007-01-12 15:03 ` Lennart Sorensen [this message]
2007-01-12 23:21   ` Sunil Naidu
2007-01-12 23:29     ` Paul Jackson
2007-01-13  3:38   ` Valdis.Kletnieks
2007-01-13 12:07     ` Stefan Richter
2007-01-13 17:54     ` Lennart Sorensen
2007-01-14  2:21       ` Valdis.Kletnieks
2007-01-20  3:45       ` Sunil Naidu
2007-01-13 20:18     ` Bill Davidsen
2007-01-14  1:55       ` Valdis.Kletnieks
2007-01-14 15:52         ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070112150349.GI17269@csclub.uwaterloo.ca \
    --to=lsorense@csclub.uwaterloo.ca \
    --cc=akula2.shark@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Choosing a HyperThreading/SMP/MultiCore kernel ?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).