-
Notifications
You must be signed in to change notification settings - Fork 230
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 for Intel Alder Lake 12th gen processors #468
Comments
This will be quite some work due to the P- and E-cores. Each core-type has own units with maybe different amount of counters and features, see chapter 19.3.10 in Intel's SDM. It will take some time to integrate it. Besides hardware counting, I have to check whether application threads can be pinned to specific cores (P or E). If you can only pin to a single core (which switches between P and E depending on the workload), LIKWID has to setup both perfmon units to get the full counts. |
Thanks @edisonchan . That's the same documentation, I mentioned above, just a different link. The related event lists: https://download.01.org/perfmon/ADL/ |
because RPL is almost same to ADL, so plz allow me write something about the try support for RPL. I try to make some simple change with add raptorlake string into the source code hope to get RPL support according the "AddX86Support " page, some group works but ENERGY not: https://drive.google.com/file/d/1__FSDUEv1veSVCxHdVlHjjzCnrHhMzPt/view?usp=sharing
cpu2017 500_perlbench_r:
The CPU freq should be 4.0 GHz here.(4GHz was set in BIOS, and idle=poll was set in grub kernel command line) , but that is not a problem, it would be 4.0GHz if run longer heavy workload. I think if this works(need add ENERGY/rpal support), then we can quick add support for ADL in some kind(disable e-core). RPAL is enabled in my system(ubuntu 22.04 kernel 5.19), I have checked it works with "sudo s-tui" and rapl-tool(https://github.com/kentcz/rapl-tools), so I think there is some part of likwid source code (not?) need to modify to make it works. |
@edisonchan : You are very welcome to add support for Intel Raptorlake. Could you please open a new architecture issue for it. And please create a PR with your changes. It's great to ready that the AddX86Support page is helpful. Maybe there is one detail missing for RAPL. I checked rapl-tools and it also uses register 0x606. |
Why do you need support for this specific architecture?
I would like to run likwid on my laptop, however it shows the following massage:
`Cannot access directory /usr/local/share/likwid/perfgroups/unknown
CPU name: 12th Gen Intel(R) Core(TM) i7-12700H
CPU type: Unknown Intel Processor
CPU clock: 2.69 GHz
ERROR - [./src/perfmon.c:perfmon_init_maps:1162] Unsupported Processor
ERROR - [./src/perfmon.c:perfmon_init_funcs:1733] Unsupported Processor
Segmentation fault (core dumped)
`
I tried to run the command "grep -E "model|family|stepping" /proc/cpuinfo | sort -u"
cpu family : 6 model : 154 model name : 12th Gen Intel(R) Core(TM) i7-12700H stepping : 3
It would be generous if you can support this architecture in the next release.
The text was updated successfully, but these errors were encountered: