diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-05 20:11:12 +0000 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-10 10:51:54 -0400 |
| commit | 31303c3e827f0595a2bf04f3206baf0ecefcedbc (patch) | |
| tree | 14324b92edb130b3e0acf55a610766cae5ea884a /lib/openbsd-queue.h | |
| parent | 61a091c544c10f2e600e00c376fdb45153e40f47 (diff) | |
bgpd: Reduce json memory usage.
When running 'show bgp ipv4 uni summ' (or any variation thereof)
If you have a large # of routes, the json package starts taking
up a tremendous amount of memory and processing power.
Modify the code to output the json as we go instead of gathering
it all up and outputting at the end.
Ticket: CM-13060
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/openbsd-queue.h')
0 files changed, 0 insertions, 0 deletions
