From owner-freebsd-current Sun Feb 8 18:01:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA10195 for current-outgoing; Sun, 8 Feb 1998 18:01:05 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA10155; Sun, 8 Feb 1998 18:00:45 -0800 (PST) (envelope-from andrew@zeta.org.au) Received: from gurney.reilly.home (d65.syd2.zeta.org.au [203.26.11.65]) by godzilla.zeta.org.au (8.8.7/8.8.7) with ESMTP id MAA18212; Mon, 9 Feb 1998 12:53:33 +1100 Received: (from andrew@localhost) by gurney.reilly.home (8.8.7/8.8.5) id JAA03349; Mon, 9 Feb 1998 09:19:12 +1100 (EST) From: Andrew Reilly Message-Id: <199802082219.JAA03349@gurney.reilly.home> Date: Mon, 9 Feb 1998 09:19:11 +1100 (EST) Subject: Re: Custom init(8) (and some ideas) To: mike@smith.net.au cc: tlambert@primenet.com, dyson@FreeBSD.ORG, abial@nask.pl, freebsd-current@FreeBSD.ORG, jkh@FreeBSD.ORG In-Reply-To: <199802070454.UAA03722@dingo.cdrom.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 6 Feb, Mike Smith wrote: > You would have to scan the entire image to locate the compression > blocks, which would be a chore. If this is likely to become a popular game (paging from compressed binaries), would it be useful to build a special "binary gzipper" that split and separately compressed independent 4k pages? I believe that the V.42 compression in modems forces blocking at 256-byte boundaries, to minimise the amount that needs to be re-transmitted on errors, and that still manages reasonable error rates. You would need to build a table of pointers to each of the blocks to avoid scanning the whole thing, but there could be some gain. Is there an obvious reason for this not to work? ('Ware traveller: this way lies general-purpose compressed swap and other monsters....) -- Andrew "The steady state of disks is full." -- Ken Thompson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe current" in the body of the message