Linux 5.13 To Add Perf Support For Intel Alder Lake

Written by Michael Larabel in Intel on 24 April 2021 at 08:37 AM EDT. 17 Comments
INTEL
Queued this week into perf/core ahead of the imminent Linux 5.13 merge window is perf subsystem bring-up for Intel's next-gen Alder Lake processors.

Supporting the performance counters/events for Intel Alder Lake processors was more tricky than their usual new CPU enablement due to the new hybrid architecture. With Alder Lake featuring a mix of Golden Cove high performance cores and the low-power Gracemont cores, special handling is necessary within the perf subsystem and other select areas of the kernel due to the different capabilities between the high performance and power-saving CPU cores.

The Intel perf code within the Linux kernel saw hybrid PMU support introduced and a lot of other code refactoring needed due to the hybrid design of Alder Lake. Within the context of perf, the Golden Cove cores are using the cpu_core PMU while the Gracemont cores are using the cpu_atom PMU. These PMUs support different capabilities with "cpu_core" being similar to Sapphire Rapids while "cpu_atom" is close to Tremont.

One of the patches does note that with Intel Alder Lake platforms, from the BIOS it will be possible to disable the CPU cores of a particular CPU type. This capability will also exist from the Linux command line as well, in making for interesting benchmark comparisons and testing.

The perf bring-up for Intel Hybrid Technology and Alder Lake is in perf/core ahead of the Linux 5.13 cycle kicking off.

Intel 12th Gen Core "Alder Lake" processors are expected to debut later this calendar year. At this point it appears most of the Alder Lake enablement work is out there and on its way into appearing in upstream, released components prior to launch. Stay tuned for more on the Linux support/status as the launch nears.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week