Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dd86k opened this issue Nov 20, 2021 · 4 comments
Open

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

dd86k opened this issue Nov 20, 2021 · 4 comments
Assignees

Comments

@dd86k
Copy link
Owner

dd86k commented Nov 20, 2021

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 dd86k self-assigned this Nov 20, 2021
@dd86k
Copy link
Owner Author

dd86k commented Dec 18, 2021

Update: CPUID.20h is uninteresting
image

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

@dd86k dd86k added this to To do in v0.21 Feb 22, 2022
@dd86k dd86k removed this from To do in v0.21 Sep 22, 2022
@dd86k dd86k changed the title Support Alder Lake Hybrid Configuration Support Alder Lake Hybrid Configuration (12th, 13th Gen Core) Oct 3, 2022
@dd86k
Copy link
Owner Author

dd86k commented Oct 5, 2022

@dd86k dd86k changed the title Support Alder Lake Hybrid Configuration (12th, 13th Gen Core) Support Hybrid Configurations (12th, 13th Gen Core) Oct 12, 2022
@dd86k dd86k pinned this issue Oct 12, 2022
@dd86k
Copy link
Owner Author

dd86k commented Oct 19, 2022

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 dd86k added the library ddcpuid library label Jan 10, 2023
@dd86k
Copy link
Owner Author

dd86k commented Jan 12, 2023

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

Pathetic Intel moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant