Re: snmpd high CPU usage - polling rate?

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
[Sorry for the delay in responding]

On 26/03/07, Hackney [US], Daniel H. <[email protected]> wrote:
> I'm running Net-SNMP snmpd version 5.1.2 on Linux 2.6.11.  I have a client
> application that queries the localhost for eight values from IF-MIB using a
> single GetRequest packet.  The query rate is 4Hz.

>  Before I try using the latest version..... I'd
> appreciate an opinion or two from the experts on whether or not polling at
> this rate is reasonable for snmpd in the first place.  Yes, I really need
> the data this often.

Upgrading to newer versions probably isn't going to help you.
The latest code will typically cache the interface statistics for
several seconds, rather than re-reading them afresh every time.
Such versions will probably handle a rapid rate of queries better
than earlier ones, but you'll get the same answers each time
(which rather negates the point!)

There's always a balance between timeliness of the information and
the cost of retrieving this information.  For most modules other than
the most straightforward, I doubt whether a sub-second query rate is realistic.

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.