Intel Clear Linux: 16% more Ryzen 9 9950X performance
phoronix.com
phoronix.com
That's a staggering improvement.
However, note that some of the modern instructions like AVX-512 use a lot of electrical power on the CPU, for example pushing a 12gen Intel chip above 300W.
1) a number of backported optimization patches
2) few patches in Linux kernel and glibc that were not accepted to upstream
3) and maybe the most important part: PGO for python, php and other performance-critical components. It is a well-known fact that PGO helps interpreted languages. And it is benchmark-oriented: for example, even though PGO helps bash, they don't enable it (maybe until somebody invents bash-bench).
Some time ago I tried to apply PGO to Blender, which only hurt the performance, but that's the other story (I read it as: if application already has logical separation for kernels for CPUs, attempt to join and reseparate in PGO may hurt the performance).
[1] https://github.com/clearlinux-pkgs/php/blob/03c0859388a5d640...
Also -O3: https://www.phoronix.com/news/Ubuntu-Evaluating-O3-Optimized
I am not sure off hand how that CPU level compares to Intel Clear Linux's options. The phoronix comparison fo Ubuntu with and without v3 were mostly quite small single digit percent though, on an Intel CPU.
Notes: Canonical (Ubuntu) is my employer, I am not working on this project.
That was years ago though, and I have no idea if that's changed for the better.
This definetly used to be the case on the older Intel implementations of large SIMD instructions (my Tiger lake chip being an anecdote)!
They're so vague about which particular x86 ISA variants are compatible with the binaries.
So, e.g., a program loader doesn't necessarily verify that the binary will work on the CPU.
Or, as we see with Linux distros, they build packages for the lowest common denominator ISA.
(Note: it's been a while since I dealt with this, so I might be remembering a bit wrong.)
And pushing 13th and 14th gen chips into an early grave! /s
I've seen multiple of the usual YT suspects comment on it, but haven't seen someone clearly articulate wth is going.
> Clear Linux makes use of compiler function multi versioning, performance-minded defaults, aggressive compiler CFLAGS/CXXFLAGS defaults, optional AVX-512 usage for more libraries, and many other patches and optimizations in the name of delivering the greatest x86_64 Linux performance.
Good for fanciful numbers, perhaps not some work or scenarios
Attribute target_clones works quite well with gcc in my experience, but it is done all by hand for worthwhile functions and should interfere with inlining and short jumps.