Date: Tue, 10 Jan 2012 14:26:45 -0800 From: Doug Barton <dougb@FreeBSD.org> To: Dennis Koegel <dk@neveragain.de> Cc: freebsd-net@freebsd.org, hrs@FreeBSD.org Subject: Re: Unnecessary sleep in network.subr: ipv6_up() Message-ID: <4F0CBB25.4060902@FreeBSD.org> In-Reply-To: <20120110102405.GA82356@neveragain.de> References: <20120110102405.GA82356@neveragain.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Looping in the author of that change ...
On 01/10/2012 02:24, Dennis Koegel wrote:
> Cheers,
>
> problem: Having a *lot* of IPv6 interfaces (Vlan interfaces in this case)
> causes a huge and annoying delay time at system boot in 9.0R.
>
> ipv6_up() in network.subr does this:
>
> + # wait for DAD
> + sleep `${SYSCTL_N} net.inet6.ip6.dad_count`
> + sleep 1
>
> This happens for each and every interface, at a minimum (and default) of
> two seconds per interface.
>
> It seems the behaviour was introduced with r197139. Before this merge,
> /etc/rc.d/network_ipv6 did the same sleeps, but only once for the whole
> network startup.
>
> I don't see why this should happen per interface, so I suggest the extra
> sleeps are limited to "once per network startup" once again (or maybe
> removed?).
--
You can observe a lot just by watching. -- Yogi Berra
Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price. :) http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F0CBB25.4060902>
