14

There is a way of disabling hyperthreading on Mac OS X: How to disable HyperThreading on Mac OS X Lion?

Is there a Terminal command of seeing whether Mac OS X has hyperthreading enabled?

Ryan Dougherty
  • 243
  • 1
  • 2
  • 8
  • What problem are you trying to solve by disabling Hyperthreading? – Ramhound Jul 30 '14 at 16:18
  • I'm not trying to disable HT. I'm just seeing if it is enabled or not. I linked the question because it could be relevant. But Google searches about a terminal command turned up nothing direct. – Ryan Dougherty Jul 30 '14 at 16:21
  • 2
    Apple does not provide an actual method to disable Hyperthreading. Unless you used those tools described in the other question, then its enabled, and those tools can also help verify if its enabled. **If your processor supports Hyperthreading then its enabled, by default, and can only be disabled until the system is rebooted.** – Ramhound Jul 30 '14 at 16:21

1 Answers1

20

Compare the result of:

$ sysctl hw.physicalcpu hw.logicalcpu
hw.physicalcpu: 4
hw.logicalcpu: 8

hw.logicalcpu > hw.physicalcpu so hyper threading is enabled

tekumara
  • 471
  • 1
  • 4
  • 7