>>>>> On Tue, 16 Aug 2011 19:06:44 -0700, Malathi Panyam
>>>>> <[email protected]> said:
MP> Container.c in snmplib lists few containers like binary array,
MP> linked list and sorted linked list. Should I assume binary array will
MP> be chosen by default for the table container? Is there a way that we
MP> can choose a different container type for mib2c generated tables?
The mib2c output by default requests a 'table_container' to store the
data in, which is a binary array. If you wish to change it, simply
change the registration line like:
netsnmp_container_find("yourTable:table_container");
in your "yourTable_interface.c" file.
MP> We are facing some issues with the tables with large number of rows
MP> and we could see most of the time is being spent in inserting the row
MP> indexes on cache timeout. We tried to increase the timeout, but didn't
MP> help much. So would like to know is there any way that we can speed up
MP> inserting the indexes on_ cache_load(). Above question comes from one
MP> of such efforts.
I'm going to hope that Robert can answer that. There probably is a more
efficient way to do bulk insertions, but I'd have to go look myself.
--
Wes Hardaker
SPARTA, Inc.
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users