4 ms·
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 arti
by Havoc 2y ago
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 2y agoIt'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.
- bravetraveler 2y agoThey even go so far as to encourage filesystem journaling to happen less rigorously. A lot of interesting patches in their repo. Good for fanciful numbers, perhaps not some work or scenarios
- crest 2y agoCompiling 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 2y ago> 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.
- abhinavk 2y agoIn addition to what other commenters said, Clear Linux goes all the way but you can get somewhat there with CachyOS. It's Arch with compiler optimizations and targets CPUs with AVX2 and newer.