Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Reduce boot time openSUSE

$
0
0
Hello everyone,
My laptop is Acer Aspire TimelineX 4820TG, CPU Intel Core i5 240M 2.4Ghz, RAM 4GB with Windows 7 Home Premium SP1 x64 (sda3) dual boot with openSUSE 13.1 x64 KDE (sd4). Everything work fine, but I feel that openSUSE boot too slow.
I follow theses guide: https://lizards.opensuse.org/2012/07...2-second-boot/ and https://lizards.opensuse.org/2012/07...d-boot-part-2/
and have the result (previos boot time is nearly a minute):
Code:

Startup finished in 9.975s (kernel) + 29.619s (userspace) = 39.595s
I didn't follow all step of below guides, I just disable some unnecessary for me (network.service, SUSEfirewall...) and this is my active service:
Code:

      11.883s dkms_autoinstaller.service
          3.532s systemd-readahead-replay.service
          3.322s systemd-readahead-collect.service
          2.054s systemd-remount-fs.service
          1.654s dev-mqueue.mount
          1.580s dev-hugepages.mount
          1.498s sys-kernel-debug.mount
          1.423s systemd-udev-root-symlink.service
          1.342s cycle.service
          1.235s kmod-static-nodes.service
          1.172s rpcbind.service
          1.107s xdm.service
          1.033s vboxdrv.service
          1.008s ModemManager.service
          1.005s systemd-logind.service
          840ms wpa_supplicant.service
          838ms avahi-daemon.service
          828ms tlp.service
          788ms NetworkManager.service
          762ms rsyslog.service
          758ms systemd-random-seed.service
          746ms ntp.service
          683ms accounts-daemon.service
          640ms var-lock.mount
          423ms nfs.service
          385ms nfsserver.service
          379ms systemd-vconsole-setup.service
          294ms systemd-modules-load.service
          272ms systemd-tmpfiles-setup.service
          247ms apparmor.service
          194ms user@483.service
          139ms sshd.service
          139ms rc-local.service
          130ms systemd-udev-trigger.service
          102ms alsa-restore.service
            89ms systemd-sysctl.service
            45ms rtkit-daemon.service                                                       
            44ms systemd-tmpfiles-setup-dev.service                                         
            36ms udisks2.service                                                             
            25ms user@1000.service                                                           
            23ms user@0.service                                                             
            14ms polkit.service                                                             
            8ms upower.service                                                             
            7ms systemd-journal-flush.service                                               
            7ms systemd-update-utmp.service                                                 
            6ms iscsi.service                                                               
            5ms systemd-backlight@acpi_video0.service
            4ms systemd-user-sessions.service
            2ms sys-fs-fuse-connections.mount
            2ms var-run.mount
            2ms systemd-update-utmp-runlevel.service
            2ms systemd-udevd.service
            1ms systemd-readahead-done.service

I also remove some package (plymouth, splashy). Here is output of
ls -lh /boot/vmlinuz-* /boot/initrd-*
Code:

-rw------- 1 root root 6.2M Jul  9 09:36 /boot/initrd-3.11.10-11-desktop
-rw------- 1 root root 6.2M Jul  9 09:36 /boot/initrd-3.11.10-17-desktop
-rw-r--r-- 1 root root 5.0M May 12 23:47 /boot/vmlinuz-3.11.10-11-desktop
-rw-r--r-- 1 root root 5.0M Jun 18 03:15 /boot/vmlinuz-3.11.10-17-desktop



rpm -qf /lib/mkinitrd/scripts/setup-* | sort -u

Code:

cifs-utils-6.2-1.1.x86_64
cryptsetup-mkinitrd-0_201307311719-2.1.2.x86_64
device-mapper-1.02.78-0.14.1.2.x86_64
dmraid-1.0.0.rc16-25.1.2.x86_64
kpartx-0.4.9-11.4.1.x86_64
lvm2-2.02.98-0.28.18.1.x86_64
mdadm-3.3-4.8.1.x86_64
mkinitrd-2.8.1-2.1.x86_64
multipath-tools-0.4.9-11.4.1.x86_64
nfs-client-1.2.8-4.13.1.x86_64
open-iscsi-2.0.873-2.8.1.x86_64
ucode-intel-20130906-6.2.x86_64



My bootchart http://www.mediafire.com/download/kjd6pu536354vh7/ana.svg

Additional information: I installed powertop and TLP. I added all suggestions of powertop to /etc/boot.local and also turn off ATI card by vga_switcheroo. Moreover, in remained services, if I disable any service (such as dkms_autoinstaller) then next boot the time period of other services increase, even make the boot time longer. I don't know why.

Anyone help me!
Thanks a lot!

P/S: sorry for my bad English.

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>