On 16 February 2010 22:15, Sylvain Dery <[email protected]> wrote:
> I'm currently evaluating the net-SNMP sdk and I must have the answers to the
> following questions in order to make a recommendation to my employer.  Can
> you please provide the answers to them?

I'll leave the Windows-related questions to those with more expertise
than I do.   But for the others:


> Will it be possible to compile the SNMP agent with gcc3.4?

Yes - there should be no problem with this.

> What is the memory footprint of a typical, simple SNMP agent embeeded within
>     the master agent for the arm-linux2.6.20.4 embeded system?

I wouldn't like to try and put a number on this.  You are best off
compiling things for yourself, and see what you get.
  But I would direct your attention to the FAQ entries

    http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_05
&
    http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_06

which are relevant here.
Note that the Net-SNMP agent wasn't designed specifically with
embedded systems in mind, so mimizing the size has never
been a deliberate design goal.


> Does the generated code meet the needs of real-time systems?

That's a somewhat vague question.
It depends on exactly what needs you are referring to.

The basic purpose of an SNMP agent is to return information
about the underlying system, and there's an inevitable overhead
in loading this data, before returning the relevant value(s).
   There has always been something of a trade-off between
pre-loading this underlying data and caching it internally
(which is fairly efficient, but the values reported are "stale),
and re-loading the underlying data for every request (which
can be inefficient, but gives the most accurate results).

You'll have to decide on an individual basis, what the best
trade-off is for any particular MIB module.


> Is the agent single or multi-threaded?   Is is thread safe?

Single threaded.
An agent can be embedded within a multi-threaded application,
as long as all of the SNMP-related code is kept within a single
thread.

The Net-SNMP library can be used in a multi-threaded environment.
(see README.thread for details).   However the agent has not
been implemented in this way, and is definitely single threaded.

Dave

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to