Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well yes and no. Yes they all have the wiring for hyperthreading but Intel picked certain models to activate the wiring at the factory. No you can not take a 2.0A GHz processor and activate hyperthreading. Also the motherboard have to support hyperthreading for the processor to take advantage of it. IMO, hyperthreading is a gimmick just to sell the processor and it is slower than using two physical processors.
Is there some command, script, etc. a la cpuinfo that can tell you if hyperthreading is enabled? I'm just deciding what services I should have running...
Check the BIOS on your system...if your CPU is hyperthread capable then you should be able to turn it on and off....if you don't have that option then your CPU probably isn't hyperthreaded. All systems that have Hyperthreaded CPU's need to have the ability to turn hyperthreading on and off in their BIOSes. Not all operating systems and softwares play nice with Hyperthreading.
If you have a CPU that is hyperthreaded you'll notice two things in Linux:
1) The operating system will see double the amont of installed CPU's and most likely install an smp kernel by default.
2) If you are booted to this smp kernel, then you will see two CPU's when running the following command:
cat /proc/cpuinfo
....and the earlier posters are correct....not all P4's are hyperthreaded. If you P4 system was built before late 2002, then it probably isn't HT capable.
Someone said that "all" P4s have the "wiring" for HTing. This is not entirely true. . . The first core used for the P4 (wallamite, but to hell with spelling) found in socket 423 and early 478 P4 systems did not have the "wiring" for HTing. It was the Northwood core that had the "wiring" and then in the core's mid life it was enabled on some chips. And by 'some' I mean, the more costly ones... hehe.
....and although a HT cpu may not be as fast as two physical cpu's, it is still a substantial speed improvement and I'm very impressed with a P4 3Gig HT cpu on a Linux box.........
Originally posted by Dutch3 ....and although a HT cpu may not be as fast as two physical cpu's, it is still a substantial speed improvement and I'm very impressed with a P4 3Gig HT cpu on a Linux box.........
Dutch
Although I'm not a hardware junky, it seems like a good idea to me. Although people might make the case for it being a sales gimmick, it can be said that every new innovation is a gimmick to sell computers.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
a friend of mine that works for intel benchmarks stuff like that, and sent me some of the results. some apps that support threading well can get up to close to a 2x speed improvement. i forgot what kind of stuff is helped the most, but some things are. a few things are slower.
All I know is what took 10+ seconds on my previous P4 (such as parsing syslogs or refreshing rpm database package lists) now takes about 4 secs. Also KDE starts up in less than half the time.
This Intel product spec sheet as well as this secondary article indicate which do and which don't. I've got an older P4 (2.4 B, purchased in Jan 2003) and it lacks HT. Oh well, hope this is of interest. -- J.W.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.