How can Trisquel's boot time be so fast?

5 replies [Last post]
anonymous

I've had Debian installed on my Laptop before and after entering my LUKS password, it took an estimated 10-20 seconds or so to reach lightdm. With Trisquel, it's a matter of one or two seconds! That's absolutely nuts and I don't understand why that would be the case. Were any special steps taken to make the boot faster?

kenogo (not verified)

I didn't change from an HDD to an SSD or anything. Just installed Trisquel on exactly the same hardware that Debian used to be on (both on an SSD).

chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

> I've had Debian installed on my Laptop before and after entering my
> LUKS password, it took an estimated 10-20 seconds or so to reach
> lightdm. With Trisquel, it's a matter of one or two seconds! That's
> absolutely nuts and I don't understand why that would be the case.
> Were any special steps taken to make the boot faster?

Your Debian system might have been starting more services while booting,
or one particular service was holding everything up. It's hard to say
since it sounds like you've since erased thew Debian system.

chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

> Your Debian system might have been starting more services while booting,
> or one particular service was holding everything up. It's hard to say
> since it sounds like you've since erased thew Debian system.

For future reference though, after booting you can run

$ systemd-analyze blame

To see which services started and how long each took.

kenogo (not verified)

That's handy, thanks!

calher

I am a member!

Offline
Joined: 06/19/2015

Canonical and Ubuntu have been known to prioritize boot time. Perhaps
Trisquel inherited it from these endeavors.