Jump to content

What is the fastest Linux distro?

I don't believe Google results, and I am asking this in a more technical way. What is the fastest Linux distro? Not necessarily the lightest but these both terms are inter-related. So that would be a distro that uses a different init system than Systemd. I have only tried Runit, and it is faster than Systemd, but is there anything even faster? That distro could be using a more optimized config for the Kernel compilation, and maybe booting up with a non compressed Kernel? Does such a distro exist?

 

This is only for experimental purposes, and I would typically never switch to an obscure distro than the main line ones.

Microsoft owns my soul.

 

Also, Dell is evil, but HP kinda nice.

Link to comment
Share on other sites

Link to post
Share on other sites

Assuming you don't have a NVIDIA GPU, Try Alpine it's a minimal distro that uses OpenRC and is built on musl libc and busybox.

Edited by Nayr438
Link to comment
Share on other sites

Link to post
Share on other sites

In my experience the fastest one is CachyOS. And Falkon the fastest browser.

Asus Zephurs Duo 2023:

 

CPU: 7945HX

GPU: 4090M

OS: BazziteOS

Link to comment
Share on other sites

Link to post
Share on other sites

I would say Calculate Linux, Devuan and Clear Linux have the fastest system startup times of all the Linux systems. (on modern hardware)

 

CPU performance will depend on the specific app or game, and many other factors.

OS: FreeBSD 13.3  WM: bspwm  Hardware: Intel 12600KF -- Kingston dual-channel CL36 @6200 -- Sapphire RX 7600 -- BIOSTAR B760MZ-E PRO -- Antec P6 -- Xilence XP550 -- ARCTIC i35 -- EVO 850 500GB

Link to comment
Share on other sites

Link to post
Share on other sites

On 4/29/2024 at 2:16 PM, Gat Pelsinger said:

I don't believe Google results, and I am asking this in a more technical way. What is the fastest Linux distro? Not necessarily the lightest but these both terms are inter-related. So that would be a distro that uses a different init system than Systemd. I have only tried Runit, and it is faster than Systemd, but is there anything even faster? That distro could be using a more optimized config for the Kernel compilation, and maybe booting up with a non compressed Kernel? Does such a distro exist?

 

This is only for experimental purposes, and I would typically never switch to an obscure distro than the main line ones.

Systemd is not slower than any other init system. If configured incorrectly, or when running too many useless startup services, it can seem slow, but at its core it's about as fast as it gets.

 

As mentioned, one of the most performance oriented distributions is clear linux and unsurprisingly it uses systemd.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

On 4/29/2024 at 8:16 AM, Gat Pelsinger said:

I don't believe Google results, and I am asking this in a more technical way. What is the fastest Linux distro? Not necessarily the lightest but these both terms are inter-related. So that would be a distro that uses a different init system than Systemd. I have only tried Runit, and it is faster than Systemd, but is there anything even faster? That distro could be using a more optimized config for the Kernel compilation, and maybe booting up with a non compressed Kernel? Does such a distro exist?

 

This is only for experimental purposes, and I would typically never switch to an obscure distro than the main line ones.

I question why the performance matters? I can make any distro faster than anything anyone here would list just you like can.

Why because it open source software that I can compile myself using flags optimized for my specific hardware.

That doesn't mean I want to. Then again I do use Gentoo.

Link to comment
Share on other sites

Link to post
Share on other sites

It'd help if we knew your use case. Fastest at what? Bootup? Rendering? GPU tasks? Computing Pi? Opening Firefox? Making you coffee?

Link to comment
Share on other sites

Link to post
Share on other sites

On 4/29/2024 at 5:16 AM, Gat Pelsinger said:

I don't believe Google results, and I am asking this in a more technical way. What is the fastest Linux distro? Not necessarily the lightest but these both terms are inter-related. So that would be a distro that uses a different init system than Systemd. I have only tried Runit, and it is faster than Systemd, but is there anything even faster? That distro could be using a more optimized config for the Kernel compilation, and maybe booting up with a non compressed Kernel? Does such a distro exist?

 

This is only for experimental purposes, and I would typically never switch to an obscure distro than the main line ones.

If you want everything tailored for your machine then gentoo linux is the obvious choice. You can try out artix linux which is systemd-less arch. If you really really want everything to be done the way you want it to be done as I have seen from your other posts then LFS is the answer. Do note when installing/making LFS you should be VERY comfortable in how linux works(ie subsystems the kernel schedulers and much more). Its a good challenge and you will really learn how linux works instead of "learning how linux works by doing something like installing arch manually etc." Here is the wiki if you want to get a feel/taste for LFS: https://wiki.linuxfromscratch.org/lfs/

 

Do note that LFS does not come with a package manager and you have to make it yourself! 

Link to comment
Share on other sites

Link to post
Share on other sites

On 5/1/2024 at 10:17 AM, Sauron said:

Systemd is not slower than any other init system.

Debatable. 

Link to comment
Share on other sites

Link to post
Share on other sites

On 5/4/2024 at 1:28 AM, goatedpenguin said:

Debatable. 

From a purely "intuitive" point of view, S6 or runit should be quickest as there is no "dynamic" scripting going on - you do those "calculations" and store them as a static boot process, but you can do the same (almost) by careful dependency management in config files and parallel startup with others, forcing "the optimal solution" to be simple to find.

Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, Ralphred said:

From a purely "intuitive" point of view, S6 or runit should be quickest as there is no "dynamic" scripting going on - you do those "calculations" and store them as a static boot process, but you can do the same (almost) by careful dependency management in config files and parallel startup with others, forcing "the optimal solution" to be simple to find.

Since systemd is ass and init is better can you explain to me what is the difference between openrc(and other init systems) vs vanilla init? 

Link to comment
Share on other sites

Link to post
Share on other sites

A bit unusual, but tinycore would be my vote.

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, thiccbeard4linux said:

A bit unusual, but tinycore would be my vote.

Is that actually usable though?

Microsoft owns my soul.

 

Also, Dell is evil, but HP kinda nice.

Link to comment
Share on other sites

Link to post
Share on other sites

15 hours ago, goatedpenguin said:

can you explain to me what is the difference

So, the reason systemd was lauded as "fast" is because all the dependency calculations and service start-up is done as a function of compiled code and not scripted.

What this ignores is that systems like runit and S6 have a "static dependency tree" pre-configured essentially sidestepping a lot of "spent time" at boot.

One of the limitations with systemd is that you are tied to the "in built functionality", so anything that goes slightly off piste means building two services, one that does the "checking you would do naturally" within svinit scripts, then one that depends on it to run the actual service. I think there are some legs in not using udev too, but would have to read up on it.

 

Whilst @Gat Pelsinger is trying to make a system boot fast, there are many layers of optimisation that can be gone through, but each requires a new level of understanding of the underlying system, and steps to remove "dynamic" solutions* to his known static system.

 

*A small list would include

  1. No bootloader
  2. No initrd
  3. Choice of compiler and glibc
  4. Module less kernel (plus other kernel tweaks)
  5. Pre-configured init system
  6. back-grounding of non-essential services

 

@Gat Pelsinger, mate short of going full basement dweller and installing LFS, just swallow the time cost and install Gentoo. It's "not really a distro" just a set of tools for "building your own OS", it will give you luxury of a working system whilst you work to understand the tweaks you can make to speed things up (a lot of which are OoTB options). You've got a machine capable of the heavy lifting in the long term, you can run up a binhost or "compiler helper" in a VM to simplify updates etc.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×