LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-30-2004, 05:21 PM   #1
khenaidoo
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
How to turn hyperthreading off


Hello,

I have a Linux server running 2.4.9-e.34smp (i686) using hyperthreading (cat /proc/cpuinfo shows two CPUs with ht flags).

I would like to know how I can disable hyperthreading on that server. Some articles mention about change in BIOS settings - how to we do it on Linux? Should I recompile the kernel after it's done.

I apologize if the question is in the wrong forum.

Thanks
Khen
 
Old 11-30-2004, 07:56 PM   #2
hutuworm
Member
 
Registered: Aug 2004
Posts: 130

Rep: Reputation: 15
Just disable it in BIOS, then you will see only 1 cpu in /proc/cpuinfo
 
Old 11-30-2004, 08:07 PM   #3
khenaidoo
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you.

I have a dumb question: How do I change it in the bios. Is there a linux utility for it?

Thanks
khen
 
Old 11-30-2004, 08:21 PM   #4
hutuworm
Member
 
Registered: Aug 2004
Posts: 130

Rep: Reputation: 15
It's supported by your motherboard's BIOS, I don't know if there's such a linux utility so far.
 
Old 12-01-2004, 08:48 AM   #5
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
Here is another way out of the RHEL 2.1 update 1 release notes.

- Addition of the "noht" boot option. When specified, hyperthreading
is disabled
 
Old 12-01-2004, 08:59 AM   #6
khenaidoo
LQ Newbie
 
Registered: Nov 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks a lot.

In which file can I set the "noht" option?

Khen
 
Old 12-01-2004, 11:16 AM   #7
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
you can add it to grub in menu.lst at the end of the kernel line I believe.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start, stop, turn on, and turn off deamons BuckRogers01 Debian 3 08-16-2005 09:39 AM
P4 and Hyperthreading General_Tso Linux - Hardware 13 11-27-2004 05:39 PM
How to turn off Xserver in the gui and turn it off in the command line geminiviper Linux - Newbie 8 08-20-2004 08:05 AM
Hyperthreading Igman Linux - General 2 12-21-2003 05:37 PM
Hyperthreading jspaceman Linux - Hardware 6 07-05-2003 10:18 AM


All times are GMT -5. The time now is 09:48 AM.

Main Menu
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