9

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?

  • 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 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
10

Compare the result of:

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.