Linux 6.16’s New “X86_NATIVE_CPU” Possibility Enhances I/O & Some Graphics/Gaming Workloads

This web page was created programmatically, to learn the article in its unique location you possibly can go to the hyperlink bellow:
https://www.phoronix.com/review/linux-616-x86-native-cpu
and if you wish to take away this text from our web site please contact us


With the newly-released Linux 6.16 kernel there may be the brand new X86_NATIVE_CPU construct possibility if eager to optimize your kernel construct in your native CPU in use. Enabling CONFIG_X86_NATIVE_CPU is setting the “-march=native” compiler optimizations for the kernel construct in an effort to make sure peak efficiency/optimizations for the native system. Here are some benchmarks wanting on the influence of X86_NATIVE_CPU on Linux 6.16 whereas utilizing the HP ZBook Ultra G1a laptop computer with AMD Strix Halo SoC as an attention-grabbing check goal for squeezing extra efficiency.

Linux 6.16 CONFIG_X86_NATIVE_CPU build

The CONFIG_X86_NATIVE_CPU possibility will be helpful for these constructing their very own kernel as a Linux fanatic and wanting to make sure peak efficiency. The X86_NATIVE_CPU possibility may additionally have some curiosity by these administering HPC clusters and the like with a complete fleet of methods all utilizing the identical CPU household and striving for optimum Linux efficiency. With the “-march=native” compiler optimizations it is not sensible for distribution vendor kernels and the like or different generic kernel photographs.

CONFIG_X86_NATIVE_CPU

I’ve been wanting to run some CONFIG_X86_NATIVE_CPU on/off significantly with many upstream kernel builders having for years debated the deserves of compiler optimizations for the Linux kernel and a few additionally being towards them on account of growing the issue of debugging such kernel builds. In any occasion for as we speak’s article with the HP ZBook Ultra G1a that includes the AMD Ryzen AI Max+ PRO 395 “Strix Halo” I ran some benchmarks of a Linux 6.16 kernel construct after which the identical kernel construct however with CONFIG_X86_NATIVE_CPU=y.

Linux 6.16 CONFIG_X86_NATIVE_CPU Kernel On AMD Strix Halo

The kernel construct configuration was derived from the Ubuntu Mainline Kernel PPA configuration and simply dropping the Debian key references after which toggling whether or not CONFIG_X86_NATIVE_CPU was set. GCC 14.2 because the inventory compiler of Ubuntu 25.04 was used for constructing the enabled/disable kernels being in contrast from this similar laptop computer. The CPU energy consumption was additionally monitored throughout this comparability.


This web page was created programmatically, to learn the article in its unique location you possibly can go to the hyperlink bellow:
https://www.phoronix.com/review/linux-616-x86-native-cpu
and if you wish to take away this text from our web site please contact us

Leave a Reply

Your email address will not be published. Required fields are marked *