Re: Timing and Performance between two versions of net-snmp

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 15/05/07, Jay Johnston <[email protected]> wrote:
> I am walking a single SNMP table, although the table is quite large
> (5000-20,000 rows).

> The problem that I'm having is that when using 4.2.1, I get return times of
> ~3-5 minutes, but when using 5.0.7 or 5.2.2, I get times upwards of 25
> minutes.

Presumably you're using exactly the same MIB module code in both cases?

> [I] am at a loss as to why the times are so far off.

The internal architecture of the agent changed quite significantly
between the v4 and v5 lines.  Although the v5 agent includes an
"old_api" handler, to retain backwards compatibility, this is not a
particularly efficient mechanism, so there is a significant overhead
when compared with the v4 agent.

If performance is a significant concern (and for a table of that size,
this seems very likely!), then you should seriously consider re-working
the module implementation to use the native v5 handler approach.
That would definitely get you a significant speed improvement
(depending on the helper framework you used) - probably comparable
to (if not better than) the v4 agent.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.