From owner-freebsd-current Sun Feb 8 05:59:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA25970 for current-outgoing; Sun, 8 Feb 1998 05:59:55 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA25961; Sun, 8 Feb 1998 05:59:49 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id IAA01104; Sun, 8 Feb 1998 08:52:33 -0500 (EST) (envelope-from toor) From: "John S. Dyson" Message-Id: <199802081352.IAA01104@dyson.iquest.net> Subject: Re: Custom init(8) (and some ideas) In-Reply-To: <199802081336.QAA15578@tejblum.dnttm.rssi.ru> from Dmitrij Tejblum at "Feb 8, 98 04:36:12 pm" To: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum) Date: Sun, 8 Feb 1998 08:52:33 -0500 (EST) Cc: dyson@FreeBSD.ORG, mike@smith.net.au, abial@nask.pl, tlambert@primenet.com, freebsd-current@FreeBSD.ORG, jkh@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dmitrij Tejblum said: > "John S. Dyson" wrote: > > I think that I might have misinformed here. Gzipped binaries need swap > > backing store for each page in the image even for .text section, when > > physical memory space needs to be freed for another page. Non-gzipped > > binaries can depend on paging off of the a.out itself. Also, non-gzipped > > binaries don't have to page out the .text for the initial freeing of the > > .text space. Gzipped binaries need to page out the .text pages when they > > are individually freed due to pageout daemon activity. Also, gzipped > > binaries are not demand-loaded, but are loaded at startup. > > Also, (unpacked) .text section of gzipped binaries is not shared among several > copies of same program, like in case of normal program. If I understand > correctly, this is a big problem for Andrzej, since all his program is crunched > together. > > If text and data were gzipped separately, the life, probably, could be easier. > Yep, good observation. We can fix that seperately, by adding a mechanism for sharing such .text segments. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe current" in the body of the message