mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Moved the cork thresholds massively up
This allows for more efficient import and export bundling, including best route export and next hop resolution.
This commit is contained in:
parent
9be90c0f84
commit
282066ee29
@ -784,7 +784,8 @@ to set options.
|
|||||||
thresholds; first value is the low threshold (when to resume), the
|
thresholds; first value is the low threshold (when to resume), the
|
||||||
second one is the high threshold (when to pause). The higher is the
|
second one is the high threshold (when to pause). The higher is the
|
||||||
threshold, the more memory can get used. In most cases, the defaults
|
threshold, the more memory can get used. In most cases, the defaults
|
||||||
should work for you. Default: 1024 8192.
|
should work for you but if you experience memory bloating on import
|
||||||
|
surges, this knob is the first to turn down. Default: 333300 1011010.
|
||||||
|
|
||||||
<tag><label id="rtable-export-settle-time">export settle time <m/time/ <m/time/</tag>
|
<tag><label id="rtable-export-settle-time">export settle time <m/time/ <m/time/</tag>
|
||||||
Minimum and maximum settle times, respectively, for export announcements.
|
Minimum and maximum settle times, respectively, for export announcements.
|
||||||
|
@ -4252,8 +4252,8 @@ rt_new_table(struct symbol *s, uint addr_type)
|
|||||||
c->addr_type = addr_type;
|
c->addr_type = addr_type;
|
||||||
c->gc_threshold = 1000;
|
c->gc_threshold = 1000;
|
||||||
c->gc_period = (uint) -1; /* set in rt_postconfig() */
|
c->gc_period = (uint) -1; /* set in rt_postconfig() */
|
||||||
c->cork_threshold.low = 1024;
|
c->cork_threshold.low = 333300;
|
||||||
c->cork_threshold.high = 8192;
|
c->cork_threshold.high = 1011010;
|
||||||
c->export_settle = (struct settle_config) {
|
c->export_settle = (struct settle_config) {
|
||||||
.min = 1 MS,
|
.min = 1 MS,
|
||||||
.max = 100 MS,
|
.max = 100 MS,
|
||||||
|
Loading…
Reference in New Issue
Block a user