Date: Mon, 15 Oct 2001 15:26:34 -0700 From: Doug Barton <DougB@yahoo-inc.com> To: Matt Dillon <dillon@earth.backplane.com> Cc: Matthew Jacob <mjacob@feral.com>, Peter Wemm <peter@wemm.org>, cvs-committers@FreeBSD.ORG, freebsd-arch@FreeBSD.ORG Subject: Re: cvs commit: src/sbin/newfs newfs.8 newfs.c Message-ID: <3BCB629A.ACF72517@yahoo-inc.com> References: <20011015124636.I29828-100000@wonky.feral.com> <200110152126.f9FLQE956721@earth.backplane.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] What do you guys think of the attached patch? If this is such an important issue, it should be documented. I for one am glad I saw this discussion, because I'm looking at creating a custom file system for about 300,000 files that are 400k or smaller. I'm looking to improve file I/O performance, so I thought a smaller frag size might get things packed in tighter... Doug [-- Attachment #2 --] Index: newfs.8 =================================================================== RCS file: /home/ncvs/src/sbin/newfs/newfs.8,v retrieving revision 1.43 diff -u -r1.43 newfs.8 --- newfs.8 2001/10/04 12:24:18 1.43 +++ newfs.8 2001/10/15 22:21:39 @@ -111,6 +111,9 @@ .It Fl b Ar block-size The block size of the file system, in bytes. It must be a power of 2. The default size is 8192 bytes, and the smallest allowable size is 4096 bytes. +The optimal block:fragment ratio is 8:1. +Other ratios are possible, but are not recommended, and may produce +unpredictable results. .It Fl c Ar #cylinders/group The number of cylinders per cylinder group in a file system. The default is to compute the maximum allowed by the other parameters. This value ishome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BCB629A.ACF72517>
