LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to turn hyperthreading off (https://www.linuxquestions.org/questions/linux-general-1/how-to-turn-hyperthreading-off-261070/)

khenaidoo 11-30-2004 05:21 PM

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

hutuworm 11-30-2004 07:56 PM

Just disable it in BIOS, then you will see only 1 cpu in /proc/cpuinfo

khenaidoo 11-30-2004 08:07 PM

Thank you.

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

Thanks
khen

hutuworm 11-30-2004 08:21 PM

It's supported by your motherboard's BIOS, I don't know if there's such a linux utility so far.

peacebwitchu 12-01-2004 08:48 AM

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

khenaidoo 12-01-2004 08:59 AM

Thanks a lot.

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

Khen

peacebwitchu 12-01-2004 11:16 AM

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


All times are GMT -5. The time now is 10:47 AM.