Skip to content

Instantly share code, notes, and snippets.

@0x77dev
Last active October 30, 2022 20:56
Show Gist options
  • Save 0x77dev/3298e4b1f0742332750e608e809b1464 to your computer and use it in GitHub Desktop.
Save 0x77dev/3298e4b1f0742332750e608e809b1464 to your computer and use it in GitHub Desktop.
Information about Apple Silicon GPUs on different M1 laptops
https://twitter.com/linaasahi/status/1586575362225369088
@asahilina tweeted:
```
Hi everyone! I'm looking at per-device GPU data, and I want to collect examples!
Can you help out by running this command from macOS? ✨
ioreg -l|egrep 'gpu-core-count|AGXParameterBufferMax|GPUConfiguration|shared-region-base|class IOPlatformExpertDevice|perf-states|OS Build'
```
Both M1 and M1 Max data included down below:
| "OS Build Version" = "21G83"
+-o J293AP <class IOPlatformExpertDevice, id 0x100000227, registered, matched, active, busy 0 (240315 ms), retain 33>
| | | | "perf-states" = <0000000090010000007b9a174e02000000a4781f710200000054ea2aa3020000001f1337fd02000000ea3b435803000080bb2c4ca0030000>
| | | | "gfx-shared-region-base" = <0080f7ff0b000000>
| | | | "gpu-num-perf-states" = <06000000>
| | | | "AGXParameterBufferMaxSizeEverMemless" = 574881792
| | | | "AGXParameterBufferMaxSizeNeverMemless" = 287440896
| | | | "gpu-core-count" = 8
| | | | "AGXParameterBufferMaxSize" = 862322688
| | | | "GPUConfigurationVariable" = {"gpu_gen"=13,"num_gps"=4,"num_cores"=8,"core_mask_list"=(255),"num_frags"=8,"num_mgpus"=1}
| "OS Build Version" = "21G115"
+-o J314cAP <class IOPlatformExpertDevice, id 0x10000026f, registered, matched, active, busy 0 (254174 ms), retain 38>
| | | | "perf-states-sram" = <0000000016030000009e2c171603000080c5f71c1603000000b29f2616030000003c592e16030000008bef391603000000643f4d770300000000000016030000009e2c171603000080c5f71c1603000000b29f2616030000003c592e16030000008bef391603000000643f4d770300000000000016030000009e2c171603000080c5f71c1603000000b29f2616030000003c592e16030000008bef391603000000643f4d770300000000000016030000009e2c171603000080c5f71c1603000000b29f2616030000003c592e16030000008bef391603000000643f4d77030000>
| | | | "perf-states-sram1" = <0000000016030000009e2c171603000080c5f71c1603000000b29f2616030000003c592e16030000008bef391603000000643f4d77030000>
| | | | "perf-states1" = <0000000090010000009e2c177702000080c5f71c9002000000b29f26a9020000003c592ece020000008bef390a03000000643f4d77030000>
| | | | "perf-states-sram2" = <0000000016030000009e2c171603000080c5f71c1603000000b29f2616030000003c592e16030000008bef391603000000643f4d77030000>
| | | | "perf-states" = <0000000090010000009e2c177702000080c5f71c9002000000b29f26a9020000003c592ece020000008bef390a03000000643f4d770300000000000090010000009e2c177702000080c5f71c9002000000b29f26a9020000003c592ece020000008bef390a03000000643f4d770300000000000090010000009e2c177702000080c5f71c9002000000b29f26a9020000003c592ece020000008bef390a03000000643f4d770300000000000090010000009e2c178602000080c5f71c9602000000b29f26a9020000003c592ed1020000008bef390a03000000643f4d77030000>
| | | | "perf-states-sram3" = <0000000016030000009e2c171603000080c5f71c1603000000b29f2616030000003c592e16030000008bef391603000000643f4d77030000>
| | | | "perf-states2" = <0000000090010000009e2c177702000080c5f71c9002000000b29f26a9020000003c592ece020000008bef390a03000000643f4d77030000>
| | | | "gfx-shared-region-base" = <0080f7ff07010000>
| | | | "gpu-num-perf-states" = <06000000>
| | | | "perf-states3" = <0000000090010000009e2c178602000080c5f71c9602000000b29f26a9020000003c592ed1020000008bef390a03000000643f4d77030000>
| | | | "AGXParameterBufferMaxSizeEverMemless" = 574881792
| | | | "AGXParameterBufferMaxSizeNeverMemless" = 287440896
| | | | "gpu-core-count" = 24
| | | | "AGXParameterBufferMaxSize" = 862322688
| | | | "GPUConfigurationVariable" = {"gpu_gen"=13,"num_gps"=16,"num_cores"=32,"core_mask_list"=(237,237,237,237),"num_frags"=32,"num_mgpus"=4}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment