Subject: Re: Netscape.
To: None <burgess@s069.infonet.net>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: current-users
Date: 03/13/1995 11:15:04
> 
> > > no special hooks, etc.  It would cost (on average) 4k extra disk space
> >                                          ^^^^^^^^^^
> > 					 Worst Case
> 
> No, on average.  "Half" of the time, you'd waste 4k padding the text
> segment.  Half the time you'd waste 4k padding the data segment.
> 
> worst cast 8k, best case 0k, average (Assuming even distribution of
> text and data sizes) 4k.
> 

Well, worst case is 16k - 2...

Relate this to the current 4k-pages waste: the expected wastage per binary
is 2k+2k; 8k-page binaries will have an expected waste of 4k+4k.

With the current population of /bin, /sbin, /usr/libexec, /usr/bin and
/usr/sbin (~500 files) the extra disk space needed will amount to something
like 2MB.

Actually, a quick survey of data segment sizes on my sparc (8k page size)
shows that most binaries have a data size of 8k, which leads me to the
suspicion that the data segment sizes are not actually very evenly distributed.

-pk