On Wed, Jun 01, 2005 at 05:35:59PM -0700, Fong Tsui wrote:
> 
> I have a subagent behind a master agent. When I do a single walk a MIB
> tree, it is very fast. However, when I do simultaneously walk on the
> same MIB tree, both walk take unbelievable long time. One report says
> 5min vs 45 sec (two walk vs single walk).
> 
> I suspect two things:
> 1) That master agent talking to subagent with simultaneous queries slows
> down the speed?

That shouldn't be the the case - there is additional overhead as you are
issuing twice as many requests but it shouldn't be that bad and as the times
you are quoting are very big I'd say you have either a very large number of
objects or there are some other problem.

> 2) My code for accessing our system data doesn't support multiple tasks
> well?

I suppose this is the case but I also suspect that you could speed things
up in the single walk case.

If you build your subagent as part of the agent rather than as a subagent,
how does that affect the times involved? This would be a easy test of the
theory.

> Does anybody see 1) could be a problem? If yes, could it make so much
> difference? 
> 

/MF


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to