Hi,
Thank you for your reply. Now I had known that the iterator helper
is inefficient for large tables and I should try other helpers for my apps.
And if the data requested is internal my agent, which kind of helper should
I choose instead of the iterator helper.
Looking forward to your reply.
B
On 17 March 2010 14:44, bai haoquan wrote:
> And if the data requested is internal my agent, which kind of helper should
> I choose instead of the iterator helper.
Personally, I'd recommend the 'table_tdata' helper
(as used by the 'mib2c.table_data.conf' template).
Possibly in conjunction with th
On 16 March 2010 09:10, Zhao Li H wrote:
> We have our data stored in a AVL tree, that makes the search very quickly.
> Is it ok to use raw table helper which is templated in mib2c.raw_table.conf?
Of course you can.
That does mean you'll have to do most of the processing from within
your table h
Shield
Sent: Monday, March 15, 2010 07:10 PM
To: bai haoquan
Cc: net-snmp-users@lists.sourceforge.net; Zhao Li H
Subject: Re: About net-snmp table iterator performance
On 15 March 2010 10:29, bai haoquan wrote:
> To my understanding, it will cause performance problem when there are
> mass o
On 15 March 2010 21:26, Kathy McLeod wrote:
>> There is a flag that can improve performance if the internal
>> indexing matches the SNMP ordering, but it's still probably
>> not the most efficient of the helpers.
>
> Where is the flag and when do I set it?
netsnmp_iterator_info *iinfo =
Hi -
In your reply to note in title, you said:
There is a flag that can improve performance if the internal
indexing matches the SNMP ordering, but it's still probably
not the most efficient of the helpers.
Where is the flag and when do I set it? I have the iterate_access code
working now so
On 15 March 2010 10:29, bai haoquan wrote:
> To my understanding, it will cause performance problem when there are mass
> of data.
Yes - the iterator helper is notoriously inefficient for large tables.
It's probably not a sensible choice if performance is an issue.
Use one of the other helpers i