Bug #1846355 was marked as a duplicate of this one, but it seems the cloud image's initial boot is still quite long in groovy. I see that performance has greatly improved in groovy, but snapd still accounts for almost half of the time spent in the initial first boot.
snap.seeded has the top spot of systemd-analyze blame for this first boot using the same script as in bug #1846355:
Bug #1846355 was marked as a duplicate of this one, but it seems the cloud image's initial boot is still quite long in groovy. I see that performance has greatly improved in groovy, but snapd still accounts for almost half of the time spent in the initial first boot.
snap.seeded has the top spot of systemd-analyze blame for this first boot using the same script as in bug #1846355:
2min 10.521s snapd.seeded. service service service local.service udev-settle. service daemon. service activate. service dispatcher. service udev-trigger. service logind. service setup.service journald. service fallback. service y.service resolved. service timesyncd. service
45.134s snapd.apparmor.
38.917s cloud-init.service
37.197s dev-vda1.device
36.135s cloud-config.
32.090s cloud-init-
27.304s snapd.service
26.047s systemd-
24.403s apparmor.service
22.987s cloud-final.service
21.231s accounts-
20.568s pollinate.service
17.044s snap.lxd.
16.678s networkd-
11.466s systemd-
11.386s apport.service
9.659s systemd-
9.568s grub-common.service
8.293s keyboard-
5.803s systemd-
4.975s grub-initrd-
4.908s rsyslog.service
4.742s user@1000.service
4.481s blk-availabilit
4.280s atd.service
4.033s systemd-
3.656s systemd-
(note that it's twice as fast as before)