Subject: Re: Saving space on install disk idea...
To: David Brownlee <abs@anim.dreamworks.com>
From: Simon Burge <simonb@telstra.com.au>
List: tech-install
Date: 04/16/1999 19:02:23
Simon Burge wrote:

> David Brownlee wrote:
> 
> > We currently compile all the binaries to crunch -O2, would it make
> > more sense to compile them -Os?
> 
> I've got a reasonably idle PII-400 - I'm happy to fire off a "make
> build" with -Os and build a hopefully smaller install disk if anyone
> thinks it's worth the effort...

Well, what a waste of time :-)

	simonpc:i386/floppies/ramdisk 114# size ramdiskbin-O?
	text    data    bss     dec     hex     filename
	978912  45056   1153608 2177576 213a28  ramdiskbin-O2
	974816  45056   1153608 2173480 212a28  ramdiskbin-Os
	simonpc:i386/floppies/ramdisk 115# ls -l ramdiskbin-O?
	-rwxrwxr-x  1 root  wheel  1024000 Apr 16 14:23 ramdiskbin-O2*
	-rwxrwxr-x  1 root  wheel  1019904 Apr 16 18:16 ramdiskbin-Os*
	simonpc:i386/floppies/ramdisk 116# gzip -9 ramdiskbin-O?
	simonpc:i386/floppies/ramdisk 117# ls -l ramdiskbin-O?.gz
	-rwxrwxr-x  1 root  wheel  509294 Apr 16 14:23 ramdiskbin-O2.gz*
	-rwxrwxr-x  1 root  wheel  503614 Apr 16 18:16 ramdiskbin-Os.gz*

Based on what I've seen with -Os on the pmax I would have expected a
little more.  Maybe the i386 has fewer optimisations that take up more
space than the mips, but that theory would take a lot longer on my pmax
to test that the 2-odd hours the peecee took to do a "make build" :).

Anways, if we miss a single disk floppy install by about 5 or 6kB, it's
an option...

Simon.