1 Star 0 Fork 0

softxing / CpuTopologySync

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

CpuTopologySync

Build Status Scan Status

Activate efficient cores in Alder Lake CPUs on macOS. The kext additionally requires a kernel patch:

Base:    _cpuid_set_info
Find:    B9 35 00 00 00 0F 32
Replace: B8 14 00 0A 00 31 D2
Count:   2
Comment: Set core_count = 0x0A, thread_count = 0x14
Identifier: kernel

Here 0x0A and 0x14 are effective core count and thread count. For any Alder Lake CPU the amount of threads should be twice bigger than the amount of cores. Therefore, while for the i5 the values are 0x0A and 0x14 for an i9 the values will be 0x10 and 0x20 correspondingly.

Enabling efficient cores additionally lowers CPU ring buffer frequency and disables AVX-512. Furthermore, macOS scheduler is not optimised for the asymmetric CPU topology. For these reasons real-world performance may often be lower even compared to the configurations with efficient cores completely disabled, single thread performance in particular.

Credits

  • Apple for macOS
  • vit9696 for writing the software and maintaining it

Repository Comments ( 0 )

Sign in to post a comment

About

https://github.com/acidanthera/CpuTopologySync expand collapse
Cancel

Releases (1)

All

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/softxing/CpuTopologySync.git
git@gitee.com:softxing/CpuTopologySync.git
softxing
CpuTopologySync
CpuTopologySync
master

Search