Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Basic75

macrumors 68030
Original poster
Hello everybody,

the information on the web about caches of Apple chip is sometimes divergent or incomplete. I would like to collect more data to make a nice table. For that I need your help, if you could share your Mac's processor model, your operating system version, and the output of this shell command after pasting into Terminal.app and pressing enter/return.

Bash:
sysctl -a | grep -E "^hw\\." | grep -v optional

Don't worry, as some other forum members will surely confirm this command does not do any harm to your computer and the output does not contain any personal information. If you can, please check whether somebody else already posted the information about your exact chip to avoid too many duplicates.

Remember that for some chps like the M1 there is only 1 variant, but for some others like the M1 Max there are 2, a bigger and a smaller version, or upper and lower "bin". Somebody correct me if I'm wrong but I think no Apple chip has 3 variants.

Bonus question, does anybody know what this means? Taken from a base M1.

Code:
hw.cacheconfig: 8 1 4 0 0 0 0 0 0 0
hw.cachesize: 3752853504 65536 4194304 0 0 0 0 0 0 0

Thank you!
 
  • Like
Reactions: crazy dave and !!!
Output from my M4 Pro:
Code:
hw.ncpu: 14
hw.byteorder: 1234
hw.memsize: 51539607552
hw.activecpu: 14
hw.perflevel0.physicalcpu: 10
hw.perflevel0.physicalcpu_max: 10
hw.perflevel0.logicalcpu: 10
hw.perflevel0.logicalcpu_max: 10
hw.perflevel0.l1icachesize: 196608
hw.perflevel0.l1dcachesize: 131072
hw.perflevel0.l2cachesize: 16777216
hw.perflevel0.cpusperl2: 5
hw.perflevel0.name: Performance
hw.perflevel1.physicalcpu: 4
hw.perflevel1.physicalcpu_max: 4
hw.perflevel1.logicalcpu: 4
hw.perflevel1.logicalcpu_max: 4
hw.perflevel1.l1icachesize: 131072
hw.perflevel1.l1dcachesize: 65536
hw.perflevel1.l2cachesize: 4194304
hw.perflevel1.cpusperl2: 4
hw.perflevel1.name: Efficiency
hw.features.allows_security_research: 0
hw.physicalcpu: 14
hw.physicalcpu_max: 14
hw.logicalcpu: 14
hw.logicalcpu_max: 14
hw.cputype: 16777228
hw.cpusubtype: 2
hw.cpu64bit_capable: 1
hw.cpufamily: 399882554
hw.cpusubfamily: 4
hw.cacheconfig: 14 1 4 0 0 0 0 0 0 0
hw.cachesize: 3742138368 65536 4194304 0 0 0 0 0 0 0
hw.pagesize: 16384
hw.pagesize32: 16384
hw.cachelinesize: 128
hw.l1icachesize: 131072
hw.l1dcachesize: 65536
hw.l2cachesize: 4194304
hw.tbfrequency: 24000000
hw.memsize_usable: 50986778624
hw.packages: 1
hw.osenvironment:
hw.ephemeral_storage: 0
hw.use_recovery_securityd: 0
hw.use_kernelmanagerd: 1
hw.serialdebugmode: 0
hw.nperflevels: 2
hw.targettype: J773s

Should have added | pbcopy after the command so users don't have to select and copy from the terminal manually. I'll get to my M1 later if no one else adds it, it's a 7core GPU variant even, I doubt that changes the cache levels but you never know.
 
  • Like
Reactions: Basic75
Binned M3 Max

Code:
hw.ncpu: 14
hw.byteorder: 1234
hw.memsize: 38654705664
hw.activecpu: 14
hw.perflevel0.physicalcpu: 10
hw.perflevel0.physicalcpu_max: 10
hw.perflevel0.logicalcpu: 10
hw.perflevel0.logicalcpu_max: 10
hw.perflevel0.l1icachesize: 196608
hw.perflevel0.l1dcachesize: 131072
hw.perflevel0.l2cachesize: 16777216
hw.perflevel0.cpusperl2: 5
hw.perflevel0.name: Performance
hw.perflevel1.physicalcpu: 4
hw.perflevel1.physicalcpu_max: 4
hw.perflevel1.logicalcpu: 4
hw.perflevel1.logicalcpu_max: 4
hw.perflevel1.l1icachesize: 131072
hw.perflevel1.l1dcachesize: 65536
hw.perflevel1.l2cachesize: 4194304
hw.perflevel1.cpusperl2: 4
hw.perflevel1.name: Efficiency
hw.features.allows_security_research: 0
hw.physicalcpu: 14
hw.physicalcpu_max: 14
hw.logicalcpu: 14
hw.logicalcpu_max: 14
hw.cputype: 16777228
hw.cpusubtype: 2
hw.cpu64bit_capable: 1
hw.cpufamily: 1912690738
hw.cpusubfamily: 5
hw.cacheconfig: 14 1 4 0 0 0 0 0 0 0
hw.cachesize: 3391291392 65536 4194304 0 0 0 0 0 0 0
hw.pagesize: 16384
hw.pagesize32: 16384
hw.cachelinesize: 128
hw.l1icachesize: 131072
hw.l1dcachesize: 65536
hw.l2cachesize: 4194304
hw.tbfrequency: 24000000
hw.memsize_usable: 37751029760
hw.packages: 1
hw.osenvironment:
hw.ephemeral_storage: 0
hw.use_recovery_securityd: 0
hw.use_kernelmanagerd: 1
hw.serialdebugmode: 0
hw.nperflevels: 2
hw.targettype: J514m
 
  • Like
Reactions: Basic75
Output from my M4 Pro:
Code:
hw.ncpu: 14
hw.byteorder: 1234
hw.memsize: 51539607552
hw.activecpu: 14
hw.perflevel0.physicalcpu: 10
hw.perflevel0.physicalcpu_max: 10
hw.perflevel0.logicalcpu: 10
hw.perflevel0.logicalcpu_max: 10
hw.perflevel0.l1icachesize: 196608
hw.perflevel0.l1dcachesize: 131072
hw.perflevel0.l2cachesize: 16777216
hw.perflevel0.cpusperl2: 5
hw.perflevel0.name: Performance
hw.perflevel1.physicalcpu: 4
hw.perflevel1.physicalcpu_max: 4
hw.perflevel1.logicalcpu: 4
hw.perflevel1.logicalcpu_max: 4
hw.perflevel1.l1icachesize: 131072
hw.perflevel1.l1dcachesize: 65536
hw.perflevel1.l2cachesize: 4194304
hw.perflevel1.cpusperl2: 4
hw.perflevel1.name: Efficiency
hw.features.allows_security_research: 0
hw.physicalcpu: 14
hw.physicalcpu_max: 14
hw.logicalcpu: 14
hw.logicalcpu_max: 14
hw.cputype: 16777228
hw.cpusubtype: 2
hw.cpu64bit_capable: 1
hw.cpufamily: 399882554
hw.cpusubfamily: 4
hw.cacheconfig: 14 1 4 0 0 0 0 0 0 0
hw.cachesize: 3742138368 65536 4194304 0 0 0 0 0 0 0
hw.pagesize: 16384
hw.pagesize32: 16384
hw.cachelinesize: 128
hw.l1icachesize: 131072
hw.l1dcachesize: 65536
hw.l2cachesize: 4194304
hw.tbfrequency: 24000000
hw.memsize_usable: 50986778624
hw.packages: 1
hw.osenvironment:
hw.ephemeral_storage: 0
hw.use_recovery_securityd: 0
hw.use_kernelmanagerd: 1
hw.serialdebugmode: 0
hw.nperflevels: 2
hw.targettype: J773s

Should have added | pbcopy after the command so users don't have to select and copy from the terminal manually. I'll get to my M1 later if no one else adds it, it's a 7core GPU variant even, I doubt that changes the cache levels but you never know.

Exactly the same on my M4 Pro Mac mini.

Except those two:

hw.memsize: 68719476736
hw.memsize_usable: 67641851904
 
Last edited:
  • Like
Reactions: Basic75
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.