10.10.5:

❯ /usr/sbin/sysctl -n hw.physicalcpu
2

❯ /usr/sbin/sysctl -n hw.logicalcpu
4

Which I believe is correct. Laptop has one processor with two cores
according to "Hardware Overview" in "System Information"

Gabor


On Fri, Feb 5, 2016 at 12:07 PM, Prof Brian Ripley
<rip...@stats.ox.ac.uk> wrote:
> sysctl on 10.11 has options which would enable us to differentiate between
> logical and physical codes on parallel::detectCores --- however these are
> not documented in Apple's online man pages, which are for 10.9.  Could
> someone running 10.9 and someone for 10.10 report if
>
> /usr/sbin/sysctl -n hw.physicalcpu
> /usr/sbin/sysctl -n hw.logicalcpu
>
> run in a terminal work and gives the correct result?  (Normally the second
> will be twice the first taking account of hyperthreading.)
>
> Thanks in advance.
>
> --
> Brian D. Ripley,                  rip...@stats.ox.ac.uk
> Emeritus Professor of Applied Statistics, University of Oxford
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to