diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-08 20:23:11 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-01-08 20:24:13 -0500 |
| commit | e237b0d211770d2e71c0a3ff73b4842f17df9019 (patch) | |
| tree | 08f2fc09d1acf8ead4e5d8910864931f1c819b40 /lib/lib_errors.c | |
| parent | 3571a6a226768c3fa125219898dd2c07291599c8 (diff) | |
bgpd: Further refine hash lookup to store hash value
Further refine the previous commit to store the hash value in
both the `struct community_list` as well as the `struct rmap_community`
structures. This allows us to know a priori what our hash value
is. This change cuts another couple of seconds of convergence
off to ~55 seconds and further reduces cpu load of bgp:
16 40061.706 433732 92 330102 129 1242965 RWTEX TOTAL
Down from ~43 seconds previously.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
