Re: X-agent performance.

2012-12-05 Thread Bill Fenner
[ Removing -users ]

On Dec 4, 2012, at 10:57 PM, Zheng, Wenjie (Barclay) 
barclay.zh...@alcatel-lucent.com wrote:

 Dear All,
  
 By studying and testing SNMP performance these days, I found that X-agent is 
 not efficient as I expected:
 SNMP sub-agent mode slows down the total time of getbulk, by change the SNMP 
 agent architecture from master and sub-agent to only one agent, the 
 performance improves dramatically.
 See below for some test result, with sub-agent, the getbulk time is 
 approximately 3 times than the time without sub-agent.
 
 
  TableNo SubAgentwith Sub Agent
 
 16oid, 18 rows4s13s
 5 oid, 500 rows38s140s
 70 oid, 70 rows35s152s
 -
 
 Don’t know if anyone has same puzzle, is there anything wrong here?

The master agent turns getbulk into a series of getnexts when it is forwarding 
to a subagent. I assume this is an architectural limitation (since it does the 
same thing for MIB handlers), but haven't looked into it any more deeply than 
that

  Bill

 
 I paste the config file:
 ~
 # SNMP master agent configuration file template
 # defines a list of listening addresses, on which to receive incoming SNMP 
 requests
 agentaddress 54321
 # enable the AgentX functionality and cause the agent to start listening for 
 incoming AgentX registrations
 master  agentx
 # defines the address the master agent listens at, or the subagent should 
 connect to 
 agentxSocket localhost:705
 # defines the timeout period (NUM seconds) for an AgentX request
 agentXTimeout 5
 # define engine ID for version3
 engineIDType 1
 ~
 
 
 Thanks,
 Barclay
 
 
 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 Net-snmp-coders mailing list
 Net-snmp-coders@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


X-agent performance.

2012-12-04 Thread Zheng, Wenjie (Barclay)
Dear All,
 
By studying and testing SNMP performance these days, I found that X-agent is 
not efficient as I expected:
SNMP sub-agent mode slows down the total time of getbulk, by change the SNMP 
agent architecture from master and sub-agent to only one agent, the performance 
improves dramatically.
See below for some test result, with sub-agent, the getbulk time is 
approximately 3 times than the time without sub-agent.


 Table  No SubAgent with Sub Agent

16oid, 18 rows  4s  13s
5 oid, 500 rows 38s 140s
70 oid, 70 rows 35s 152s
-

Don’t know if anyone has same puzzle, is there anything wrong here?

I paste the config file:
~
# SNMP master agent configuration file template
# defines a list of listening addresses, on which to receive incoming SNMP 
requests
agentaddress 54321
# enable the AgentX functionality and cause the agent to start listening for 
incoming AgentX registrations
master  agentx
# defines the address the master agent listens at, or the subagent should 
connect to 
agentxSocket localhost:705
# defines the timeout period (NUM seconds) for an AgentX request
agentXTimeout 5
# define engine ID for version3
engineIDType 1
~


Thanks,
Barclay


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


X-agent performance.

2012-11-26 Thread Zheng, Wenjie (Barclay)
Dear All,


By studying and testing SNMP performance these days, I came up some ideas here, 
would like to hear your comments:
SNMP sub-agent mode slows down the total time of getbulk, by change the SNMP 
agent architecture from sub-agent to one agent, the performance improves 
dramatically.
See below for some test result, with sub-agent, the getbulk time is 
approximately 3 times than the time without sub-agent.

 Table

No SubAgent

with Sub Agent

16oid, 18 rows

4s

13s

5 oid, 500 rows

38s

140s

70 oid, 70 rows

35s

152s



Don’t know if anyone has same puzzle, is there anything wrong here?



I paste the config file:

~

# SNMP master agent configuration file template

# defines a list of listening addresses, on which to receive incoming SNMP 
requests

agentaddress 54321

# enable the AgentX functionality and cause the agent to start listening for 
incoming AgentX registrations

master  agentx

# defines the address the master agent listens at, or the subagent should 
connect to

agentxSocket localhost:705

# defines the timeout period (NUM seconds) for an AgentX request

agentXTimeout 5

# define engine ID for version3

engineIDType 1

~





Thanks,

Barclay




--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders