You are not logged in.

#1 2013-09-25 12:00:53

vanic
Member
Registered: 2013-06-20
Posts: 4

Slow systemd boot on laptop.

Hey folks!

I'm having an issue with my boot speed since re-installing arch on my laptop. (Lenovo Y580).

[root@shard matt]# systemd-analyze
Startup finished in 2.796s (kernel) + 3min 3.038s (userspace) = 3min 5.834s

It's taking 3 min's to boot.

[root@shard matt]# systemd-analyze blame
          3.136s NetworkManager.service                                                                                                        
          1.768s dev-sdb3.swap                                                                                                                 
          1.488s systemd-logind.service                                                                                                        
          1.022s systemd-journal-flush.service                                                                                                 
           697ms polkit.service                                                                                                                
           410ms wpa_supplicant.service                                                                                                        
           390ms kmod-static-nodes.service                                                                                                     
           368ms systemd-user-sessions.service                                                                                                 
           292ms user@1000.service                                                                                                             
           276ms dev-mqueue.mount                                                                                                              
           274ms dev-hugepages.mount                                                                                                           
           168ms systemd-udev-trigger.service                                                                                                  
           163ms systemd-remount-fs.service                                                                                                    
           156ms systemd-vconsole-setup.service                                                                                                
           155ms systemd-sysctl.service                                                                                                        
           151ms systemd-backlight@acpi_video0.service                                                                                         
           151ms systemd-backlight@acpi_video1.service                                                                                         
           141ms upower.service                                                                                                                
           134ms udisks2.service                                                                                                               
           131ms systemd-tmpfiles-setup-dev.service
            94ms systemd-update-utmp.service
            44ms sys-kernel-debug.mount
            42ms sys-kernel-config.mount
            37ms systemd-random-seed.service
            16ms systemd-udevd.service
             6ms alsa-restore.service
             5ms systemd-tmpfiles-setup.service
             1ms tmp.mount
[root@shard matt]# systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @1min 33.912s
`-multi-user.target @1min 33.912s
  `-NetworkManager.service @1min 30.775s +3.136s
    `-basic.target @1min 30.775s
      `-timers.target @1min 30.773s
        `-systemd-tmpfiles-clean.timer @1min 30.772s
          `-sysinit.target @1min 30.771s
            `-systemd-backlight@acpi_video1.service @4.920s +151ms
              `-systemd-remount-fs.service @1.009s +163ms
                `-systemd-journald.socket @772ms
                  `--.mount @771ms
                    `-system.slice @1.048s
                      `--.slice @1.048s

I'm still not sure which process is causing the delay, but it was only seconds to boot before.

Last edited by vanic (2013-09-25 12:04:10)

Offline

#2 2013-09-25 22:14:58

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: Slow systemd boot on laptop.

Try systemd-analyze plot > plot.svg and have a look at that file; maybe it shows you what you want

Offline

Board footer

Powered by FluxBB