I have recently purchased a new lenovo thinkpad e470, which packs 8GB of RAM, 1TB of hard disk and an intel i5 7th gen processor.
I was expecting a optimum boot load time with this system configuration, but its taking 40sec to show login screen and 10sec to show applications after login.
I have referred many related questions and these are all different logs I got from my system.
I installed ubuntu by selecting 'Erase and install ubuntu' option.
systemd-analyze
Startup finished in 4.582s (kernel) + 21.345s (userspace) = 25.928s
systemd-analyze blame
16.382s dev-sda5.device
9.707s networking.service
9.472s apport.service
9.349s irqbalance.service
9.306s speech-dispatcher.service
9.164s preload.service
9.145s grub-common.service
9.029s ondemand.service
7.936s accounts-daemon.service
7.837s ModemManager.service
6.792s alsa-restore.service
6.779s gpu-manager.service
6.777s pppd-dns.service
6.777s rsyslog.service
6.758s avahi-daemon.service
6.588s systemd-logind.service
6.559s systemd-user-sessions.service
6.537s thermald.service
6.052s apparmor.service
4.130s console-setup.service
2.526s lightdm.service
1.288s systemd-tmpfiles-setup.service
1.143s systemd-udevd.service
1.135s keyboard-setup.service
1.047s NetworkManager.service
1.041s systemd-tmpfiles-setup-dev.service
systemd-analyze critical-chain
graphical.target @21.325s
└─multi-user.target @21.325s
└─apport.service @11.852s +9.472s
└─basic.target @11.616s
└─sockets.target @11.616s
└─snapd.socket @11.613s +1ms
└─sysinit.target @11.436s
└─swap.target @11.436s
└─dev-disk-by\x2duuid-366e2b36\x2d8a0d\x2d4faa\x2da967\x2db56208442065.swap @11.178s +257ms
└─dev-disk-by\x2duuid-366e2b36\x2d8a0d\x2d4faa\x2da967\x2db56208442065.device @11.176s
dmesg output here.
blkid
/dev/sda1: UUID="366e2b36-8a0d-4faa-a967-b56208442065" TYPE="swap" PARTUUID="c159dac6-01"
/dev/sda2: UUID="b04418b9-5cd3-4cee-ac32-fedd8e275fde" TYPE="ext4" PARTUUID="c159dac6-02"
/dev/sda5: UUID="1370c811-80ca-4045-9e4d-c5496496502a" TYPE="ext4" PARTUUID="c159dac6-05"
And my /etc/fstab file is as bellow.
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=1370c811-80ca-4045-9e4d-c5496496502a / ext4 errors=remount-ro 0 1
# swap was on /dev/sda1 during installation
UUID=366e2b36-8a0d-4faa-a967-b56208442065 none swap sw 0 0
I have also modified below files to give a try
/etc/default/grub
modifiedGRUB_TIMEOUT=10
toGRUB_TIMEOUT=3
/etc/systemd/system.conf
modifiedDefaultTimeoutStartSec=10s DefaultTimeoutStopSec=10s
Still I am not able to get any boot load time improvements. Can anyone suggest me how to improve boot load?
terminal
typesudo fdisk -l
and see if it tells you that any of your disk partitions are misaligned.