General
cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperthreading support on Linux

Alpa Shah
Advisor

Hyperthreading support on Linux

Is there any command to know if hyperthreading is supported or not on a specific OS?
Also, if it is supported then how can I enble/disable it?

Thanks in advance
2 REPLIES
Steven E. Protter
Exalted Contributor

Re: Hyperthreading support on Linux

Shalom,

The kernel supports hyperthreading on most modern distributions of Linux. The way to test it is with a simple test application.

You may see some evidence of the existance of support in the boot sequence for /var/log/messages.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hein van den Heuvel
Honored Contributor

Re: Hyperthreading support on Linux

See prior discussion in:

http://forums1.itrc.hp.com/service/forums/qu
estionanswer.do?threadId=246357

Summary:

#grep flags /proc/cpuinfo

If this gives " ht " as returned flag, then the CPU is ht CAPABLE, but it may have been disabled in bios.

grep -E "processor|physical id" /proc/cpuinfo

Study the numbers...

Hein.