detecting cores
OSX 10.10.5 2.2 GHz Intel Core i7 mendels$ /usr/sbin/sysctl -n hw.physicalcpu 4 rmendels$ /usr/sbin/sysctl -n hw.logicalcpu 8
On Feb 5, 2016, at 9:24 AM, Adrian Du?a <dusa.adrian at unibuc.ro> wrote: On 10.9.5, Processor 2,7 GHz Intel Core i7, 2013 $ /usr/sbin/sysctl -n hw.physicalcpu 4 $ /usr/sbin/sysctl -n hw.logicalcpu 8 On Fri, Feb 5, 2016 at 2:07 PM, Prof Brian Ripley <ripley at 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, ripley at stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
-- Adrian Dusa University of Bucharest Romanian Social Data Archive Soseaua Panduri nr.90 050663 Bucharest sector 5 Romania [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
********************** "The contents of this message do not reflect any position of the U.S. Government or NOAA." ********************** Roy Mendelssohn Supervisory Operations Research Analyst NOAA/NMFS Environmental Research Division Southwest Fisheries Science Center ***Note new address and phone*** 110 Shaffer Road Santa Cruz, CA 95060 Phone: (831)-420-3666 Fax: (831) 420-3980 e-mail: Roy.Mendelssohn at noaa.gov www: http://www.pfeg.noaa.gov/ "Old age and treachery will overcome youth and skill." "From those who have been given much, much will be expected" "the arc of the moral universe is long, but it bends toward justice" -MLK Jr.