Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 1995 09:34:55 +0100
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        peter@haywire.dialix.com (Peter Wemm)
Cc:        freebsd-current@freebsd.org
Subject:   Re: A couple of things 
Message-ID:  <5247.816251695@critter.tfs.com>
In-Reply-To: Your message of "13 Nov 1995 06:58:12 %2B0800." <485u64$2he$1@haywire.DIALix.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I've not looked at the gzip exec code, but what are the odds that each
> executable launched from the crunched image is using up it's own
> amount of ram and swap space rather than sharing pages?  Or does it
> try and be smart by associating the the ungzipped pages with the file
> so that when the crunched image is run, the ungzipped pages are reclaimed?

No, it doesn't do any kind of optimizations, what it really should do
was to create a vnode for the unzipped file, and share the text as usual.

Nobody I have talked to finds it worth doing.

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5247.816251695>