On Mon, Dec 31, 2012 at 1:51 PM, Jouke Witteveen j.witteveen@gmail.com wrote:
Are these results structural? You should probably compare netctl@static to netcfg@static, but other than that I would expect not much of a difference. The control flow is very similar, with a preference for netctl, as (I think) it will do less function calls. Also, keep in mind that due to parallelization, these timings are not extremely important. The difference is strange, though. It might be openresolv that takes a bit longer than writing to resolv.conf directly, but 700ms seems a bit much.
% cat /etc/network.d/static Connection=ethernet Interface=eth0 BindToInterfaces=(eth0)
This line is not needed, as $BindToInterfaces defaults to $Interface.
OK! I'm not sure what you mean by 'structural' but after a reboot, it seems that the times are much closer to each other now:
% systemd-analyze blame 3479ms netctl@static.service
Also, thanks for the suggestion about the profile. I too like the interface you have designed and hope others agree. Keep up the excellent start you've made with netctl!