[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Future of ISC DHCP v2 packages in etch



Steve Langasek schrieb am Dienstag, 14. Juni 2005 um 14:38:09 -0700:
> On Tue, Jun 14, 2005 at 01:10:31PM -0400, Joey Hess wrote:
> > Andrew Pollock wrote:
> > > So, before we go doing this and breaking things, I thought it best to give
> > > people a bit of notice. My understanding is that dhcp3-client is too large,
> > > so maybe something like udhcpc (or apparently klibc has a DHCP client)
> > > instead?
> 
> > udhcp and pump have proven to be broken in the past. I tried again to
> > fit the dhcp3 udeb onto our floppy, but that image, which has 93k free
> > with the dhcp2 udeb, gets over-full with the dhcp3 one. That 100k
> > (compressed; 300k uncompressed!) size difference is pretty amazing.
> 
> AFAICT, the current dhcp3-udeb isn't being built with -Os.  Someone ought to
> try this and see how much of a difference it makes.

Since I try to learn something about compilers, I gave it a shot :-)

just comparing the binary even with -Os the ratio dhcp2/dhcp3 is
1/2.6 

106312  dhcp-2.0pl5/debian/dhcp-client-udeb/sbin/dhclient
277336  dhcp3-3.0.1/debian/dhcp3-client-udeb/sbin/dhclient    <- -Os
416640  dhcp3-3.0.1/debian/dhcp3-client-udeb/sbin/dhclient




-- 
J�Friedrich

There are only 10 types of people:
Those who understand binary and those who don't.



Reply to: