Earlier quoted context omitted.
https://wiki.debian.org/ArchitectureVariants
Hm, discussion is from 2023. Did anything come out of it?
Introducing architecture variants
81–90 of 152 posts
Re: Introducing architecture variants
#82What are the changes to dpkg and apt? Are they being shared with Debian? Could this be used to address the pesky armel vs. armel+hardfloat vs. armhf issue, or for that matter, the issue of i486 vs. i586 vs. i686 vs. the many varieties of MMX and SSE extensions for 32-bit? (There is some older text in the Debian Wiki https://wiki.debian.org/ArchitectureVariants but it's not clear if it's directly related to this effor…
Re: Introducing architecture variants
#83Earlier quoted context omitted.
At least Intel and AMD have settled on a mutually supported subset of AVX-512 instructions.
The hard part was getting Intel and Intel to agree on which subset to keep supporting.
Having a non-uniform instruction set for one package was a baffling decision.
Re: Introducing architecture variants
#84Earlier quoted context omitted.
> show that most packages show a slight (around 1%) performance improvement This takes me back to arguing with Gentoo users 20 years ago who insisted that compiling everything from source for their machine made everything faster. The consensus at the time was basically "theoretically, it's possible, but in practice, gcc isn't really doing much with the extra instructions anyway". Then there's stuff like glibc which h…
FWIW the cool thing about gentoo was the "use-flags", to enable/disable compile-time features in various packages. Build some apps with GTK or with just the command-line version, with libao or pulse-audio, etc. Nowadays some distro packages have "optional dependencies" and variants like foobar-cli and foobar-gui, but not nearly as comprehensive as Gentoo of course. Learning about some minor custom CFLAGS was just par…
There's lots of software applications out there whose official Docker images or pip wheels or whatever bundle everything under the sun to account for all the optional integrations the application has, and it's difficult to figure out which packages can be easily removed if we're not using the feature and which ones are load-bearing.
Re: Introducing architecture variants
#85Earlier quoted context omitted.
The hard part was getting Intel and Intel to agree on which subset to keep supporting.
Even on the same chip. Having a non-uniform instruction set for one package was a baffling decision.
Re: Introducing architecture variants
#86Re: Introducing architecture variants
#87Earlier quoted context omitted.
The hard part was getting Intel and Intel to agree on which subset to keep supporting.
Even on the same chip. Having a non-uniform instruction set for one package was a baffling decision.
They had two teams designing the two types of cores.
Re: Introducing architecture variants
#88What are the changes to dpkg and apt? Are they being shared with Debian? Could this be used to address the pesky armel vs. armel+hardfloat vs. armhf issue, or for that matter, the issue of i486 vs. i586 vs. i686 vs. the many varieties of MMX and SSE extensions for 32-bit? (There is some older text in the Debian Wiki https://wiki.debian.org/ArchitectureVariants but it's not clear if it's directly related to this effor…
Re: Introducing architecture variants
#89Announce was here: https://discourse.ubuntu.com/t/introducing-architecture-vari... and key point: "Previous benchmarks we have run (where we rebuilt the entire archive for x86-64-v3 57) show that most packages show a slight (around 1%) performance improvement and some packages, mostly those that are somewhat numerical in nature, improve more than that."
Are there any use cases where that 1% is worth any hassle whatsoever?
Well one example could be llama.cpp . It's critical for them to use every single extension the CPU has move more bits at a time. When I installed it I had to compile it.
This might make it more practical to start offering OS packages for things like llama.cpp
I guess people that don't have newer hardware aren't trying to install those packages. But maybe the idea is that packages should not break on certain hardware.
Blender might be another one like that which really needs the extensions for many things. But maybe you so want to allow it to be used on some oldish hardware anyway because it still has uses that are valid on those machines.