I don’t boot my system very often, when I do, it takes longer than I’d like.
alan@hal:~$ uprecords
# Uptime | System Boot up
----------------------------+---------------------------------------------------
1 32 days, 23:23:16 | Linux 4.15.0-45-generic Wed Feb 13 12:14:29 2019
2 21 days, 01:23:50 | Linux 4.15.0-43-generic Wed Jan 23 10:42:03 2019
3 14 days, 15:28:32 | Linux 4.15.0-43-generic Tue Jan 8 17:43:12 2019
4 13 days, 08:28:58 | Linux 4.15.0-42-generic Wed Dec 19 09:41:51 2018
5 11 days, 09:07:33 | Linux 4.15.0-39-generic Mon Dec 3 00:08:59 2018
6 6 days, 23:26:56 | Linux 4.15.0-43-generic Tue Jan 1 18:15:21 2019
7 5 days, 00:17:56 | Linux 4.15.0-42-generic Fri Dec 14 09:22:39 2018
-> 8 0 days, 00:11:49 | Linux 4.15.0-45-generic Mon Mar 18 11:48:04 2019
----------------------------+---------------------------------------------------
1up in 5 days, 00:06:08 | at Sat Mar 23 12:06:00 2019
no1 in 32 days, 23:11:28 | at Sat Apr 20 12:11:20 2019
up 105 days, 09:48:50 | since Mon Dec 3 00:08:59 2018
down 0 days, 02:02:04 | since Mon Dec 3 00:08:59 2018
%up 99.920 | since Mon Dec 3 00:08:59 2018
I consider this to be a “powerful” computer…
… with a “fast” storage medium for the boot/root (and /var/
disk) …
Yet it takes a long time to boot, and a significant chunk of that is apparently down to snapd
- if I am reading the output of systemd-analyze blame
right? Here is the full output, snippet below.
alan@hal:~$ systemd-analyze blame
20.504s snapd.service
3.439s NetworkManager-wait-online.service
3.406s plymouth-quit-wait.service
2.787s snap.lxd.activate.service
2.747s dev-nvme0n1p3.device
2.518s snap-alexa-x1.mount
2.516s snap-review\x2dtools-753.mount
2.513s snap-marge-14.mount
2.512s snap-terminal\x2ddescent-x2.mount
2.501s snap-isometric\x2dgame-x5.mount
2.498s snap-planetlander-2.mount
2.495s snap-core18-782.mount
2.494s snap-gnome\x2dlogs-37.mount
2.492s snap-mrrescue-64.mount
2.488s snap-vault-1674.mount
2.475s snap-hyperfine-x1.mount
2.468s snap-bitwarden-16.mount
2.466s snap-legit-x1.mount
2.462s snap-manta-x1.mount
2.459s snap-hextris-14.mount
2.446s snap-qemu\x2dvirgil-40.mount
2.439s snap-auryo-139.mount
2.436s snap-eclipse-39.mount
Yes, I have a lot of snaps installed…
alan@hal:~$ snap list | wc -l
272
Is there any way we can make this faster? I imagine someone with a slightly less powerful computer would feel this more than I do, especially if they boot more often than once every couple of weeks or so like me.