Ah. Cut and pasted too quickly� $ /usr/sbin/sysctl -n hw.physicalcpu 4 $ /usr/sbin/sysctl -n hw.logicalcpu 8
Charles DiMaggio, PhD, MPH Professor of Surgery and Population Health Director of Injury Research Department of Surgery On Feb 5, 2016, at 7:17 AM, Prof Brian Ripley <[email protected]> wrote: > On 05/02/2016 12:13, Charles DiMaggio wrote: >> Running 10.9.5 on 3.7Ghz Quad-Core: >> >> >> $ /usr/sbin/sysctl -n hw.physicalcpu >> 4 >> $ /usr/sbin/sysctl -n hw.logicalcp >> second level name logicalcp in hw.logicalcp is invalid > > Thanks, but it is hw.logicalcpu we need to check. > >> >> >> Charles DiMaggio, PhD, MPH >> Professor of Surgery and Population Health >> Director of Injury Research >> Department of Surgery >> New York University School of Medicine >> >> >> >> >> >> >> On Feb 5, 2016, at 7:07 AM, Prof Brian Ripley <[email protected] >> <mailto:[email protected]>> 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, [email protected] <mailto:[email protected]> >>> Emeritus Professor of Applied Statistics, University of Oxford >>> >>> _______________________________________________ >>> R-SIG-Mac mailing list >>> [email protected] <mailto:[email protected]> >>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> > > > -- > Brian D. Ripley, [email protected] > Emeritus Professor of Applied Statistics, University of Oxford [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
