You are not logged in.
Pages: 1
Hi!
I was wondering why is netcfg@.service taking so long to load:
systemd-analyze blame
4206ms netcfg@mynetwork.service
2220ms psd.service
685ms systemd-tmpfiles-setup.service
626ms systemd-vconsole-setup.service
252ms systemd-udevd.service
169ms systemd-remount-fs.service
65ms systemd-logind.service
35ms var-log.mount
29ms systemd-sysctl.service
22ms systemd-udev-trigger.service
12ms tmp.mount
5ms systemd-user-sessions.service
1ms sys-fs-fuse-connections.mountI managed to get rid of consolekit, and i use a psd.timer that makes psd start 20sec from startup. So netcfg is the only thing is slowing my boot process.
The strangest thing is that networkmanager.service takes only 0.7s to load, and it seems very weird to me that network manager is faster then netcfg.
Here it is my "mynetwork" setup:
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
SECURITY='wpa'
ESSID='my ESSID'
## Uncomment if the supplied ESSID is hexadecimal
#ESSID_TYPE='hex'
KEY='********************'
IP='dhcp'
# Uncomment this if your ssid is hidden
#HIDDEN=yesI run
systemctl enable netcfg@mynetwork.serviceNetwork is working, so it's not a bug somewhere in netcfg, it is only SLOW. Really slow.
Thanks for any help!
Last edited by nierro (2012-09-03 15:46:28)
Offline
I use net-auto-wireless.service and last boot it reports 550ms... still the slowest thing in the boot, but certainly nothing noticeable. Is 4.2secs really slow? I think it may just be kind of nitpicking since with systemd's parallelization it definitely would not boot four seconds faster if you did not enable it.
Offline
Is 4.2secs really slow? I think it may just be kind of nitpicking since with systemd's parallelization it definitely would not boot four seconds faster if you did not enable it.
Oh i know...but networkmanager was really faster...is there a reason?
EDIT: with networkmanager, the overall
systemd-analyzewas 10s, while now is
systemd-analyze
Startup finished in 6769ms (kernel) + 7293ms (userspace) = 14063msLast edited by nierro (2012-09-03 15:19:40)
Offline
NetworkManager.service is faster because it doesn't actually wait for the network to be up (NetworkManager-wait-online.service does).
Offline
Uhm, well this is a big revelation, thank you!
Ok, solved then ![]()
Offline
Pages: 1