Re: Size of net-snmp for embedded platform

2008-12-12 Thread BOMB
Hi Hal and Wes, Merry Christmas! I had configured the system upon minimum configuration(http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_04) ,this, ./configure --host=x86-linux --target=mips-linux --with-cc=mips-linux-uclibc-gcc --with-ar=mips-linux-uclibc-ar --with-endianness=big --disab

Re: Size of net-snmp for embedded platform

2008-12-11 Thread Wes Hardaker
> On Thu, 11 Dec 2008 10:42:21 -0500, "Hal Rosenstock" <[EMAIL PROTECTED]> > said: In short, though, there is a bunch of code in the snmplib library that isn't really needed by the agent. >> HR> Is this the first place to analyze ? >> >> Probably HR> Is this where there are "

Re: Size of net-snmp for embedded platform

2008-12-11 Thread Hal Rosenstock
On Thu, Dec 11, 2008 at 9:54 AM, Wes Hardaker <[EMAIL PROTECTED]> wrote: >> On Wed, 10 Dec 2008 09:56:58 -0500, "Hal Rosenstock" <[EMAIL PROTECTED]> >> said: > > HR> We've got it "down" to slightly under 400K mainly by following that > HR> but that's still too large :-( > > I doubt you'll

Re: Size of net-snmp for embedded platform

2008-12-11 Thread Wes Hardaker
> On Wed, 10 Dec 2008 09:56:58 -0500, "Hal Rosenstock" <[EMAIL PROTECTED]> > said: HR> We've got it "down" to slightly under 400K mainly by following that HR> but that's still too large :-( I doubt you'll be able to make massive jumps beyond that. You may be able to shave off another 10

Re: Size of net-snmp for embedded platform

2008-12-10 Thread Hal Rosenstock
On Wed, Dec 10, 2008 at 9:46 AM, Wes Hardaker <[EMAIL PROTECTED]> wrote: >> On Wed, 10 Dec 2008 06:43:39 -0500, "Hal Rosenstock" <[EMAIL PROTECTED]> >> said: > > HR> How small a memory footprint do you think is reasonable achieveable > HR> before diminishing returns set in ? > > I think af

Re: Size of net-snmp for embedded platform

2008-12-10 Thread Wes Hardaker
> On Wed, 10 Dec 2008 06:43:39 -0500, "Hal Rosenstock" <[EMAIL PROTECTED]> > said: HR> How small a memory footprint do you think is reasonable achieveable HR> before diminishing returns set in ? I think after you follow the instructions on that page we've reached pretty-much diminishing

Re: Size of net-snmp for embedded platform

2008-12-10 Thread Hal Rosenstock
Wes, On Tue, Dec 9, 2008 at 9:51 AM, Wes Hardaker <[EMAIL PROTECTED]> wrote: > Your options are summarized here: > > http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_04 > > It's hard to get it down to much smaller than what is recommended > there. There are a number of other large projects t

Re: Size of net-snmp for embedded platform

2008-12-09 Thread Wes Hardaker
> On Tue, 9 Dec 2008 12:10:41 +0800, "BOMB" <[EMAIL PROTECTED]> said: B> After I ported the net-snmp to mips embedded system, I found it B> really a big bulk, I tried to install only necessary B> libs(libnetsnmp.so 465kB libnetsnmpagent.so 121KB B> libnetsnmphelpers.so 73KB libnetsnmpmibs.so 1

Re: Size of net-snmp for embedded platform

2008-12-08 Thread Brian A. Seklecki
900k isn't bad for SNMP. We could look at Chrunchgen'ing the binary with others... ~BAS On Tue, 9 Dec 2008, BOMB wrote: > Hi, Zorros > After I ported the net-snmp to mips embedded system, I found it really a big > bulk, I tried to install only necessary libs(libnetsnmp.so 465kB > libnetsnmpa

Size of net-snmp for embedded platform

2008-12-08 Thread BOMB
Hi, Zorros After I ported the net-snmp to mips embedded system, I found it really a big bulk, I tried to install only necessary libs(libnetsnmp.so 465kB libnetsnmpagent.so 121KB libnetsnmphelpers.so 73KB libnetsnmpmibs.so 118KB) and commands (snmpd 23KB snmpget 9KB), the size totally add up to 9