[BGPCEP-165] Improve AdjRIBsIn instanceidentifier storage Created: 13/Nov/14 Updated: 03/Mar/19 Resolved: 19/Nov/14 |
|
| Status: | Resolved |
| Project: | bgpcep |
| Component/s: | BGP |
| Affects Version/s: | Bugzilla Migration |
| Fix Version/s: | Bugzilla Migration |
| Type: | Improvement | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
Analysis of a moderately-loaded instance shows that we waste about 2MB of memory on allocating a shared InstanceIdentifier$Item which is shared by all entries within a particular instance. It gets allocated from AbstractAdjRIBs.identifierForKey(), so we can easily reuse it. |
| Comments |
| Comment by Robert Varga [ 13/Nov/14 ] |