mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gilad Ben-Yossef <gilad@benyossef.com>
To: Hugh Dickins <hugh@veritas.com>
Cc: James Bourne <jbourne@mtroyal.ab.ca>,
	"Reed, Timothy A" <timothy.a.reed@lmco.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Hyperthreading
Date: 23 Aug 2002 10:28:08 +0300	[thread overview]
Message-ID: <1030087689.25063.7.camel@gby.benyossef.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0208211826180.10811-100000@localhost.localdomain>

On Wed, 2002-08-21 at 20:33, Hugh Dickins wrote:
> On Wed, 21 Aug 2002, James Bourne wrote:
> > On Wed, 21 Aug 2002, Reed, Timothy A wrote:
> > > 
> > > Can anyone lead me to a good source of information on what options should be
> > > in the kernel for hyperthreading??  I am still fighting with a
> > > sub-contractor over kernel options.
> > 
> > As long as you have a P4 and use the P4 support you will get
> > hyperthreading with 2.4.19 (CONFIG_MPENTIUM4=y).  2.4.18 you have to also 
> > turn it on with a lilo option of acpismp=force on the kernel command line.
> 
> You do need CONFIG_SMP and a processor capable of HyperThreading,
> i.e. Pentium 4 XEON; but CONFIG_MPENTIUM4 is not necessary for HT,
> just appropriate to that processor in other ways.


hmm... isn't there an option to tell the kernel you are using a
HyperThreaded system, or is it detected on runtime?  I mean, think about
a P4 Xeon 2 way SMP - unless told otherwise the kernel will 'see' it as
a 4 way SMP box *but* the proccessors are not equel!

If for example, you have a task running and another task just woke up
and the scheduler needs to assign a CPU for it, choosing the other
'instance' of the same CPU as the already running task to run it on as
opposed to choosing one of the 'instanaces' of the other seperate CPU
seems a mistake IMHO, but the scheduler won't be able to make the
judgment because it doesn't know it is running on a SMT box at all.

Or am I missing something? :-)

Gilad.

-- 
Gilad Ben-Yossef <gilad@benyossef.com>
http://benyossef.com

"Money talks, bullshit walks and GNU awks."
  -- Shachar "Sun" Shemesh, debt collector for the GNU/Yakuza


  parent reply	other threads:[~2002-08-23  7:23 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-21 11:32 Hyperthreading Reed, Timothy A
2002-08-21 13:48 ` Hyperthreading James Bourne
2002-08-21 17:33   ` Hyperthreading Hugh Dickins
2002-08-21 19:34     ` Hyperthreading James Bourne
2002-08-21 21:16       ` Hyperthreading Kelsey Hudson
2002-08-21 21:55         ` Hyperthreading Banai Zoltan
2002-08-22  8:05           ` Hyperthreading venom
2002-08-26 19:00           ` Hyperthreading Kelsey Hudson
2002-08-22  8:00         ` Hyperthreading venom
2002-08-23  7:28     ` Gilad Ben-Yossef [this message]
2002-08-23  8:10       ` Hyperthreading Hugh Dickins
2002-08-23  8:27         ` Hyperthreading Alan Cox
2002-08-23  8:12       ` Hyperthreading venom
  -- strict thread matches above, loose matches on Subject: below --
2003-11-25  9:44 hyperthreading Gábor Lénárt
2003-11-25  9:48 ` hyperthreading Emiliano 'AlberT' Gabrielli
2003-11-25 10:05   ` hyperthreading Gábor Lénárt
2003-11-25 10:16     ` hyperthreading Arjan van de Ven
2003-11-25 10:32     ` hyperthreading Måns Rullgård
2003-11-25 10:45       ` hyperthreading Mikael Pettersson
2003-11-29 13:29   ` hyperthreading Bill Davidsen
2003-12-01 10:53     ` hyperthreading Emiliano 'AlberT' Gabrielli
2003-11-25 10:22 ` hyperthreading Karl Pitrich
2002-08-22 12:58 Hyperthreading Nir Soffer
2002-08-22 14:30 ` Hyperthreading Hugh Dickins
2002-08-22  9:15 Hyperthreading Marc Dietrich
2002-08-22 14:06 ` Hyperthreading Hugh Dickins
2002-08-22 14:36   ` Hyperthreading Marc Dietrich
2002-08-21 22:56 Hyperthreading Nakajima, Jun
2002-08-21 23:45 ` Hyperthreading Alan Cox
2002-04-18  1:52 Hyperthreading Holzrichter, Bruce
2002-04-17 20:34 Hyperthreading Holzrichter, Bruce
2002-04-17 22:48 ` Hyperthreading Martin J. Bligh
2002-04-18  1:21   ` Hyperthreading James Bourne
2002-04-17 20:02 SMP P4 APIC/interrupt balancing James Bourne
2002-04-17 21:10 ` Hyperthreading Martin J. Bligh
2002-04-17 20:15   ` Hyperthreading Robert Love
2002-04-17 20:23     ` Hyperthreading Dave Jones
2002-04-17 21:24     ` Hyperthreading Jeff V. Merkey
2002-04-17 20:25   ` Hyperthreading James Bourne
2002-04-17 21:26   ` Hyperthreading Jeff V. Merkey
2002-04-18  0:31     ` Hyperthreading Martin J. Bligh
2002-04-18  4:50       ` Hyperthreading Jeff V. Merkey
2002-04-17 22:12   ` Hyperthreading Alan Cox

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=1030087689.25063.7.camel@gby.benyossef.com \
    --to=gilad@benyossef.com \
    --cc=hugh@veritas.com \
    --cc=jbourne@mtroyal.ab.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=timothy.a.reed@lmco.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®