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 |
Just disable it in BIOS, then you will see only 1 cpu in /proc/cpuinfo
|
Thank you.
I have a dumb question: How do I change it in the bios. Is there a linux utility for it? Thanks khen |
It's supported by your motherboard's BIOS, I don't know if there's such a linux utility so far.
|
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 |
Thanks a lot.
In which file can I set the "noht" option? Khen |
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. |