summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.c
diff options
context:
space:
mode:
authorMichael Rossberg <michael.rossberg@tu-ilmenau.de>2015-07-27 07:56:25 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-09 16:20:20 +0200
commit16e56a14321c0690178816353373adac02d2c0b2 (patch)
treebab61e3350577160fe7f9641c5fbd20804846684 /ospfd/ospfd.c
parentFix _netlink_route_debug message (diff)
downloadfrr-16e56a14321c0690178816353373adac02d2c0b2.tar.xz
frr-16e56a14321c0690178816353373adac02d2c0b2.zip
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 'ospfd/ospfd.c')
-rw-r--r--ospfd/ospfd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c
index 050cbad19..5b5014eec 100644
--- a/ospfd/ospfd.c
+++ b/ospfd/ospfd.c
@@ -248,16 +248,16 @@ ospf_new (u_short instance)
new->default_metric = -1;
new->ref_bandwidth = OSPF_DEFAULT_REF_BANDWIDTH;
+ /* LSA timers */
+ new->min_ls_interval = OSPF_MIN_LS_INTERVAL;
+ new->min_ls_arrival = OSPF_MIN_LS_ARRIVAL;
+
/* SPF timer value init. */
new->spf_delay = OSPF_SPF_DELAY_DEFAULT;
new->spf_holdtime = OSPF_SPF_HOLDTIME_DEFAULT;
new->spf_max_holdtime = OSPF_SPF_MAX_HOLDTIME_DEFAULT;
new->spf_hold_multiplier = 1;
- /* LSA timers value init */
- new->min_ls_interval = OSPF_MIN_LS_INTERVAL;
- new->min_ls_arrival = OSPF_MIN_LS_ARRIVAL;
-
/* MaxAge init. */
new->maxage_delay = OSPF_LSA_MAXAGE_REMOVE_DELAY_DEFAULT;
new->maxage_lsa = route_table_init();