![]() ![]() ![]() Kern. Kern.speculative_prefetch_max_iosize: 524288 Kern.wq_reduce_pool_window_usecs: 5000000 User.cs_path: /usr/bin:/bin:/usr/sbin:/sbin ⑥查看一级指令缓存大小 sysctl hw.l1icachesize ~ % sysctl hw.l1icachesize ⑤查看一级数据缓存大小 sysctl hw.l1dcachesize ~ % sysctl hw.l1dcachesize ④查看cpu缓存行字节大小 sysctl hw.cachelinesize ~ % sysctl hw.cachelinesize Total Number of Cores: 8 (4 performance and 4 efficiency) These tricks work on virtually all Mac OS versions and CPU architecture types. We’ll show two ways to grab a Macs CPU details from the command line of MacOS and Mac OS X. ③查看cpu基本信息 system_profiler SPHardwareDataType ~ % system_profiler SPHardwareDataType It’s actually quite easy to retrieve CPU information from the command line in Mac OS X, though the commands to use to get the processor information may be unfamiliar to many. ②查看cpu核心数 sysctl hw.activecpu ~ % sysctl hw.activecpu ①查看cpu品牌信息 sysctl _string ~ % sysctl _string ②查看一级缓存大小 cat /sys/devices/system/cpu/cpu0/cache/index0/size ~]# cat /sys/devices/system/cpu/cpu0/cache/index0/size ①查看缓存行大小 cat /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size ~]# cat /sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size Model name : AMD EPYC 7K62 48-Core Processorįlags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 aratĪddress sizes : 48 bits physical, 48 bits virtual ![]()
0 Comments
Leave a Reply. |