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

wrong core name on i7-8565U: should be "Whiskey Lake", not "Comet Lake" #298

Closed
miku opened this issue Oct 6, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@miku
Copy link

miku commented Oct 6, 2024

As the title says, the Microarchitecture field seems to be off on an i7-8565U, which is an 8th gen Intel Core CPU, codenamed Whiskey Lake (not Comet Lake).

  1. Exact CPU Model: Intel Core i7-8565U
  2. Operating System: Linux, Debian 12.7
  3. Output of cpufetch
$ cpufetch 

                                                              
                                                              
                                                              
                                                              Name:              Intel Core i7-8565U
                                                              Microarchitecture: Comet Lake
                                                              Technology:        14nm
                                                              Max Frequency:     4.600 GHz
                                                              Cores:             4 cores (8 threads)
                                                              AVX:               AVX,AVX2
                                                              FMA:               FMA3
                                                              L1i Size:          32KB (128KB Total)
                                                              L1d Size:          32KB (128KB Total)
                                                              L2 Size:           256KB (1MB Total)
                                                              L3 Size:           8MB
                                                              Peak Performance:  588.80 GFLOP/s
                                                              
                                                              
                                                              
                                                              


  1. Debug:
$ cpufetch -d
cpufetch v1.02 (Linux x86_64 build)
Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
- Max standard level: 0x00000016
- Max extended level: 0x80000008
- CPUID dump: 0x000806EC

Refs:

@Dr-Noob
Copy link
Owner

Dr-Noob commented Oct 7, 2024

Interesting! I saw your patch (#297), but it's incorrect. The CPUID 000806EC can correspond to either Whiskey Lake (e.g., your CPU) or Comet Lake (e.g., this CPU).

I have pushed a new patch to main, can you please build from source and check if that works as expected?

@Dr-Noob Dr-Noob added the bug Something isn't working label Oct 7, 2024
@miku
Copy link
Author

miku commented Oct 7, 2024

Thanks for the clarification @Dr-Noob - as the CPUID is

a combination of the processor family, processor model, and processor stepping

I assumed it to be unique (per cpu designation), but seemingly I was wrong.

Patch on main now yields "Whiskey Lake", as expected on a i7-8565U.

@Dr-Noob
Copy link
Owner

Dr-Noob commented Oct 7, 2024

Well, CPUID is supposed to be unique, and it actually is in >99% of the cases. But, for some reason I don't yet understand, Intel messed it up in the Kaby Lake/Whiskey Lake/Comet Lake CPUs and there are clashes sometimes. I would like to find an official answer for this but I don't have it at the moment. In the meantime I just try to make cpufetch as accurate as possible, so thanks for reporting. Glad to know it works properly, closing the issue 👍 .

@Dr-Noob Dr-Noob closed this as completed Oct 7, 2024
@miku
Copy link
Author

miku commented Oct 7, 2024

Thanks for this awesome project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants