LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 09-17-2005, 06:19 PM   #1
cwhh
LQ Newbie
 
Registered: Sep 2005
Posts: 25

Rep: Reputation: 15
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?

Any suggestion will be very much appreciated!
 
Old 09-17-2005, 09:07 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I have an Intel P4 2.8C w/ HT technology running Gentoo Linux. No HT-related problems whatsoever in the 15 months I've been running it.
 
Old 09-17-2005, 09:35 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
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.
 
Old 09-17-2005, 09:58 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 09-18-2005, 05:25 PM   #5
cwhh
LQ Newbie
 
Registered: Sep 2005
Posts: 25

Original Poster
Rep: Reputation: 15
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.
 
Old 09-18-2005, 05:39 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 09-20-2005, 04:39 PM   #7
cwhh
LQ Newbie
 
Registered: Sep 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for your info.

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.
 
Old 09-20-2005, 04:46 PM   #8
cwhh
LQ Newbie
 
Registered: Sep 2005
Posts: 25

Original Poster
Rep: Reputation: 15
One more thing: Is rebuilding a kernel difficult if I need to enable SMP and SMT? I've never done that before.
 
Old 09-20-2005, 04:50 PM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 09-20-2005, 04:57 PM   #10
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.)
 
Old 09-20-2005, 05:00 PM   #11
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
FYI... I'm 99% sure that Fedora's SMP kernels also have the SMT option switched on. I could be wrong.
 
Old 09-20-2005, 07:36 PM   #12
cwhh
LQ Newbie
 
Registered: Sep 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks guys!

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)

See you guys later!
 
Old 09-20-2005, 09:26 PM   #13
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
No problem. Always be glad to help, like I said. It's what I do best, or at least I like to think so.
 
  


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
Suse 10 installation freeze with Hyper-Threading enabled tsoban SUSE / openSUSE 7 11-24-2005 04:00 AM
How does linux support Hyper-Threading? oriate Linux - General 2 11-04-2005 10:22 AM
Does Hyper-Threading Technology cause any problem for Linux Installation and use? cwhh Fedora 3 09-18-2005 07:08 AM
Is intel's Hyper-Threading a must for Linux ??? skouket Linux - Hardware 6 03-18-2005 06:53 PM
p4 hyper threading, and battery life problem. KNx2 Linux - Laptop and Netbook 4 03-31-2004 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 09:13 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