Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check whether Hyper Threading is enabled or not in Ubuntu?

I am using the Ubuntu. How can I check whether Hyper Threading is enabled or not. And if it is disabled, how can I enable it?

like image 791
Anil Kumar Avatar asked Apr 13 '15 12:04

Anil Kumar


1 Answers

You can check if HyperThreading is enable or not with

dmidecode -t processor|grep Count

if "Core Count" is the same as "Thread Count" ex:

Core Count: 32 Thread Count: 32

The HT is Disabled.

Else HT is Enabled.

Flag "HTT" shows the possibility of HyperThreading.

like image 91
mik-mak Avatar answered Oct 26 '22 19:10

mik-mak