Date: Wed, 14 Feb 2001 13:41:30 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Dag-Erling Smorgrav <des@ofug.org> Cc: Doug Rabson <dfr@nlsystems.com>, arch@FreeBSD.ORG Subject: Re: sparse core dumps Message-ID: <Pine.BSF.4.21.0102141336490.1018-100000@besplex.bde.org> In-Reply-To: <xzpsnliy9h4.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Feb 2001, Dag-Erling Smorgrav wrote: > Doug Rabson <dfr@nlsystems.com> writes: > > Probably it should just use getpagesize() to decide what block size to > > use. > > Why not just hardcode PAGE_SIZE like I did? An incorrect value will > still work, just slightly less efficiently. Empirical tests show that > as long as you stick to reasonable values, the block size doesn't > affect disk usage much. One reason is that it is a bug for PAGE_SIZE to be visible to applications. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102141336490.1018-100000>