I'm using Ubuntu 16.04 and after some time (I guess this started to happen after I updated Nvidia drivers) my computers began to boot very slowly. I tried to deactivate some unneeded services but it didn't help.
dmesg and I noticed some really large gaps. Here is the full log:
I hope someone will help me with this.
systemd-analyze blame | head
2min 16.363s docker.service
lspci -k | grep -iEA3 '3D|VGA'
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) Subsystem: Acer Incorporated [ALI] 3rd Gen Core processor Graphics Controller Kernel driver in use: i915 Kernel modules: i915 -- 01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1) Subsystem: Acer Incorporated [ALI] GK208M [GeForce GT 740M] Kernel driver in use: nvidia Kernel modules: nvidiafb, nouveau, nvidia_375_drm, nvidia_375
After disabling some services, this is what
systemd-analyze blame | head returns:
13.900s dev-sda1.device 12.040s NetworkManager-wait-online.service 10.572s ModemManager.service 9.424s accounts-daemon.service 8.030s apparmor.service 7.827s grub-common.service 7.356s systemd-logind.service 6.810s rsyslog.service 6.769s avahi-daemon.service 6.766s bluetooth.service
From Grub to login screen it takes around 30 seconds, but from login screen until my computer is ready to use it takes around a minute.