Does Hyper-Threading Technology cause any problem for Linux Installation and use?
Fedora - InstallationThis forum is for the discussion of installation issues with Fedora.
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.
Does Hyper-Threading Technology cause any problem for Linux Installation and use?
Just a quick question:
Is there anyone installing Linux (Fedora or Debian) on an Intel Pentium 4 machine with Hyper-Threading Technology cause any Installation and usage problem?
The current Linux scheduler is HT-aware. You should not experience any problems. I believe that you do need to do an SMP build in order to actually use that feature, but the machine will not mis-behave if you don't.
You should enable both SMP and SMT features in the kernel to make use of HT. In theory, a straight SMP build will work on single-processor SMT/HT machines.
Thank you for you replies! Sounds like there shouldn't be a problem installing and using Linux with HT processor. However, I've heard someone said that using Xandros with HT having a lot of problem with their memory all not showing up. Does anybody installing and using Fedora (or Debian) encounter this kind of problem? I am interested in installing these distros on my computer with HT processor.
By the way, is there any detailed SMP and SMT description that I can take a look at anywhere? I'm not very familiar with these.
I've used Debian on a P4HT before, and it worked fine.
SMP stands for Symmetric Multi-Processing. Simply, this is a single computer with mutliple identical processors. It's the underlying technology for simultaneous execution of multiple processes/threads. SMT is Simultaneous Multi-Threading. This is where a single processor can use unsued portions of its core to process a second thread.
One thing I am not sure is that: why enable both SMP and SMT? In my understanding (probably not exactly right), Intel HT is Hyper-Threading (single processor, not really multi-processors physically) and why not just enable SMT? It seems to me that SMP is for multi-processors. If I am wrong , please correct me.
Rebuilding the kernel has never been difficult for me (well, not since 2.4 came out ). I'd be happy to help you with any sticking points you have.
SMP is for multi-processors but since SMT technology makes a processor look like multiple processors, you need both. And the kernel configuration has SMP as a dependency of SMT. In other words, there's a lot of overlapping code. SMT just adjusts how the scheduler works somewhat.
Well, I've got a HT, and run a SMP kernel (FC4). You don't need to compile the kernel -- I'ts available for download on the Fedora web site.
Been running the SMP kernel for about a year now with no problems. (On both FC3 and FC4.) What you do get is a multi-processor display when you look at CPU usage in KDE, and the usage is, in fact, usually different.
Anyhow, I'd recommend the SMP route, using the pre-compiled kernel. (As I recall, if you're installing from the Fedora DVD, you're asked which kernel you want to use. But it's been a while, so my recollection may be wrong.)
I'll probably start to install Linux next week.(pretty busy recently, but eager to install Linux) I'll try first the pre-compiled SMP kernel if there is an optition there during installation. If SMT is not enabled or there is no SMP kernel option, I'll try to recompile the kernel to enable both SMP and SMT. If I'd encounter any problem concerning rebuilding the kernel, I'll come back and ask about it.(thanks to your offer, Matir)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.