When you say "preliminary request to retrieve" the number of rows in the table, does that mean the agent has to provide that information, if it is not defined by the agent, that means this approach is not doable, right?

By the way, I am using snmp_synch_response for BULKGET request, is there something like snmp_asynch_response that I don't need to wait on it?

From: Dave Shield <[EMAIL PROTECTED]>
To: Haizhu Liu <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: snmp bulk get performance
Date: Thu, 27 Oct 2005 09:26:38 +0100

On Wed, 2005-10-26 at 15:48 -0400, Haizhu Liu wrote:
> Hi, I wrote an application that does snmpbulkget to different tables on one
> host synchonously. That takes a long time if the table is big....
>     ..... My question is: is there a way to improve performance
> in my application.


That probably depends on the structure of the MIB table(s).
The most efficient approach for your application would be to
issue a single request for *all* of the rows in each table.
  That assumes you know in advance how many rows there will
be - which may involve a preliminary request to retrieve this
information.


It may still take a long time, depending on how the agent
has implemented those particular tables.  If the agent is
relatively inefficient, then improving the client side won't
make much difference.


Dave


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to