search for: numberofcores

Displaying 7 results from an estimated 7 matches for "numberofcores".

2018 Aug 21
2
Get Logical processor count correctly whether NUMA is enabled or disabled
...as.numeric(gsub("([0-9]+).*", "\\1", grep("[0-9]+[ \t]*", out, value=TRUE)))) # [1] 86 [I've asked the IT team to understand why one of the values is 20 instead of 22]. # number of cores - what detectCores(FALSE) should return out <- system("wmic cpu get numberofcores", intern=TRUE) [1] "NumberOfCores \r" "22 \r" "22 \r" "20 \r" "22 \r" [6] "\r" sum(as.numeric(gsub("([0-9]+).*", "\\1", grep("[0-9]+[ \t]*", out, value=TRU...
2018 Aug 29
2
Get Logical processor count correctly whether NUMA is enabled or disabled
...).*", "\\1", grep("[0-9]+[ \t]*", out, > value=TRUE)))) # [1] 86 > > [I've asked the IT team to understand why one of the values is 20 instead of 22]. > > # number of cores - what detectCores(FALSE) should return out <- > system("wmic cpu get numberofcores", intern=TRUE) > [1] "NumberOfCores \r" "22 \r" "22 \r" "20 \r" "22 \r" > [6] "\r" > sum(as.numeric(gsub("([0-9]+).*", "\\1", grep("[0-9]+[ \t]*",...
2018 Sep 03
0
Get Logical processor count correctly whether NUMA is enabled or disabled
...ling added as needed): # detectCores() out <- system("wmic cpu get numberoflogicalprocessors", intern=TRUE) sum(as.numeric(gsub("([0-9]+).*", "\\1", grep("[0-9]+[ \t]*", out, value=TRUE)))) #detectCores(logical=FALSE) out <- system("wmic cpu get numberofcores", intern=TRUE) sum(as.numeric(gsub("([0-9]+).*", "\\1", grep("[0-9]+[ \t]*", out, value=TRUE)))) The remaining problem with running using >64 processors on Windows turned out to be due to a bug in sockets communication, debugged and fixed in R-devel by Luke...
2018 Aug 27
0
Get Logical processor count correctly whether NUMA is enabled or disabled
...]+).*", "\\1", grep("[0-9]+[ \t]*", out, value=TRUE)))) > # [1] 86 > > [I've asked the IT team to understand why one of the values is 20 instead of 22]. > > # number of cores - what detectCores(FALSE) should return > out <- system("wmic cpu get numberofcores", intern=TRUE) > [1] "NumberOfCores \r" "22 \r" "22 \r" "20 \r" "22 \r" > [6] "\r" > sum(as.numeric(gsub("([0-9]+).*", "\\1", grep("[0-9]+[ \t]*",...
2018 Aug 17
2
Get Logical processor count correctly whether NUMA is enabled or disabled
Dear R-devel list, R's detectCores() function internally calls "ncpus" function to get the total number of logical processors. However, this doesnot seem to take NUMA into account on Windows machines. On a machine having 48 processors (24 cores) in total and windows server 2012 installed, if NUMA is enabled and has 2 nodes (node 0 and node 1 each having 24 CPUs), then R's
2018 Aug 21
0
Get Logical processor count correctly whether NUMA is enabled or disabled
...return out <- system("wmic cpu get numberoflogicalprocessors", intern=TRUE) sum(as.numeric(gsub("([0-9]+).*", "\\1", grep("[0-9]+[ \t]*", out, value=TRUE)))) # number of cores - what detectCores(FALSE) should return out <- system("wmic cpu get numberofcores", intern=TRUE) sum(as.numeric(gsub("([0-9]+).*", "\\1", grep("[0-9]+[ \t]*", out, value=TRUE)))) # number of physical processors - as a sanity check system("wmic computersystem get numberofprocessors") Thanks, Tomas On 08/17/2018 05:11 PM, Srinivasa...
2013 Jun 14
0
Wine release 1.6-rc2
...tapi32: Properly implement lineGetCountryW. wbemprox: Always use resize_table to allocate memory for table data. wbemprox: Override variant conversion for Win32_VideoController.AdapterRAM. wbemprox: Implement Win32_Processor.AddressWidth. wbemprox: Implement Win32_Processor.NumberOfCores. wbemprox: Implement Win32_OperatingSystem.CodeSet. wbemprox: Implement Win32_OperatingSystem.CountryCode. wbemprox: Implement Win32_OperatingSystem.Locale. wbemprox: Implement Win32_OperatingSystem.ServicePackMinorVersion. wbemprox: Implement Win32_VideoController.Ada...