How long does your Linux desktop/laptop computer take to boot into desktop?
‼️NOTE: This is cold boot time, not waking up from hibernation. You may include Windows boot time only if you disabled "fast boot" as it uses hibernation.
- Subtract boot menu cooldown if it was included.
- Do 𝗡𝗢𝗧 answer according to "systemd-analyze".
- Use a chronometer (stopwatch) for true result.
- 𝗜𝗡𝗖𝗟𝗨𝗗𝗘 login screen time. I want to know the time it takes to get to your working environment. GUI or not.
@murtezayesil artix/openrc without a display manager but differs 3-4 secs at most if i use a display manager or systemd
@murtezayesil I got one more question 😄. Are we adding the time it takes to enter the password on login screen?
Time it takes to get to environment you work on.
If you use GNOME, KDE, Mate, i3wm etc. you should include the time computer takes to drop you into a 𝘂𝘀𝗮𝗯𝗹𝗲 desktop.
If you work on CLI, time it takes to present you a 𝘂𝘀𝗮𝗯𝗹𝗲 shell prompt.
If you work and open browser in LightDM without logging in, you may omit time to enter the password 😜
@murtezayesil Great. Then my boot time is greater than 10 seconds. ~18. I can shave off 5 seconds if I booted straight to desktop.
I am on Artix with OpenRC instead of systemd. The previous Arch installation was with systemd and the boot time kept getting longer and longer for no reason and I was also afraid of disabling something I know nothing about. And this 4 year old laptop runs on an SSD.
I hopped away from Pop_OS! for a similar reason. System would get slower in a short period like a month. I also use SSD on this soon-to-be 4 years old laptop. Given that I barely filled 50% of the SSD while on I can't really put my finger on why it slowed down.
I never had this behaviour on Manjaro, Solus or Ubuntu.
@murtezayesil Debian, systemd and I use LXDE. Typing in my username and password takes just over half the time, and systemd takes much of the rest.
I think it takes around 7 seconds (including GRUB, provided I press enter); it's definitely less than 10. It'd be faster, but I've got a load of useless stuff installed (e.g. cjdns, Yggdrasil, MariaDB…) that slows down the systemd part of the boot process.
@murtezayesil Gentoo, OpenRC, no display/login manager, and I use a minimum amount of services in general. Total time is barely on the edge, at 9.68 seconds.
My record is with using Gentoo and Runit, reaching a whopping 7 seconds flat. Though that's not my current setup so I'm sure it doesn't count. 😅
I actively refuse to use systemd for a *lot* of reasons, but one of the biggest ones is that is that systemd always takes minutes to boot for me.
@murtezayesil Well shoot, these are reboot times not cold boot times. Sorry about that, next time my PC turns off I'll need to time it from a shutdown state.
No need to worry about that. Shutdown takes around 4 seconds even on a distro with systemd. I still expect it to be under 10s for you.
I have a low-end laptop that takes 35 seconds to boot fairly clean installation of Solus. I want to either disable or delay some services to speed up that boot time. But I am scared to break some stuff and possibly even render my system unbootable. I really want to half that and better learn what it takes to boot a system.
Encryption causes negligible (around 2%) performance drop if it is done on hardware. I don't know about performance impact of encryption on software.
I used to do full disk encryption on Pop_OS! because it offers that option during installation. I am on Solus and not using disk encryption. Not encrypting cuts around 5 seconds from boot (including time it takes to enter the password).
@murtezayesil Mine is 65 seconds mostly because of the daft decision on Linux Mint's part to put "flatpak update" early in the startup cycle.
People avoid snaps and use flatpaks. I avoid both and use AppImage. It helps with reducing update sizes as well.
There is a way to add timer for systemd services. It sounds like Flatpak doesn't give a .timer for its updater service. So it executes that update command on boot. You can write your own timer for it and force Flatpak to update at specific time or day or both.
Here is a comment that can help you with that: https://github.com/flatpak/flatpak/issues/1399#issuecomment-403065567
And also an article on how to write systemd timers: https://linuxconfig.org/how-to-schedule-tasks-with-systemd-timers-in-linux
@murtezayesil I'm right around 30s including typing my password and waiting for my auto-start apps to launch.
@murtezayesil my laptop takes about a minute to boot but a decent chunk of that to decrypting my hard drive.
@murtezayesil Discounting the 5s grub take to run in average my laptop takes 10s. I recorded a crappy video quickly. Sorry for the disorder but I have just wake up 😂😂.
I am running:
ArtixLinux without any login manager. My init is S6 and In the starting I added some services like Syncthing and two proprietary crap I need for my job. The SSD disk help a lot too.
I have an SSD too which helped boot time reduce from 75seconds to 35 seconds. Around 12 seconds or so is the firmware which I cannot (or have no courage to) replace.
@murtezayesil Removing services from the boot will help you to reduce the times for sure. Which firmware do you refer? BIOS/UEFI?
UEFI. Or the time it takes to remove that LENOVO banner from the screen and gets to systemd-boot menu.
Gentoo with OpenRC & LUKS (have to type password), TTY autologin and autostart X11
@murtezayesil My boot time on my laptop is a little over 50 seconds for Manjaro (4096 bit FDE). Ubuntu boots up faster, but is using a weaker encryption strength (2048 bit). I don't mind boot time so much since It accounts for < 1% of usage. Honestly I don't even know if encryption strength has anything to do with boot time. It was just an assumption.
Does ubuntu run faster too, how is the app launch times after system has booted. Because if encryption is done on software, I imagine it can hold CPU running for longer.
I am assuming so because my diary on VeraCrypt takes a long time to unlock because it does en/decryption on software.
@murtezayesil My installs are on separate SSD that aren't the same. So I can't effectively compare the two due to differences in performance of the SSDs. So maybe the boot time difference is only the result of performance differences between the two drives.
If both are SATA, they can cap around 560MB/s. Or you can use `gnome-disks` to benchmark them.
So, Manjaro is faster?
Interesting. Ubuntu's file access time seems to be much longer (28ms compared to Manjaro's 11ms). I thought you said Ubuntu boots faster.
Which one is faster after booted?
Does Manjaro feel snappier compared to Ubuntu?
@murtezayesil despite the benchmarks, ubuntu does boot faster for some reason. I think it might have something to do with how manjaro handles FDE. But I never looked into it. I've had a couple different 'jaro installs on the same drive, but it always takes 30+ seconds to unlock the disk.
@murtezayesil once I'm into the ui, I don't feel I notice a difference between the two installs as far as snappiness is concerned.
@murtezayesil for me: 3 seconds to get to my password prompt, and then another 5 seconds until I am in my WM
@murtezayesil ~30 seconds from pressing the power button to loading into usable* desktop.
* bar still hasn't loaded at that point (probably should fix my scripts) but you can already spawn windows and actually do work.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.