New AMD Linux Patches Aim To Further Boost Performance For Heterogeneous CPU Designs
([AMD] 4 Hours Ago
Better Performance)
- Reference: 0001495797
- News link: https://www.phoronix.com/news/AMD-Linux-Hetero-Max-Detect
- Source link:
A new set of patches from AMD Linux engineers today aim to boost the performance for heterogeneous CPU designs such as the recent Ryzen AI 300 "Strix Point" SoCs that have multiple core types.
Hitting the Linux kernel mailing list today is a new set of patches for properly detecting maximum performance values of heterogeneous AMD CPU designs. AMD Linux engineer Mario Limonciello explained in the patch series:
"AMD heterogeneous designs such as the Ryzen AI 300 series processors have multiple core types that can reach different maximum clock values.
This series uses the CPUID Fn_0x80000026 to detect such designs and to correct configure the boost numerator that is used to calculate maximum frequency.
...
AMD heterogeneous designs include two types of cores:
* Performance
* Efficiency
Each core type has different highest performance values configured by the platform. Drivers such as `amd_pstate` need to identify the type of core to correctly set an appropriate boost numerator to calculate the maximum frequency.
X86_FEATURE_HETERO_CORE_TOPOLOGY is used to identify whether the SoC supports heterogeneous core type by reading CPUID leaf Fn_0x80000026.
On performance cores the scaling factor of 196 is used. On efficiency cores the scaling factor is the value reported as the highest perf. Efficiency cores have the same preferred core rankings."
See [1]this patch series for those interested in this latest AMD Ryzen Linux performance work. It should help at least Ryzen AI 300 laptops and future heterogeneous designs.
I will be running some benchmarks in the coming days of these patches on the [2]Ryzen AI 9 365 and [3]Ryzen AI 9 HX 370 laptops that I have around.
[1] https://lore.kernel.org/linux-acpi/20241003213759.3038862-1-superm1@kernel.org/T/#m09162a4c838704d86e42d30c7276e798b0742c03
[2] https://www.phoronix.com/review/amd-ryzen-ai-9-365
[3] https://www.phoronix.com/review/amd-ryzen-ai-9-hx-370
Hitting the Linux kernel mailing list today is a new set of patches for properly detecting maximum performance values of heterogeneous AMD CPU designs. AMD Linux engineer Mario Limonciello explained in the patch series:
"AMD heterogeneous designs such as the Ryzen AI 300 series processors have multiple core types that can reach different maximum clock values.
This series uses the CPUID Fn_0x80000026 to detect such designs and to correct configure the boost numerator that is used to calculate maximum frequency.
...
AMD heterogeneous designs include two types of cores:
* Performance
* Efficiency
Each core type has different highest performance values configured by the platform. Drivers such as `amd_pstate` need to identify the type of core to correctly set an appropriate boost numerator to calculate the maximum frequency.
X86_FEATURE_HETERO_CORE_TOPOLOGY is used to identify whether the SoC supports heterogeneous core type by reading CPUID leaf Fn_0x80000026.
On performance cores the scaling factor of 196 is used. On efficiency cores the scaling factor is the value reported as the highest perf. Efficiency cores have the same preferred core rankings."
See [1]this patch series for those interested in this latest AMD Ryzen Linux performance work. It should help at least Ryzen AI 300 laptops and future heterogeneous designs.
I will be running some benchmarks in the coming days of these patches on the [2]Ryzen AI 9 365 and [3]Ryzen AI 9 HX 370 laptops that I have around.
[1] https://lore.kernel.org/linux-acpi/20241003213759.3038862-1-superm1@kernel.org/T/#m09162a4c838704d86e42d30c7276e798b0742c03
[2] https://www.phoronix.com/review/amd-ryzen-ai-9-365
[3] https://www.phoronix.com/review/amd-ryzen-ai-9-hx-370
phoronix