Hello everyone,
I’ve already installed openSUSE TumbleWeed to my new laptop 2 weeks ago. Everything work just fine on HP Probook 450 G2. My Linux kernel is
4.1.6-3-desktop
However, I feel that the boot time is so long:
nvkhoi@localhost:~> systemd-analyze
Startup finished in 2.040s (firmware) + 2.001s (loader) + 5.814s (kernel) + 2.658s (init
rd) + 51.389s (userspace) = 1min 3.904s
It’s even longer than my old laptop.
When I list all startup services:
nvkhoi@localhost:~> systemd-analyze blame | head
27.282s systemd-journal-flush.service
12.717s apparmor.service
11.309s dev-sda3.device
10.226s systemd-udev-settle.service
7.648s ModemManager.service
5.832s user@1000.service
3.962s display-manager.service
3.670s polkit.service
3.459s systemd-udevd.service
3.421s NetworkManager.service
nvkhoi@localhost:~> systemd-analyze blame
27.282s systemd-journal-flush.service
12.717s apparmor.service
11.309s dev-sda3.device
10.226s systemd-udev-settle.service
7.648s ModemManager.service
5.832s user@1000.service
3.962s display-manager.service
3.670s polkit.service
3.459s systemd-udevd.service
3.421s NetworkManager.service
2.785s avahi-daemon.service
2.766s nscd.service
2.724s SuSEfirewall2_init.service
2.583s SuSEfirewall2.service
2.547s postfix.service
2.330s ntpd.service
2.225s bluetooth.service
1.797s systemd-fsck@dev-disk-by\x2duuid-1f912a36\x2d58aa\x2d49ef\x2d9ed7\x2dbf
1.745s pullin-bcm43xx-firmware.service
1.347s home.mount
1.293s alsa-restore.service
1.237s var-crash.mount
1.119s var-log.mount
1.098s tmp.mount
1.075s var-opt.mount
1.059s opt.mount
1.011s lvm2-activation.service
832ms var-tmp.mount
821ms lvm2-activation-early.service
818ms lvm2-activation-net.service
808ms \x2esnapshots.mount
762ms boot-grub2-x86_64\x2defi.mount
698ms systemd-backlight@backlight:intel_backlight.service
684ms boot-efi.mount
612ms wpa_supplicant.service
538ms systemd-rfkill@rfkill0.service
505ms dev-hugepages.mount
466ms plymouth-read-write.service
460ms dev-disk-by\x2duuid-13a93b91\x2d1db6\x2d4cea\x2d9af2\x2d33846f82f0ac.sw
442ms systemd-tmpfiles-setup-dev.service
434ms systemd-remount-fs.service
430ms sys-kernel-debug.mount
429ms dev-mqueue.mount
377ms systemd-udev-trigger.service
374ms var-spool.mount
318ms usr-local.mount
293ms boot-grub2-i386\x2dpc.mount
290ms var-lib-mailman.mount
278ms var-lib-pgsql.mount
255ms systemd-journald.service
239ms systemd-udev-root-symlink.service
228ms srv.mount
218ms kmod-static-nodes.service
209ms var-lib-libvirt-images.mount
208ms var-lib-named.mount
142ms udisks2.service
130ms dracut-shutdown.service
123ms systemd-logind.service
118ms iscsi.service
117ms cups.service
110ms rc-local.service
90ms var-lib-mariadb.mount
79ms systemd-tmpfiles-setup.service
60ms upower.service
59ms systemd-modules-load.service
52ms systemd-update-utmp.service
43ms systemd-sysctl.service
42ms systemd-user-sessions.service
33ms rtkit-daemon.service
32ms systemd-random-seed.service
20ms auditd.service
15ms plymouth-start.service
10ms systemd-vconsole-setup.service
2ms systemd-update-utmp-runlevel.service
1ms systemd-rfkill@rfkill1.service
I found that the systemd-readahead-collect.service and systemd-readahead-replay.service was missing.
I try these command:
sudo systemctl enable systemd-readahead-collect.service
sudo systemctl enable systemd-readahead-replay.service
Both of them output
Failed to execute operation: No such file or directory
I also search in /usr/lib/systemd but nothing with “readahead” found
I tried to Google the package contain readahead service for opensuse tumbleweed but nothing found. Only arch provide a package systemd-readahead
So please help me bring back readahead. If it’s not available, please help me reduce boot time to 20-40s.
Thanks