Hi all,

We're trying to port an existing agent to an embedded device with ucLinux. The 
ported agent seems to work so far, but it requires too much memory during 
runtime. The agent allocates more than one MB, which is too much in our case. 
The agent should at most allocate a few hundred kilobytes

According to the FAQ, we used the following configure options:

./configure --host=nios2-linux --with-cc=nios2-linux-gcc 
--with-cflags="-D__uClinux__ -DUSE_VFORK -Dfork=vfork" --enable-static 
--with-endianness=little --with-ldflags="-elf2flt=-s16000" --enable-mini-agent 
--disable-debugging --disable-shared --with-transports=UDP 
--with-out-transports="Callback Unix TCP AAL5PVC UDPIPv6 TCPIPv6 IPX" 
--disable-mib-loading --without-kmem-usage --with-openssl=no 
--disable-internal-md5 --with-out-security-modules="ksm" --disable-ipv6 
--disable-local-smux --with-out-mib-modules="examples/ucdDemoPublic snmpv3mibs 
mibII/sysORTable mibII/system_mib mibII/snmp_mib" --with-mibdirs= --with-mibs= 
--with-mib-modules="prp"

What else can be done to reduce the memory footprint?

TIA,
Patrik
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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