0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-16 18:35:19 +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:
Maria Matejka 2024-06-19 16:19:04 +02:00
parent 9be90c0f84
commit 282066ee29
2 changed files with 4 additions and 3 deletions

View File

@ -784,7 +784,8 @@ to set options.
thresholds; first value is the low threshold (when to resume), 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
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>
Minimum and maximum settle times, respectively, for export announcements.

View File

@ -4252,8 +4252,8 @@ rt_new_table(struct symbol *s, uint addr_type)
c->addr_type = addr_type;
c->gc_threshold = 1000;
c->gc_period = (uint) -1; /* set in rt_postconfig() */
c->cork_threshold.low = 1024;
c->cork_threshold.high = 8192;
c->cork_threshold.low = 333300;
c->cork_threshold.high = 1011010;
c->export_settle = (struct settle_config) {
.min = 1 MS,
.max = 100 MS,