The route table maybe large (600K) on a fully connected router,
and the table_container has terrible performance (N^2 on inserts).
Since this container is only a temporary container used while filtering
routes from the kernel, switch to a FIFO since the next pass will
reorder routes anyway.
---
agent/mibgroup/ip-forward-mib/data_access/route_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/agent/mibgroup/ip-forward-mib/data_access/route_common.c 2011-02-23
18:54:08.409636209 -0800
+++ b/agent/mibgroup/ip-forward-mib/data_access/route_common.c 2011-02-26
15:15:53.679488154 -0800
@@ -48,7 +48,7 @@ netsnmp_access_route_container_load(nets
DEBUGMSGTL(("access:route:container", "load\n"));
if (NULL == container) {
- container = netsnmp_container_find("access:_route:table_container");
+ container = netsnmp_container_find("access:_route:fifo");
if (container)
container->container_name = strdup("_route");
}
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders