You are not logged in.

#1 2012-09-22 19:28:12

rasmuz
Member
Registered: 2012-01-02
Posts: 30

Booting really slow with systemd

Hi!

I am using pure systemd for some time but after some time (maybe package update or something) booting up the system become really slow.

[rasmus]: sudo systemd-analyze                                                ~
[sudo] password for rasmus: 
Startup finished in 14972ms (kernel) + 181167ms (userspace) = 196139ms
[rasmus]: sudo systemd-analyze blame                                          ~
  5288ms systemd-vconsole-setup.service
  2135ms systemd-remount-fs.service
  2123ms dev-hugepages.mount
  2117ms dev-mqueue.mount
  2095ms sys-kernel-debug.mount
  1981ms laptop-mode-tools.service
  1207ms systemd-udev-trigger.service
  1167ms systemd-udevd.service
   801ms var.mount
   701ms NetworkManager.service
   620ms console-kit-daemon.service
   603ms boot.mount
   494ms console-kit-log-system-start.service
   492ms bluetooth.service
   486ms systemd-logind.service
   305ms systemd-tmpfiles-setup.service
   264ms colord-sane.service
   132ms tmp.mount
    94ms systemd-readahead-replay.service
    93ms udisks2.service
    65ms colord.service
    46ms systemd-readahead-collect.service
    29ms rtkit-daemon.service
    24ms accounts-daemon.service
    23ms boot-efi.mount
    13ms upower.service
     8ms systemd-sysctl.service
     7ms wpa_supplicant.service
     4ms systemd-user-sessions.service
     3ms proc-sys-fs-binfmt_misc.mount
     3ms sys-fs-fuse-connections.mount

Anybody have any idea what is happening with my system?

Offline

#2 2012-09-22 19:29:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Booting really slow with systemd

HDD or SSD?

Offline

#3 2012-09-22 19:52:19

rasmuz
Member
Registered: 2012-01-02
Posts: 30

Re: Booting really slow with systemd

I'm using HDD.

Offline

#4 2012-09-22 20:00:19

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Booting really slow with systemd

Look at 'systemctl --failed' and find out what's failing to start...

Offline

#5 2012-09-22 20:04:11

rasmuz
Member
Registered: 2012-01-02
Posts: 30

Re: Booting really slow with systemd

[rasmus]: systemctl --failed                                                  ~
UNIT LOAD   ACTIVE SUB JOB DESCRIPTION

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
JOB    = Pending job for the unit.

0 units listed. Pass --all to see inactive units, too.

Offline

#6 2012-09-22 20:34:32

shinasha
Member
Registered: 2012-08-04
Posts: 19

Re: Booting really slow with systemd

What does systemd-analyze plot > plot.svg show you?

Offline

#7 2012-09-23 10:33:21

rasmuz
Member
Registered: 2012-01-02
Posts: 30

Re: Booting really slow with systemd

shinasha wrote:

What does systemd-analyze plot > plot.svg show you?

Here is a link to my plot file: http://dl.dropbox.com/u/69196291/plot.svg. Don't understand much of it hmm.

Offline

#8 2012-09-23 11:38:26

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: Booting really slow with systemd

It seems that from 32s till 105s your system is doing nothing... and same for 114s till the end.
This is very strange. No units failed. systemd-analyze blame seems normal... and plot too, because there is no service running for too long time...

Offline

#9 2012-09-23 13:38:21

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Booting really slow with systemd

Probably waiting on a device derived from fstab that never shows up.

Offline

#10 2012-09-23 13:44:44

rasmuz
Member
Registered: 2012-01-02
Posts: 30

Re: Booting really slow with systemd

Well here is my fstab and everything is eventually mounted.

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
# DEVICE DETAILS: /dev/sda2 UUID=9746-CA59 LABEL=ESP
# DEVICE DETAILS: /dev/sda3 UUID=17b5a1a5-bd69-4a9b-9135-a49103bedce1 LABEL=BOOT_ARCH
# DEVICE DETAILS: /dev/sda4 UUID=f7701a37-30be-4e6e-8a01-d2915f1dce1e LABEL=SWAP_ARCH
# DEVICE DETAILS: /dev/sda5 UUID=bed36176-6143-46fa-98c2-28d98c7332f9 LABEL=ROOT_ARCH
# DEVICE DETAILS: /dev/sda6 UUID=1d07ad15-8c41-44a1-b6c5-56101b099e8d LABEL=VAR_ARCH
# DEVICE DETAILS: /dev/sda7 UUID=21b40f79-24ef-4237-b4f9-78a182286b7f LABEL=HOME_ARCH
UUID=bed36176-6143-46fa-98c2-28d98c7332f9 / btrfs defaults,noatime,compress=lzo 0 0
UUID=17b5a1a5-bd69-4a9b-9135-a49103bedce1 /boot ext2 defaults 0 0
UUID=F5B6-857A /boot/efi vfat defaults 0 0
UUID=1d07ad15-8c41-44a1-b6c5-56101b099e8d /var reiserfs defaults,noatime,notail 0 0
UUID=21b40f79-24ef-4237-b4f9-78a182286b7f /home btrfs noatime,compress=lzo 0 0
UUID=f7701a37-30be-4e6e-8a01-d2915f1dce1e swap swap defaults 0 0

Offline

Board footer

Powered by FluxBB