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

From: kuznet@ms2.inr.ac.ru
Date: Thu Oct 19 2000 - 12:39:50 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:24 EST