On Sun, 07 Mar 2010 12:04:36 +0600 Mikhail Gusarov <dotted...@dottedmag.net> wrote:
> > Twas brillig at 17:17:51 06.03.2010 UTC-08 when shemmin...@vyatta.com did > gyre and gimble: > > >> ifup snippet for bridge-utils uses 'sleep 1' in loop in order to wait for > bridge. > >> This timeout makes 'ifup br0' really slow, 1.2s in my setup. > >> Attached patch makes ifup snippet use 'sleep 0.01' if fractional secons > are > >> implemented in sleep, thus making ifup much faster (0.16s as measured). > >> > SH> I don't think this sleep is needed at all. > > I tested it - a bit of delay is still necessary. 0.01 is always enough in > my configuration though, but there may be slower machines. Maybe there > is a way to wait for bridge instead of polling it existance, but I'm not > aware of it. > I think this is related to forwarding delay. Ideally forwarding delay should be off unless STP is enabled. Looks like Ubuntu script reads that value of forwarding delay and adjusts based on that. -- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org