You are not logged in.
Hi, I've tried many things to optimize my boot time, but the only one I'm very unhappy about is the time it takes for dhcpcd...
When I use "systemd-analyze", it says:
Startup finished in 6315ms (kernel) + 11435ms (userspace) = 17750ms
Also "systemd-analyze blame", says:
9576ms dhcpcd@eth0.service
276ms systemd-vconsole-setup.service
276ms systemd-remount-fs.service
206ms systemd-udev-trigger.service
121ms systemd-sysctl.service
110ms systemd-modules-load.service
106ms dev-hugepages.mount
101ms sys-kernel-debug.mount
84ms systemd-udevd.service
60ms dev-mqueue.mount
57ms systemd-tmpfiles-setup.service
23ms tmp.mount
23ms home.mount
15ms systemd-user-sessions.service
14ms systemd-logind.service
I did install e4rat and am currently using it. My /etc/rc.conf contains only this:
DAEMONS=(vboxservice)
I'm running ArchLinux as a guest in virtualbox (host is Windows 7) If you need anymore information, please tell me. I've been wondering why my dhcpcd takes >9500 ms just to starting up. Also, before using e4rat, I've got >5000 ms for dhcpcd instead of >9500. And before using e4rat, I get around 10000 ms, not 17000. However, I'm completely satisfied with all of the other times that it takes to start up the other processes, only dhcpcd seemed to increase, not decrease.
Thanks.
Last edited by reportados (2012-12-16 01:09:14)
Offline
If your router will give you a static IP address, use it instead of dhcpcd.
https://wiki.archlinux.org/index.php/Ne … IP_address
Last edited by 2ManyDogs (2012-12-16 00:21:54)
Offline
When I use net-auto-wireless, it reaches the network.target before it actually obtains an IP address and finishes booting, while the netcfg@.service waits until it is fully finished. I am not sure if this will work (I have never tried it), but maybe the net-auto-wired.service might have similar charactersitics. I know that if you use something like wicd, it won't wait for full connection, but rather only the program to start.
Offline
Maybe see this: https://wiki.archlinux.org/index.php/Ne … ith_dhcpcd
Don't know if it makes sense to add it globally, or how it could be done only on boot w/o netcfg...
Last edited by rebootl (2012-12-16 00:37:43)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Maybe see this: https://wiki.archlinux.org/index.php/Ne … ith_dhcpcd
Don't know if it makes sense to add it globally, or how it could be done only on boot w/o netcfg...
Thanks! This fixed my problem! From ~17000 ms to ~7000 ms when running systemd-analyze. If I run systemd-analyze blame I get this:
462ms systemd-vconsole-setup.service
439ms systemd-remount-fs.service
153ms systemd-udev-trigger.service
121ms dhcpcd@eth0.service
106ms systemd-sysctl.service
97ms systemd-modules-load.service
93ms dev-hugepages.mount
83ms sys-kernel-debug.mount
49ms systemd-tmpfiles-setup.service
46ms dev-mqueue.mount
43ms systemd-udevd.service
32ms tmp.mount
26ms home.mount
20ms systemd-user-sessions.service
17ms systemd-logind.service
Editing /etc/dhcpcd.conf and appending "noarp" cuts down the time significantly! Thanks a lot. ![]()
Offline