Boot time of EndeavourOS

Hello everyone,

I tried MX Linux on my laptop. Then I changed back to EndeavourOS because it works better on my Hardware and it has the latest software.

What I realized is, that MX Linux boots up the way faster than EndeavourOS. I’m wondering where the difference is. On both OS I used the Xfce DE and an encrypted harddisk. A difference is that MX Linux uses sysVinit and EndeavourOS systemd. I know there already were a lot of debates why systemd is good or bad. I also read articles that systemd is fast because it loads everything at once. But is doesn’t seem so.
Maybe there are other reasons?
Does the file system make any difference in performence? btrfs VS ext4?
What are the drawbacks of using sysVinit istead of systemd?

Can you give us an idea of how much difference you are talking about? How long do both take to startup?

What does systemd-analyze and systemd-analyze blame say? Others say that systemd is slower on boot than other init systems but I can’t really see huge differences.

1 Like

I do some measuring and report back.

Problem:
I have to reinstall MX Linux on my laptop that I have the same conditions for both systems.
Maybe I do it tonight, when my son is in bed.
When he sees me working on my laptop, he wants to play on the laptop. :wink:

1 Like

I don’t need an exact measurement. When people say their boot is slow sometimes them mean they expect to take 6 seconds and it takes 8 seconds. Others mean it takes 10 minute to boot instead of 1.

I was just looking for a rough order of magnitude to see if it is normal or if something is wrong.

2 Likes

Don’t reinstall MX Linux, no need for that. Unfortunately, boot time on soystemd tends to be slightly slower than with SysVinit, everything else being equal. There is nothing practical you can do about that, except not use EndeavourOS. But we are usually talking about couple of seconds more, not anything dramatic.

Unless your hardware is really old, EndeavourOS shouldn’t be very slow when booting, so maybe you have something that is slowing it down. Run the commands @bitterhalt suggested above and share the output here.

1 Like

I have a ThinkPad E15 Gen 2.
Not really old. :wink:

I realized that especially decryption of my harddrive takes longer than in MX and obviously needs more ressources. My fans rev up extremely during the decryption process.
In MX you enter password and a second later the bootprocess continues. You hear no sound from the fans.
On EndeavourOS I have to wait about 7 Seconds until it sais “slot 0 open” and bootprocess contiues. Then it gets stuck for 2 seconds where my drives are listed, and it contiues to the login screen. I have a clean install of the system.

We’re only talking about about 10 to 13 seconds. Nothing moving.

I try it a bit later with the console commands mentioned above.

This is not because of systemd, it is grub. When you select grub as the bootloader for EOS, we use an encrypted /boot. This means that grub does the decryption without the benefit of hardware acceleration.

If you switch to an unencrypted /boot or choose systemd-boot during the install process, the decryption will be much faster.

4 Likes

That sounds plausible. I use GRUB because I want to use the grub btrfs function together with timeshift and autosnap.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.