mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 07:07:24 -04:00
The intent is to better handle time intervals with large amount of RIB updates (e.g. BGP peer going up or down), while still keeping low sync delay for the rest scenarios. The implementation is the following: updates are bucketed into the buckets of size 50ms. If the number of updates within a current bucket exceeds the threshold of 500 routes/sec (e.g. 10 updates per bucket interval), the update is delayed for another 50ms. This can be repeated until the maximum update delay (1 sec) is reached. All 3 variables are runtime tunables: * net.route.algo.fib_max_sync_delay_ms: 1000 * net.route.algo.bucket_change_threshold_rate: 500 * net.route.algo.bucket_time_ms: 50 Differential Review: https://reviews.freebsd.org/D29588 MFC after: 2 weeks |
||
|---|---|---|
| .. | ||
| fib_algo.c | ||
| fib_algo.h | ||
| mpath_ctl.c | ||
| nhgrp.c | ||
| nhgrp_ctl.c | ||
| nhgrp_var.h | ||
| nhop.c | ||
| nhop.h | ||
| nhop_ctl.c | ||
| nhop_utils.c | ||
| nhop_utils.h | ||
| nhop_var.h | ||
| route_ctl.c | ||
| route_ctl.h | ||
| route_ddb.c | ||
| route_helpers.c | ||
| route_ifaddrs.c | ||
| route_tables.c | ||
| route_temporal.c | ||
| route_var.h | ||