Date: Mon, 5 Mar 2012 19:54:03 +0400 (MSK) From: Maxim Konovalov <maxim.konovalov@gmail.com> To: Kirk McKusick <mckusick@mckusick.com> Cc: freebsd-fs@freebsd.org, Dieter BSD <dieterbsd@engineer.com> Subject: Re: Maximum blocksize for FFS? Message-ID: <alpine.BSF.2.00.1203051952420.1580@mp2.macomnet.net> In-Reply-To: <201112212312.pBLNCj2a054427@chez.mckusick.com> References: <201112212312.pBLNCj2a054427@chez.mckusick.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Kirk, > > On Tue, Dec 13, 2011 at 7:18 PM, Kirk McKusick <mckusick@mckusick.com> wrote: > > > The default blocksize in FreeBSD 9.0 is 32K/4K. We have been > > > running with this size in -current for a almost a year with no > > > reported problems. > > > > Hi, > > > > There is a reported problem: > > The number of inode was divided by two with FreeBSD 9.0 (PR > > bin/162659) and this create some problems because "the number of > > fragments per inode (NFPI) was not adapted to the new default block > > size" (Bruce Evans'explanation [1]). > > > > Regards, > > > > Olivier > > > > [1] http://lists.freebsd.org/pipermail/freebsd-bugs/2011-December/046713.html > > Thanks for bringing your report to my attention. I have applied the > suggested change (reducing NFPI from 4 to 2) so as to keep the default > number of inodes for a 32K/4K filesystem the same as were created on > a 16K/2K filesystem. > Does it make sense to commit the following diff as well (as Bruce pointed out the comment is not true anymore)? Index: param.h =================================================================== --- param.h (revision 231431) +++ param.h (working copy) @@ -241,9 +241,6 @@ * make it too big the kernel will not be able to optimally use * the KVM memory reserved for the buffer cache and will wind * up with too-few buffers. - * - * The default is 16384, roughly 2x the block size used by a - * normal UFS filesystem. */ #define MAXBSIZE 65536 /* must be power of 2 */ #define BKVASIZE 16384 /* must be power of 2 */ %%% -- Maxim Konovalov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1203051952420.1580>