> Please don't repost questions daily. It's annoying and will tend to get your
> questions ignored by the people most likely to be able to help.

Yeah, sorry about that.  I didn't have my subscription set up (I signed up a
while ago but didn't return the confirmation I guess), so it went to a
moderator.  After setting it up and confirming, I reposted, and the message
wound up here twice.  I'll be smarter about it next time.

> On Thu, 28 Oct 2004 14:01:36 -0500 (CDT) Joe wrote:
> JC> When I run either of the following commands, 109 entries are retrieved
> JC> using the net-snmp agent running on a 1 GHZ, 256 MB RAM, Mandrake Linux 8.2
> JC> machine.
> 
> Does 109 entries mean 109 interfaces, or 109 varbinds retrieved (~ 5
> interfaces)?

There are about 5 interfaces, so appx 109 varbinds.

> JC> time snmpwalk -c public -v 2c localhost interfaces
> JC> time snmpbulkwalk -C r30 -c public -v 2c localhost interfaces
> JC> 
> JC> In either case the time elapsed is given as appx 2.5 seconds.  tethereal
> JC> shows the following packet sequence:
> 
> That is a long time. How about these two commands:
> 
>       time snmpwalk -c public -v 2c localhost ifIndex
>       time snmpgetnext -c public -v 2c localhost ifTable.2
> 
> If the second command takes close to 2 seconds, then the access to the ifTable
> is plenty fast, but finding the first varbind after the table is what is taking
> so long.

Nope...both of those commands took about the same length of time (0.22s & 0.29s).

Are you using an older version of net-snmp? If so, try a more recent
> one, which has has some optimizations to the access control stuff.
I'm using version 5.1.2.

> 
> 
> JC> is this typical of Linux Net-SNMP installations
> 
> Nope. 5.2 cvs on my machine:
> 
>       $ time snmpwalk -Cp -Ct localhost ifTable
>       Variables found: 110
>       Total traversal time = 0.159480 seconds
>       real    0m0.322s

Mine returned:

Variables found: 108
Total traversal time = 3.318399 seconds

Thanks for your help.  At least now I know it's not expected to work like this.
 :-)  I'll have to try out the 5.2 (beta?) when time allows, and perhaps try
5.1.2 on a different machine/kernel....could that make a difference?




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
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

Reply via email to