summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMichael Rossberg <michael.rossberg@tu-ilmenau.de>2015-07-27 07:56:25 +0200
committerPaul Jakma <paul@quagga.net>2015-09-24 15:26:41 +0100
commit2ef762ed9b88e5745012c5829f8f526c95443ddf (patch)
tree8b2867c9c5938551f7e86881104dad61be3f18b6 /lib
parentc920e510d09c6c4ab63a3da5375009442a950f82 (diff)
downloadquagga-2ef762ed9b88e5745012c5829f8f526c95443ddf.tar.bz2
quagga-2ef762ed9b88e5745012c5829f8f526c95443ddf.tar.xz
ospfd: Fast OSPF convergence
When considering small networks that have extreme requirements on availability and thus convergence delay, the timers given in the OSPF RFC seem a little “conservative”, i.e., the delay between accepted LSAs and the rate at which LSAs are sent. Cisco introduced two commands 'timers throttle lsa all’ and 'timers lsa arrival’, which allow operators to tune these parameters. I have been writing a patch to also support 'timers lsa arrival’ fully and ‘timers throttle lsa all’ (without the throttling part) also in quagga.
Diffstat (limited to 'lib')
-rw-r--r--lib/libospf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libospf.h b/lib/libospf.h
index 2796209d..e8db5c13 100644
--- a/lib/libospf.h
+++ b/lib/libospf.h
@@ -39,8 +39,8 @@
#else
#define OSPF_LS_REFRESH_TIME 1800
#endif
-#define OSPF_MIN_LS_INTERVAL 5
-#define OSPF_MIN_LS_ARRIVAL 1
+#define OSPF_MIN_LS_INTERVAL 5000 /* msec */
+#define OSPF_MIN_LS_ARRIVAL 1000 /* msec */
#define OSPF_LSA_INITIAL_AGE 0 /* useful for debug */
#define OSPF_LSA_MAXAGE 3600
#define OSPF_CHECK_AGE 300