reduce memory footprint

This is a discussion on reduce memory footprint within the SNMP Users forums, part of the Networking and Network Related category; Hi all, We're trying to port an existing agent to an embedded device with ucLinux. = The ported agent seems ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-16-2007
Patrik Nagel
 
Posts: n/a
Default reduce memory footprint

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 duri=
ng 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=3Dnios2-linux --with-cc=3Dnios2-linux-gcc --with-cflags=
=3D"-D__uClinux__ -DUSE_VFORK -Dfork=3Dvfork" --enable-static --with-endian=
ness=3Dlittle --with-ldflags=3D"-elf2flt=3D-s16000" --enable-mini-agent --d=
isable-debugging --disable-shared --with-transports=3DUDP --with-out-transp=
orts=3D"Callback Unix TCP AAL5PVC UDPIPv6 TCPIPv6 IPX" --disable-mib-loadin=
g --without-kmem-usage --with-openssl=3Dno --disable-internal-md5 --with-ou=
t-security-modules=3D"ksm" --disable-ipv6 --disable-local-smux --with-out-m=
ib-modules=3D"examples/ucdDemoPublic snmpv3mibs mibII/sysORTable mibII/syst=
em_mib mibII/snmp_mib" --with-mibdirs=3D --with-mibs=3D --with-mib-modules=
=3D"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=FCr 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0