Improved ubuntu boot times (?)

· nat's blog


Checked with

1systemd-analyze blame

what is slowing down the boot and I got:

7.916s systemd-udev-settle.service
6.108s NetworkManager-wait-online.service
848ms docker.service
346ms dev-nvme4n1p2.device
212ms zfs-import-cache.service

Found this article Slow booting: systemd-udev-settle.service and applied it:

1lvdisplay
2pvs
1sudo systemctl mask systemd-udev-settle.service
2sudo systemctl mask lvm2-monitor.service
3sudo systemctl disable NetworkManager-wait-online.service
4sudo systemctl disable pppd-dns.service

Now it's

2.008s zfs-load-module.service
837ms docker.service
373ms dev-nvme4n1p2.device
209ms zfs-import-cache.service
147ms containerd.service

It doesn't really feel that much faster booting though...