[opensuse] Hyperthreading
Daft question: if you had a CPU with HT enabled doing a cat /proc/cpuinfo showed 2 CPU's. I've just installed OS10.2 on a dual-core Athlon 64 system but I'm only showing 2 CPU's instead of 4. I've not used these CPU's before so want to check that the 2.6.18.xxx kernel still shows HT as a separate processor before I suspect the hardware. Cheers Matthew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Athlon 64 X2 has 2 cores, but no HT, so you have 2 logical processors, not 4. Same goes for Intel's Core 2 Duo. -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 16 April 2007 17:31:26 Alexey Eremenko wrote:
Athlon 64 X2 has 2 cores, but no HT, so you have 2 logical processors, not 4. Same goes for Intel's Core 2 Duo.
-- -Alexey Eremenko "Technologov"
Ah, that explains it then, the Xeon machines have multicore and HT, I've a dual, dual-core Xeon and with HT on each core SUSE shows 8 CPU's However on this AM2 machine it has ht listed in the flags, thought that was for hyperthreading: (sure that clock speed is wrong too) /proc/cpuinfo. gs05:~ # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 107 model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ stepping : 1 cpu MHz : 1000.000 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8legacy ts fid vid ttp tm stc [6] bogomips : 2001.20 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8legacy ts fid vid ttp tm
Well, once I errorously thought that vme=Virtual Machine Extensions, aka Vanderpool, which is NOT. Vanderpool on Linux look like "vmx". "vme" is something else. I don't know what "ht" is, but I do know that HT (HyperThreading) is supported *only* on Pentium 4-based processors. Not AMD, not Intel's Core. P.S. How to spell "errorously" word correctly in the case above? (Sorry, I'm non-native) -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 16 April 2007 15:54, Alexey Eremenko wrote: [...]
P.S. How to spell "errorously" word correctly in the case above? Since no one has given you the answer, it is:
erroneously Compliments to you for wanting to spell the word correctly, something many native speakers don't bother to do.
(Sorry, I'm non-native)
-- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Matthew Stringer
However on this AM2 machine it has ht listed in the flags, thought that was for hyperthreading:
(sure that clock speed is wrong too) [...] cpu MHz : 1000.000
no, that is correct. It is in pwr saving mode. Check it under a load and notice the different report. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/ Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Patrick Shanahan wrote:
* Matthew Stringer
[04-16-07 18:43]: [...] However on this AM2 machine it has ht listed in the flags, thought that was for hyperthreading:
(sure that clock speed is wrong too) [...] cpu MHz : 1000.000
no, that is correct. It is in pwr saving mode. Check it under a load and notice the different report.
alternativly, you can set the CPUFreq policy to performance mode: "powersave -f". -- Patrick Kirsch - Quality Assurance Department SUSE Linux Products GmbH GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2007-04-16 at 23:28 -0800, John Andersen wrote:
On Monday 16 April 2007, Matthew Stringer wrote:
Ah, that explains it then, the Xeon machines have multicore and HT, I've a dual, dual-core Xeon and with HT on each core SUSE shows 8 CPU's
drool.....
Sweet system. You could almost run Vista on that, but why would you. If I had the bucks I would run Quake III on it just to impress the locals. -- ___ _ _ _ ____ _ _ _ | | | | [__ | | | |___ |_|_| ___] | \/ | \ /|\ || |\ / |~~\ /~~\ /~~| //~~\ | \ / | \ || | X |__/| || |( `--. |__ | | \| \_/ / \ | \ \__/ \__| \\__/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 29 April 2007 05:30:20 pm Carl Spitzer wrote:
On Mon, 2007-04-16 at 23:28 -0800, John Andersen wrote:
On Monday 16 April 2007, Matthew Stringer wrote:
Ah, that explains it then, the Xeon machines have multicore and HT, I've a dual, dual-core Xeon and with HT on each core SUSE shows 8 CPU's
drool.....
Sweet system. You could almost run Vista on that, but why would you.
Exactly! I've got a new slogan... "Windows Vista. Never Had It. Never Will." (followed by a deep laugh) What d'yall think?
If I had the bucks I would run Quake III on it just to impress the locals.
Heh! "LYNUX" rocks? Huh? -- kai Free Compean and Ramos http://www.grassfire.org/142/petition.asp http://www.perfectreign.com/?q=node/46 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2007-04-16 at 23:40 +0100, Matthew Stringer wrote:
However on this AM2 machine it has ht listed in the flags, thought that was for hyperthreading:
It's probably for Hyper Transport, which is the communication bus that replaces the FSB. I don't really know the details except that it enables the two cores and/or two processors to communicate directly with each other, which is much faster and more efficient than to have them communicate via the FSB and northbridge. Hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 16 April 2007 09:16, Matthew Stringer wrote:
Daft question:
if you had a CPU with HT enabled doing a cat /proc/cpuinfo showed 2 CPU's.
I've just installed OS10.2 on a dual-core Athlon 64 system but I'm only showing 2 CPU's instead of 4.
I've not used these CPU's before so want to check that the 2.6.18.xxx kernel still shows HT as a separate processor before I suspect the hardware.
In addition to what Alexey stated, you should know that your dual-core processor will run circles around the fastest HyperThreaded CPU Intel ever made. HT was better than a non-HT single-core CPU, but it was just a footnote on the way to highly parallel systems (a path along which we're still much closer to the beginning than the end, by the way).
Cheers
Matthew
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Actually, I believe that next step will be in multi-core and hyper-threaded systems. Pentium 4 Extreme has this feature, and I hope other CPUs will adopt this feature as well... -- -Alexey Eremenko "Technologov" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
[...] HT was better than a non-HT single-core CPU, [...]
Unfortunately, there are applications that slow down when HT is enabled. Therefore, it's highly application-dependent whether a HT-enabled single-core CPU is "better" than a non-HT single-core CPU. Th. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
It is very interesting. I have a P4 HT 3.2. When I first loaded Linux 10.0 a year or so ago and did my first online update. Those were uncomplicated days when we just had a Suse Watcher no ZEN rubbish or OpenSuse Updater that appears when it want to - (sorry for the dig) anyway update download Kernel support for multiprocessors and my assumption is that even though HT is logical the Kernel addresses the single processor as 2. MS-Windows does the same. I can change the affinity for a very hungry application that does not deserve all the attention to 1 (logical) processor without issue. FYI and Good Morning 09:51 GMT+10 Scott :-\ Matthew Stringer wrote:
Daft question:
if you had a CPU with HT enabled doing a cat /proc/cpuinfo showed 2 CPU's.
I've just installed OS10.2 on a dual-core Athlon 64 system but I'm only showing 2 CPU's instead of 4.
I've not used these CPU's before so want to check that the 2.6.18.xxx kernel still shows HT as a separate processor before I suspect the hardware.
Cheers
Matthew
participants (12)
-
Alexey Eremenko
-
Carl Spitzer
-
Hans du Plooy
-
Jim Cunning
-
John Andersen
-
Kai Ponte
-
Matthew Stringer
-
Patrick Kirsch
-
Patrick Shanahan
-
Randall R Schulz
-
Registration Account
-
Thomas Hertweck