You are not logged in.

#1 2013-10-03 20:42:40

clickilan
Member
Registered: 2012-04-05
Posts: 3

slow start up - network.target 1min 30sec delayed

Hope i'm in the right forum.

I've been using Arch for 3 years now and enjoying every second.

recently my start-up time has gone up significantly, mainly the user space:

Startup finished in 3.295s (kernel) + 1min 31.196s (userspace) = 1min 34.491s

there seems to be a long delay between NetworkManager.service loading (@6.954s +3.766s) and network.target loading network.target (1min 30.869s):

# 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 31.196s
`-multi-user.target @1min 31.196s
  `-autofs.service @1min 30.905s +290ms
    `-network.target @1min 30.869s
      `-NetworkManager.service @6.954s +3.766s
        `-basic.target @6.951s
          `-timers.target @6.949s
            `-systemd-tmpfiles-clean.timer @6.949s
              `-sysinit.target @6.946s
                `-sys-fs-fuse-connections.mount @32.751s +1ms
                  `-systemd-modules-load.service @937ms +550ms
                    `-systemd-journald.socket @869ms
                      `--.mount @867ms
                        `-system.slice @1.478s
                          `--.slice @963ms

any idea what can i do to re-sequence the services so the startup does not take so much time?

Offline

#2 2013-10-03 21:11:07

ebal
Member
From: Athens, Greece
Registered: 2009-05-26
Posts: 224
Website

Re: slow start up - network.target 1min 30sec delayed

Just a workaround - not a solution:

I would first disable NetworkManager.service (so doesnt slow my boot process)

and then i would add the below entry at crontab -e (as root)

@reboot systemctl start NetworkManager.service


https://balaskas.gr
Linux System Engineer - Registered Linux User #420129

Offline

#3 2013-10-04 16:18:30

clickilan
Member
Registered: 2012-04-05
Posts: 3

Re: slow start up - network.target 1min 30sec delayed

didn't seem to work.
NetworkManager did not load after boot, also the startup time remained slow
how to i re-sequence the boot order, and what is the best order to avoid my long boot sequence?

Offline

#4 2013-10-04 19:14:13

ebal
Member
From: Athens, Greece
Registered: 2009-05-26
Posts: 224
Website

Re: slow start up - network.target 1min 30sec delayed

With systemd you dont need to "re-sequence" anything cause is booting psedo-parallel.

You need to identify the service (or services) that slow you down.
Try adding debug on your kernel parameter boot loader (remove quiet) and see with journactl -b for errors in booting services.


https://balaskas.gr
Linux System Engineer - Registered Linux User #420129

Offline

Board footer

Powered by FluxBB