[BGPCEP-338] Cache effective attributes Created: 17/Dec/15 Updated: 03/Mar/19 Due: 03/Mar/16 Resolved: 29/Aug/16 |
|
| Status: | Resolved |
| Project: | bgpcep |
| Component/s: | BGP |
| Affects Version/s: | Bugzilla Migration |
| Fix Version/s: | Bugzilla Migration |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Om Prakash |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 4808 |
| Description |
|
When BGP performs adj-rib-in processing to derive effective-rib-in for a particular peer, we cache attribute from a particular message, so the same object is reused in the data store. Since these cache objects are not carried across messages from a particular peer, when a peer advertises many routes (such that they don't fit into 4K) with same input attributes, we will end up using more data store memory than necessary. https://git.opendaylight.org/gerrit/22133 adds such a cache, but it looks as though it needs to be reviewed and possibly debugged. |
| Comments |
| Comment by Om Prakash [ 16/Aug/16 ] |
| Comment by Milos Fabian [ 29/Aug/16 ] |
|
stable/boron: https://git.opendaylight.org/gerrit/#/c/44782/ |