summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-07-13 23:27:33 +0200
committerOndrej Filip <feela@network.cz>2004-07-13 23:27:33 +0200
commit62eee82321a9a0451eea9b41a478444ceb87ecb0 (patch)
treeed271d4fd1fb17d4ef10480d17d33ffc641d0648
parent35fdf4b6a2c3d8ad11be3a7d2525d653237fa3bf (diff)
downloadbird-62eee82321a9a0451eea9b41a478444ceb87ecb0.tar
bird-62eee82321a9a0451eea9b41a478444ceb87ecb0.zip
Default tick = 1. The today's CPU is fast enough.
-rw-r--r--doc/bird.sgml6
-rw-r--r--proto/ospf/ospf.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index a25d8b7..f81b232 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1008,6 +1008,7 @@ on nonbroadcast networks.
<code>
protocol ospf &lt;name&gt; {
rfc1583compat &lt;switch&gt;;
+ tick &lt;num&gt;;
area &lt;id&gt; {
stub cost &lt;num&gt;;
tick &lt;num&gt;;
@@ -1076,9 +1077,10 @@ protocol ospf &lt;name&gt; {
Default value is no. (Area is not stub.)
<tag>tick <M>num</M></tag>
- The routing table calculation is not performed when a single link state
+ The routing table calculation of clean-up in areas' databases
+ is not performed when a single link state
change arrives. To lower the CPU utilization, it's processed later
- at periodical intervals of <m/num/ seconds. The default value is 7.
+ at periodical intervals of <m/num/ seconds. The default value is 1.
<tag>networks { <m/set/ }</tag>
Definition of area IP ranges. This is used in summary lsa origination.
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index ea77aa9..13a5f82 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -51,8 +51,8 @@
#define MINLSARRIVAL 1
#define LSINFINITY 0xffffff
-#define DEFAULT_OSPFTICK 5
-#define DEFAULT_AREATICK 4
+#define DEFAULT_OSPFTICK 1
+#define DEFAULT_AREATICK 1
#define DEFAULT_RFC1583 1 /* compatibility with rfc1583 */