LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2004, 08:14 AM   #1
EdR
LQ Newbie
 
Registered: Sep 2004
Distribution: RHEL AS3, AS4 / Vector
Posts: 22

Rep: Reputation: 15
Stealth cpu's


Hardware-
PE 2650 Dual CPU 533 BUS 4G RAM
OS-
RH ES 3.0

Question-
When running top, it shows 4 cpu's instead of the 2 that I have. I thought that they might be mirrors (CPU 0, CPU 2 /CPU 1, CPU3)but the numbers do not support that. Is this just a quirky function of top?
 
Old 10-14-2004, 08:20 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
I don't think this is a bug, rather hypethreading at work.

In short, hyperthreading is a way to virtualy 'double' your real cpu('s). There is a 'downside': Speed. Instead of 2 cpu's running at speed X, you have 4 running at X/2.

Hope this clears things up a bit.
 
Old 10-14-2004, 10:18 AM   #3
EdR
LQ Newbie
 
Registered: Sep 2004
Distribution: RHEL AS3, AS4 / Vector
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks. I turned it off in the bios.
 
Old 10-14-2004, 01:15 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
Quote:
Originally posted by druuna
There is a 'downside': Speed. Instead of 2 cpu's running at speed X, you have 4 running at X/2.

Hope this clears things up a bit.
This isn't true

while i don't disagree that in some heavy load instances it might be best to turn it off in bios
the cpus in hyperthreading mode cycle at the stated clock speed not half as fast !

the hyperthreading simply uses the dead time the processor spends waiting for memory access
to do work on other threads...... results -- increased efficiency -- increased performance

Last edited by foo_bar_foo; 10-14-2004 at 01:30 PM.
 
Old 10-14-2004, 01:35 PM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
You are right, ofcourse :-)

But, when running a 2.4 kernel, the increase isn't worth mentioning (in my case that is). Roughly a 5% overall speed increase. I've been told that the 2.6 kernel does a (much?) better job.

I do use hyperthreading, but am not that impressed with the speed increase (ok, 5% is an increase ). I do like the virtual cpu mechanism, though.

You have any experience with hyperthreading and 2.6 kernels?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat 9 only sees 1 of my CPU's chapsat Red Hat 17 09-07-2004 04:10 PM
problem with snmp ( cpu's value) jeje91 Linux - Networking 0 03-25-2004 03:25 PM
CPU's doralsoral Linux - Hardware 2 10-29-2003 05:27 AM
CPU's on Linux zakl Linux - Hardware 1 06-12-2003 02:54 AM
two processes on different CPU's CobraMagic Linux - General 1 11-08-2002 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration