LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 07-04-2003, 07:05 PM   #1
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Rep: Reputation: 30
Question Hyperthreading


I might buy a laptop in the near future with a P4 3GHz CPU with hyperthreading. If I enabled hyperthreading (I presume you have to do that in the BIOS) and installed linux on this laptop what sort of kernel should I install? The SMP kernel? Will a distro, such as Mandrake, automatically detect the hyperthreading, see my system as having 2 CPUs, and install the SMP kernel?
 
Old 07-04-2003, 07:13 PM   #2
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Hyperthreading requires an SMP kernel. And as far as I can recall - this may just be my memory making up things - if you have problems with the install with hyperthreading enabled, turn it off in the BIOS, install without hyperthreading and recompile the kernel after install with SMP support.
 
Old 07-04-2003, 07:15 PM   #3
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Obi Perrin
Hyperthreading requires an SMP kernel. And as far as I can recall - this may just be my memory making up things - if you have problems with the install with hyperthreading enabled, turn it off in the BIOS, install without hyperthreading and recompile the kernel after install with SMP support.
If I wanted to dual boot between WinXP and Linux is it possible to turn on the hyperthreading in the BIOS when I wish to boot up XP; and turn it off when I wish to boot Linux?
 
Old 07-04-2003, 07:21 PM   #4
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Why would you want to turn it off to boot Linux? Recompiling the kernel (if it's even necessary, I haven't been lucky enough to test an installation with a hyperthreading CPU, therefore am unaware of Mandrake's ability to detect it) is a half hour job. For such a vital part of the system, it's really rather easy to compile. If you need a guide to it there's one at http://tldp.org.

In other words, no, I don't know of anything that would let you change BIOS settings on each reboot - other than changing them yourself. Any such solution would be a kludge anyway, it's best to try to get hyperthreading working with Linux first instead of searching for a workaround now
 
Old 07-04-2003, 07:23 PM   #5
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Original Poster
Rep: Reputation: 30
I've never recompiled a kernel before in my life, I'm scared.

 
Old 07-04-2003, 07:31 PM   #6
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Think of it like this - as long as you backup your old version, and don't overwrite it's entry in your bootloader, you're free to delete any botched up kernel you like.

It took me 3 attempts to get my first working kernel, but in the end, it's worth it. I just kept making newbie mistakes like choosing ext3 as a module instead being built in. Follow the guide at tldp and you should be fine.
 
Old 07-05-2003, 11:18 AM   #7
candyman123
Member
 
Registered: Jul 2003
Posts: 46

Rep: Reputation: 15
RH9 detects it

Yeah, I just purchased the P4P800 mainboard with the Pentium 4 2.4 GHz (hyperthreading). Redhat detected ... and installed the smp kernel from the start. And I've had no problems yet. So I would imagine that Mandrake...Debian...etc should do the same (or at least in the very near future).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
P4 and Hyperthreading General_Tso Linux - Hardware 13 11-27-2004 06:39 PM
Getting hyperthreading working AMMullan Linux - Hardware 6 05-25-2004 06:35 PM
smp and hyperthreading? eelriver Slackware 3 05-13-2004 07:03 AM
Hyperthreading Igman Linux - General 2 12-21-2003 06:37 PM
hyperthreading gmi Linux - Laptop and Netbook 5 09-17-2003 03:28 AM


All times are GMT -5. The time now is 03:57 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration