Re: why would you want /proc/sys/net/ipv4/route/min_delay to not be zero?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

> Isn't that what route dampening is for? The routing daemon would handle
> this situation to avoid the total breakdown.

It prevents overload _while_ daemon loads updates to kernel.
2 seconds is just minimal value which is absolutely safe, because
route updates are delayed in any case.

"ip ro flush cache" is used to complete some kinds of updates,
which are not flushed automatically. F.e. in batched scripts
changing policy rule, when you want to be sure that cache
will be flushed but do not know forward, when batch will be completed.

What's about immediate flush, you can request it with:

echo 0 > /proc/sys/net/ipv4/route/flush

ip ro flush cache is equivalent to:

cat /proc/sys/net/ipv4/route/min_delay > /proc/sys/net/ipv4/route/flush

Alexey
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux