dd86k / ddcpuid

🔬 dd's x86 CPU Identification tool
MIT License
36 stars 1 forks source link

Support Hybrid Configurations (12th, 13th Gen Core) #32

Open dd86k opened 2 years ago

dd86k commented 2 years ago

There must be a way to obtain the cache/core topology on 12th Gen Core Intel processors with hybrid configurations (of P/E cores) using CPUID.

The Optimizing Software for x86 Hybrid Architecture manual may have some info, but only finding bits for HARDWARE GUIDED SCHEDULING and INTEL® THREAD DIRECTOR.

It does indicate a leaf of 0x20, higher than the reference manual from June 2021 (latest at the time of writing) of 0x1f, and oddly the manual only references 0x21 and higher as being invalid.

It's in CPUID.1Fh, but I know no one with such processor.

dd86k commented 2 years ago

Update: CPUID.20h is uninteresting image

Source: Intel® Architecture Instruction Set Extensions and Future Features Programming Reference May 2021 319433-044 §1.5

dd86k commented 1 year ago

Related tickets:

dd86k commented 1 year ago

I believe I have to call GetLogicalProcessorInformationEx with RelationProcessorCore and maybe check PROCESSOR_RELATIONSHIP.EfficiencyClass to maybe get something useful.

And/or try putting thread priority to High or something.

Waiting until I get a processor of my own to do this kind of test.

dd86k commented 1 year ago

cpufetch currently has this as I thought due to Intel's HybridDetect.

Pathetic Intel moment.