[HN Gopher] Intel Clear Linux: 16% more Ryzen 9 9950X performance
       ___________________________________________________________________
        
       Intel Clear Linux: 16% more Ryzen 9 9950X performance
        
       Author : abhinavk
       Score  : 30 points
       Date   : 2024-08-20 16:57 UTC (6 hours ago)
        
 (HTM) web link (www.phoronix.com)
 (TXT) w3m dump (www.phoronix.com)
        
       | tiffanyh wrote:
       | PHP: 2x perf with Clear Linux vs Ubuntu
       | 
       | That's a staggering improvement.
       | 
       | https://www.phoronix.com/review/linux-os-amd-ryzen9-9950x/6
        
         | RachelF wrote:
         | That's what comes with actually using the instruction set of
         | modern CPU's instead of the lowest common denominator
         | instruction set.
         | 
         | 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.
        
           | Arrath wrote:
           | > for example pushing a 12gen Intel chip above 300W
           | 
           | And pushing 13th and 14th gen chips into an early grave! /s
        
       | jmakov wrote:
       | Any benefits if you compile your own code base?
        
       | Havoc wrote:
       | The per OS divergence on benchmarks on these chips seem weird.
       | 
       | I've seen multiple of the usual YT suspects comment on it, but
       | haven't seen someone clearly articulate wth is going.
        
         | autoexecbat wrote:
         | It's the compilers.
         | 
         | > 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.
        
         | crest wrote:
         | Compiling a few dozen important libraries with a higher x86_64
         | instruction version unlocking AVX2 or even AVX-512 by default
         | can make a large difference. Normally these optimisations
         | aren't used by distro packages because the libraries aren't
         | written in such a way that one binary runs as fast as possible
         | on new CPUs and still runs at all on older CPUs. Instead
         | processes just crash with an illegal instruction exception (aka
         | SIGILL). The tooling exists to allow such libraries and
         | executables to be created and have the runtime linker pick the
         | right implementation at link time, but support for it is
         | spotty.
        
           | rightbyte wrote:
           | > The tooling exists to allow such libraries and executables
           | to be created and have the runtime linker pick the right
           | implementation at link time, but support for it is spotty.
           | 
           | 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.
        
       ___________________________________________________________________
       (page generated 2024-08-20 23:01 UTC)