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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |