LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] 2.6 Kernel + Hyperthreading

[ILUG] 2.6 Kernel + Hyperthreading

Ronan Cunniffe rcunniff at stp.dias.ie
Thu Sep 9 15:18:40 IST 2004



On Thu, 9 Sep 2004, Eoin Ryan wrote:

> Hi Everyone,
>
> We have a rack of Dell Poweredge 750's which we use as processing nodes
> for scientific experiments.  The CPU's are P4s with HT.  Currently, the
> 2.6.8-smp kernel is running on the cluster, so /proc/cpuinfo sees each
> machine as having 2 processors.

Almost certainly switch it off.

There's a very good Ars Technica discussion on this (didn't bookmark it,
try Google).

Basically Intel invented HT because they were screwed - the P4 is much
less efficient (waffle figure 30%) less than the P3 at the same clock.

The P4 has a really deep pipeline - lots of instructions on the go (ISTR
it's 20, shortly to rise to 30 stages).  Lots of short stages means the
clockspeed can be pushed right up.

Lots of stages also means the chip needs to know what's going a long way
ahead, and it frequently doesn't, so has to insert "bubbles" into the
pipeline.

Intel's answer was to create *two* feeds into the mouth of the pipe, to
keep it fed with useful work.  From the outside, it looks like two
processors, but if you get at most a 30% speed advantage, and only if the
two threads aren't trying to do the same kind of work.

If your code is million-iteration floating point loops, the FPU will be
running at full efficiency, and no other tweaking will budge your
performance numbers.

And switching HT on does impose some bureaucratic overhead to avoid the
instruction streams from getting mixed up, and this is supposed to be a
penalty of a few percentage points.

I manage Xeon machines currently being used for Monte Carlo simulations -
a few short tests showed that HT on definitely wasn't better, might be
worse.

Ronan



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell