You are not logged in.
Hello
my system is very slow when bootingl
i enter this cod to bash: $ systemd-analyze blame
39.033s man-db.service
31.616s dhcpcd@ens5.service
6.653s NetworkManager.service
3.028s accounts-daemon.service
2.971s systemd-journal-flush.service
can i enable these after login?not when booting!
thanks.
Offline
Why would you want to do that?
Surely that would just make the process of obtaining a connection take even longer.
You can see for sure how long NetworkManager is taking by using:
systemd-analyze critical-chain
Also, should you have dhcpcd enabled?
I would have thought that would conflict with NetworkManager.
Jin, Jîyan, Azadî
Offline
Right. Try disabling dhcpcd with:
systemctl disable dhcpcd@ens5.service
You don't need it if you're running NetworkManager, unlress for some reason you want different control mechanisms for different NICs.
See if that makes a difference during reboot.
Offline
Thanks dear Head_on_a_Stick!
can you help me again?
$ 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 @15.620s
└─multi-user.target @15.619s
└─NetworkManager.service @11.558s +4.058s
└─basic.target @11.496s
└─sockets.target @11.495s
└─dbus.socket @11.494s
└─sysinit.target @11.476s
└─systemd-update-utmp.service @11.373s +99ms
└─systemd-tmpfiles-setup.service @11.248s +94ms
└─systemd-journal-flush.service @9.069s +2.174s
└─var.mount @8.921s +143ms
└─systemd-fsck@dev-sda3.service @7.646s +1.273s
└─dev-sda3.device @7.646s
and
$ systemd-analyze blame
4.058s NetworkManager.service
2.174s systemd-journal-flush.service
1.624s systemd-logind.service
1.589s systemd-vconsole-setup.service
1.393s alsa-restore.service
1.367s bluetooth.service
1.344s accounts-daemon.service
1.324s systemd-user-sessions.service
1.273s systemd-fsck@dev-sda3.service
1.178s polkit.service
1.017s systemd-fsck@dev-sda1.service
Last edited by hojy (2014-12-27 21:05:43)
Offline
Thank you Rob_H!
I do it and my system booting is not changed!
Last edited by hojy (2014-12-27 21:12:27)
Offline
If you're using DHCP, 4 seconds is slow, but not unheard of. Try configuring a static IP and see if it gets faster.
Offline