You are not logged in.

#1 2013-02-08 11:44:42

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

systemd suddenly became slow at booting up

Hi! This is gonna be a long post, sorry smile
I've been messing around with this problem for too long time, so i know really need your help smile
The facts:
1) since, i guess, a month, my netbook takes 10seconds more to boot. I was used to have something near 12s. and *yesterday* i had a 23s bootup.
2) I wrote "yesterday" because today:

systemd-analyze blame
 19837ms NetworkManager.service
 17262ms psd.service
  2815ms wpa_supplicant.service
  2027ms systemd-logind.service
  1476ms dev-sda2.swap
   751ms tmp.mount
   692ms systemd-udev-trigger.service
   650ms systemd-udevd.service
   426ms systemd-user-sessions.service
   424ms polkit.service
   232ms verynice.service
   155ms systemd-sysctl.service

Psd.service is triggered by a TIMER unit, 30s after startup (well, after 30s i've always already been with my desktop full loaded...so it took 4-5seconds maximum to load that).
NetworkManager is getting me crazy: yesterday it took 21-22s to load. Today, I noticed that even my "home" laptop is taking more time to bootup, 21s instead of about 13s before. And over there NetworkManager.service takes 9s now. But then i recalled about /etc/uder/rules.d/80-net-name-slot.rules. So i managed to kill that rule, by fixing my scripts. Everything went fine, and my NetworkManager.service now takes 5s (on my home laptop), and bootup takes 15s.
But, doing the same thing on my netbook, drove me to that "blame" posted before. No gain, it seems. And now my systemd is slow as hell to bootup (on netbook), "systemd-analyze" says 33s  (but it reached even 55s on another boot).
3) I have testing repo enabled on both machines.
4) From "systemd-analyze plot" it seems that both machines are doing nothing for about 4-5s. This is the plot from my home laptop: http://postimage.org/image/hfymnd6v5/full/.
On the other hand, on my netbook, there are 256 "sys-devices-virtual-tty-tty*.device" ...but on the home-laptop plot there aren't. See here: http://postimage.org/image/evh4rbgmt/full/ . (can't upload it bigger, but you see there are lots of "lines" that shouldn't be there....)

Any idea? Hope i've been clear and thorough enough.
Thanks!

EDIT: i now noticed that even on my brother's netbook there are those "sys-devices-virtual-tty-tty*". He has a ssd, so it takes 5s to boot anyway. Both installation are old (systemd < 190), while my home laptop installation has 2 weeks.

Last edited by nierro (2013-02-08 11:56:26)

Offline

Board footer

Powered by FluxBB