Skip to content
Prev 11541 / 15075 Next

detecting cores

Sorry, saw the bugzilla item first...

I have

Peters-iMac:IBP pd$ sysctl -n hw.ncpu
2
Peters-iMac:IBP pd$ sysctl -n hw.physicalcpu
2
Peters-iMac:IBP pd$ sysctl -n hw.logicalcpu
2
Peters-iMac:IBP pd$ ssh appleserver
Last login: Mon Dec 14 11:25:08 2015
appleserver:~ pd$ sysctl -n hw.ncpu
24
appleserver:~ pd$ sysctl -n hw.physicalcpu
12
appleserver:~ pd$ sysctl -n hw.logicalcpu
24

both on Mavericks, 10.9.5. As you probably gathered (or remembered), the iMac is Core 2 Duo, so no hyperthreading. 

-pd
On 05 Feb 2016, at 13:07 , Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote: