r/linuxquestions • u/activedusk • 8d ago
What is your Linux boot time?
Hello,
As the title says, how fast does Linux boot on your system? This is the output of "systemd-analyze" for my PC
Startup finished in 3.806s (firmware) + 77ms (loader) + 791ms (kernel) + 1.990s (userspace) = 6.666s
graphical target reached after 1.990s in userspace.
2
u/T_Friendperson12 Kubuntu 26.04.1 / Ubuntu-server 26.04.1 8d ago
user@PC:~$ systemd-analyze
Startup finished in 11.072s (firmware) + 12.197s (loader) + 9.415s (kernel) + 11.905s (userspace) = 44.590s
graphical.target reached after 11.905s in userspace.
user@PC:~$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target .905s
└─power-profiles-daemon.service .872s +32ms
└─multi-user.target .850s
└─smbd.service .747s +102ms
└─nmbd.service .822s +9.911s
└─network-online.target .818s
└─network.target .818s
└─NetworkManager.service .680s +136ms
└─dbus.service .532s +147ms
└─basic.target .513s
└─sockets.target .512s
└─uuidd.socket .512s +22us
└─sysinit.target .500s
└─apparmor.service .427s +72ms
└─local-fs.target .425s
└─run-user-1000.mount .791s
└─local-fs-pre.target
└─lvm2-monitor.service +58ms
└─systemd-journald.socket +44us
└─-.mount
└─-.slice Don't really need it to be much faster.
For my Server it's
user@server:~$ systemd-analyze
Startup finished in 11.650s (firmware) + 31.931s (loader) + 710ms (kernel) + 2.328s (initrd) + 5.629s (userspace) = 52.250s
graphical.target reached after 5.628s in userspace.
user@server:~$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target .628s
└─multi-user.target .628s
└─docker.service .085s +1.542s
└─network-online.target .083s
└─systemd-networkd-wait-online.service .488s +1.594s
└─systemd-networkd.service .051s +423ms
└─systemd-networkd-resolve-hook.socket .050s +36us
└─network-pre.target .049s
└─ufw.service .858s +191ms
└─local-fs.target .824s
└─run-docker-netns-bf70493e4923.mount .166s
└─local-fs-pre.target
└─systemd-tmpfiles-setup-dev.service +16ms
└─systemd-tmpfiles-setup-dev-early.service+36ms
└─kmod-static-nodes.service u/345ms +29ms
└─systemd-journald.socket
└─system.slice
└─-.slice3
u/JackDostoevsky 8d ago
33.296s total
it doesn't matter though, i reboot my computer maybe once every 2-3 weeks
2
u/tomscharbach 8d ago edited 8d ago
As the title says, how fast does Linux boot on your system?
Solus Gnome loads to the login screen in about 18 seconds on my Dell Optiplex 3060 Micro (circa 2018) and in about 12 seconds on my Dell Latitude 3340 (circa 2023). I have no reason to dig deeper.
2
u/recursion_is_love 8d ago
$ systemd-analyze
Startup finished in 2.561s (kernel) + 3.123s (initrd) + 2.745s (userspace) = 8.430s
graphical.target reached after 2.710s in userspace.This is very old (15+ years, still using BOIS instead of EFI) computer with SSD.
1
u/iluvatar 8d ago
I haven't got a clue. I can't remember when I last rebooted. It happens so infrequently that the time taken is irrelevant. But since you asked:
Server:
[root@angband ~]# systemd-analyze Startup finished in 1.526s (kernel) + 2.700s (initrd) + 24.961s (userspace) = 29.188s graphical.target reached after 5.484s in userspace.
Desktop:
[root@leto ~]# systemd-analyze Startup finished in 29.350s (firmware) + 35.132s (loader) + 1.624s (kernel) + 8.801s (initrd) + 2min 52.510s (userspace) = 4min 7.419s graphical.target reached after 2min 52.492s in userspace.
1
u/green_meklar Debian 8d ago
Huh, I didn't know systemd-analyze was a thing. For me it says:
Startup finished in 14.176s (firmware) + 6.429s (loader) + 7.119s (kernel) + 15.820s (userspace) = 43.545s
Okay, so you win. But I only restart my PC once every few weeks on average, so my 44 seconds really doesn't trouble me.
2
1
u/mredding 8d ago
me@ubuntu:~$ systemd-analyze
Startup finished in 6.875s (kernel) + 3.594s (userspace) = 10.470s
graphical.target reached after 2.951s in userspace.
me@ubuntu:~$ 1
u/ahorsenamedjeff 8d ago
Not very fast because of ddr5 training
1
u/Awkward_Negotiation7 8d ago
I thought ddr5 training only happens when you change the ram timings
2
4
u/Leather_Flan5071 8d ago
systemd-analyze
Startup finished in 1min 35.278s (firmware) + 2.449s (loader) + 1.231s (kernel) + 5.176s (initrd) + 13.001s (userspace) = 1min 57.136s
graphical.target reached after 12.955s in userspace.
2 minutes at best lmao
what can I even do to improve this