Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2011 17:08:36 +0700
From:      Vadim Goncharov <vadim_nuclight@mail.ru>
To:        Kirk McKusick <mckusick@FreeBSD.org>
Cc:        svn-src-all@FreeBSD.org
Subject:   Re: svn commit: r222319 - head/sbin/newfs
Message-ID:  <201105271008.p4RA8bgD024052@kernblitz.nuclight.avtf.net>
In-Reply-To: <201105261822.p4QIMn0Y075807@svn.freebsd.org>
References:  <201105261822.p4QIMn0Y075807@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Kirk McKusick! 

On Thu, 26 May 2011 18:22:49 +0000 (UTC); Kirk McKusick <mckusick@FreeBSD.org> wrote:

> Author: mckusick
> Date: Thu May 26 18:22:49 2011
> New Revision: 222319
> URL: http://svn.freebsd.org/changeset/base/222319

> Log:
>   Raise the default blocksize for UFS/FFS filesystems from
>   16K to 32K and the default fragment size from 2K to 4K.
>   
>   The rational is that most disks are now running with 4K
>   sectors.  While they can (slowly) simulate 512-byte sectors
>   by doing a read-modify-write, it is desirable to avoid this
>   functionality.  By raising the minimum filesystem allocation
>   to 4K, the filesystem will never trigger the small sector
>   emulation.
>   
>   Also, the growth of disk sizes has lead us to double the
>   default block size about every ten years.  The rise from 8K
>   to 16K blocks was done in 2001.  So, by the 10-year metric,
>   the time has come for 32K blocks.

May be it's also the time to grow directory block size allocation? It is
512 bytes still.

-- 
WBR, Vadim Goncharov. ICQ#166852181       mailto:vadim_nuclight@mail.ru
[Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105271008.p4RA8bgD024052>