Does anyone know where to find some good measurements of performance differences between common distros (with like hardware and config).
I’m interested to see if some perform better than others due to optimization etc
This might be controversial, but I don’t think performance between distributions is really worth considering unless you have a very niche hardware requirement.
Features and community really make the difference.
I agree. I doubt distros have meaningful differences in performance, though there might be some outliers.
I have noticed different distributions have different boot times? I remember arch being a lot faster than Ubuntu. (Maybe due to choosing to have everything included and enabled by default, or more bare bones distributions).
First of all, I think it’s important to state that the ‘default’ settings that distros ship with and thus you’re met with right after a fresh installation try to target a sweet spot in which a lot more besides performance is considered; reliability, security, stability etc. However, depending on your workload and your hardware configuration, it’s possible to have it more optimized towards performance through ‘tinkering-means’.
However workload, metrics, system and hardware configuration provide so much variability that an exhaustive comparison between distros is just hard to do right. It’s possible to find some on Phoronix (and
Reddit), but testing it yourself on your own hardware is a lot more valuable.Still, it’s possible to draw some basic conclusions based on the available data and common sense:
-
Newer versions of the kernel generally have optimizations related to performance, especially for newer hardware. So -for performance sake- it makes sense to pick a distro that always tries to stay as close as possible to the latest kernel release.
-
Overhead is in almost all cases detrimental to performance, so more minimal systems seem to score better. A lot of distros offer an ISO that’s meant for minimal installations, so those are perhaps worth checking out.
-
Compiling yourself (with performance optimizations) or using packages that have been compiled with performance optimizations in mind provide significant improvements that might be worth your time.
Beyond these three it becomes very murky, real quick. I guess (custom) kernel patches/optimizations are worth a mention, but you would have to benchmark it yourself on your own hardware to see if they’re even worth the hassle (spoiler alert: some of them should, but it’s best to stay objective and without any expectations regarding them).
I’d like to end this with naming some distros that might be worth mentioning in this discussion: Arch, CachyOS, Clear Linux, Garuda, Gentoo, Nobara and PikaOS.
-
Do not choose/judge a distribution based on performance benchmarks (this scenario makes them grossly unscientific). More important considerations to measure a distribution are things like development roadmaps, previous history, and philosophy.
Software considerations like Wayland or Xorg or Linux kernel versions (also whether its a zen kernel or not) are also important. Hardware support depends on how up to date the
linux-firmware
package of the distro is or if you’re running a libre kernel or not. These are a lot more useful than a vague definition of “performance” which if we take at face value means that only Gentoo would be on top.Not sure where to find those kind of benchmarks, but you may want to look at Gentoo. It compiles everything locally, optimising specifically for the hardware.
Former gentoo user here. Compiling everything yourself does not magically improve performance. You have to use keep track of USEFLAGS, ideally cherry picking for some package because some can cause bugs or performance regressions.
It can be really time consuming both compiling gentoo and trying different configurations. (But you’ll learn a lot of compilation/ build system knowledge along the way)
My advise is that if you have time and want to experiment and learn, sure go with gentoo. If not and performance is absolutely critical then go with Clear Linux, otherwise take your popular distro of choice, package availability and ease of use are more important than a couple of % in performance improvement IMHO.
Thanks for the info!
We know this, we’re just trying to trick OP into trying gentoo 😭
That’s how you turn the boys and girls into proper Linux using men and women.
I’ve just bounced into voidlinux and I’m very impressed by how complete* it is and how snappy. So that’s not a very objective measure, but my (old) battery life has jumped from 1.5h on fedora-38 to 2h+ under void (very similar workload). I think that’s an indication of how light-on the hardware the OS is - perhaps it’s because it’s not running systemd. If you’re looking to squeeze more out of your hardware, take a look at void!
* the only thing missing from my manifest is mythtv - firefox, libreoffice, emacs syncthing etc and it’s all the latest
DJ Ware adds detailed performance statistics to his reviews.
I don’t think it’s very useful. Easily changeable default choices should make the most notable differences. The filesystem for example. Another big factor should be the configuration and the version of the kernel and it probably changes more between updates than between distributions.