Operating System - Linux
1753421 Members
4791 Online
108793 Solutions
New Discussion юеВ

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 2
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.