[R-SIG-Mac] How to determine if a Mac is Nehalem-based

Steven McKinney smckinney at bccrc.ca
Thu Oct 21 00:50:15 CEST 2010


I may have answered the question.

>From the log entry for

   /usr/sbin/ioreg 

I see entries including the following, which have
Nehalem and "Gainstown" variant listed, so this Mac does appear to have
Nehalem-based CPUs.  If any Mac Guru thinks otherwise, I'd appreciate
being set straight.

    | +-o CPU3 at 12  <class IOACPIPlatformDevice, id 0x10000011a, registered, matched, active, busy 0 (12682 ms), retain 8>
    | | | {
    | | |   "processor-lapic" = 0x12
    | | |   "clock-frequency" = <c01e7d9e>
    | | |   "processor-number" = 0xa
    | | |   "timebase-frequency" = <00ca9a3b>
    | | |   "processor-id" = 0x3
    | | |   "bus-frequency" = <ffffffff>
    | | |   "cpu-type" = <0105>
    | | |   "device_type" = <70726f636573736f7200>
    | | |   "processor-index" = 0x3
    | | |   "name" = <4350553300>
    | | | }
    | | | 
    | | +-o AppleACPICPU  <class AppleACPICPU, id 0x10000012d, registered, matched, active, busy 0 (12640 ms), retain 7>
    | |   | {
    | |   |   "IOClass" = "AppleACPICPU"
    | |   |   "CFBundleIdentifier" = "com.apple.driver.AppleACPIPlatform"
    | |   |   "IOProviderClass" = "IOACPIPlatformDevice"
    | |   |   "IOProbeScore" = 0x3e8
    | |   |   "IONameMatch" = "processor"
    | |   |   "IOInterruptSpecifiers" = (<000a0000>,<010a0000>)
    | |   |   "IOMatchCategory" = "IODefaultMatchCategory"
    | |   |   "IOCPUID" = 0x28a18b00
    | |   |   "IOInterruptControllers" = ("IOPlatformInterruptController","IOPlatformInterruptController")
    | |   |   "IONameMatched" = "processor"
    | |   |   "IOCPUState" = "Running"
    | |   |   "IOCPUNumber" = 0x3
    | |   | }
    | |   | 
    | |   +-o AppleIntelNehalemPerformanceMonitor  <class AppleIntelNehalemPerformanceMonitor, id 0x1000003b0, !registered, !matched, active, busy 0 (148 ms), retain 11>
    | |   | | {
    | |   | |   "IOClass" = "AppleIntelNehalemPerformanceMonitor"
    | |   | |   "IOProviderClass" = "AppleACPICPU"
    | |   | |   "IOMatchCategory" = "ApplePerformanceMonitor"
    | |   | |   "IOProbeScore" = 0x0
    | |   | |   "CFBundleIdentifier" = "com.apple.driver.AppleIntelNehalemProfile"
    | |   | | }
    | |   | | 
    | |   | +-o AppleIntelNehalemGeneralPurposeCounter  <class AppleIntelNehalemGeneralPurposeCounter, id 0x1000003f2, registered, matched, active, busy 0 (29 ms), retain 7>
    | |   | | | {
    | |   | | |   "stepping" = 0x5
    | |   | | |   "ApplePerformanceCounterHardwareInstance" = 0x0
    | |   | | |   "IOClass" = "AppleIntelNehalemGeneralPurposeCounter"
    | |   | | |   "ApplePerformanceCounterRegisteredName" = "ia32gp12"
    | |   | | |   "logical-core" = 0xa
    | |   | | |   "ApplePerformanceCounterUnit" = 0xc
    | |   | | |   "ApplePerformanceCounterState" = 0x1
    | |   | | |   "variant" = "Gainstown"
    | |   | | | }
   ...



Steven McKinney

________________________________________
From: r-sig-mac-bounces at stat.math.ethz.ch [r-sig-mac-bounces at stat.math.ethz.ch] On Behalf Of Steven McKinney [smckinney at bccrc.ca]
Sent: October 20, 2010 2:55 PM
To: R-SIG-Mac at stat.math.ethz.ch
Subject: [R-SIG-Mac] How to determine if a Mac is Nehalem-based

Hi Mac Gurus,

I have been searching the web trying to find out how to determine
if my Mac is "Nehalem-based".  I have not been able to find any discussion
about how to determine this, beyond something such as "Macs built in early 2009"
or similarly vague statements.

Does anyone know where I can find a description of which Intel chips in a Mac
constitute "Nehalem-based" and what R or Mac-OS scripts, commands etc
will yield information on the CPU chip in my Mac so I can make this determination?

>From "About this Mac" I get the following information, but I'm unclear on
what if anything in such output will reliably show whether my Mac is
Nehalem-based.

Hardware Overview:

  Model Name:   Mac Pro
  Model Identifier:     MacPro4,1
  Processor Name:       Quad-Core Intel Xeon
  Processor Speed:      2.66 GHz
  Number Of Processors: 2
  Total Number Of Cores:        8
  L2 Cache (per core):  256 KB
  L3 Cache (per processor):     8 MB
  Memory:       32 GB
  Processor Interconnect Speed: 6.4 GT/s
  Boot ROM Version:     MP41.0081.B08
  SMC Version (system): 1.39f5
  SMC Version (processor tray): 1.39f5
  Serial Number (system):       H00230C320H
  Serial Number (processor tray):       C070183004XDCVHAX
  Hardware UUID:        482F1E2A-2588-5FA3-80AE-11BE11615B02

Any information appreciated

Steven McKinney

Statistician
Molecular Oncology and Breast Cancer Program
British Columbia Cancer Research Centre

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list