How to tell if the CPU supports hyper threading
2
votes
0
answers
2087
views
I know it should be a simple matter of
grep -wl ht /proc/cpuinfo
but that's not always accurate.
I have an i5-7440HQ CPU which doesn't support hyper-threading (Intel, WikiPedia, and my BIOS agree on this).
Yet /proc/cpuinfo
and dmidecode
both show that hyperthreading is supported (but disabled). Kernel 4.10.8
When running a report of all machines that are HT capable, but have it disabled, this machine shows as a false positive... I'd like to fix that.
Is there a more accurate test that will show that this CPU really doesn't have HT?
**Edit:**
The related question https://unix.stackexchange.com/questions/33450/checking-if-hyperthreading-is-enabled-or-not asks how to tell if it's *enabled*, which is not what I'm asking. Some of the answers to that question mistakenly attempt to answer this question instead, but none of them provide a correct answer (as noted above).
Asked by TheAmigo
(383 rep)
Apr 7, 2017, 04:46 AM
Last activity: Apr 12, 2017, 08:16 AM
Last activity: Apr 12, 2017, 08:16 AM