svn commit: r222319 - head/sbin/newfs

Vadim Goncharov vadim_nuclight at mail.ru
Fri May 27 10:08:45 UTC 2011


Hi Kirk McKusick! 

On Thu, 26 May 2011 18:22:49 +0000 (UTC); Kirk McKusick <mckusick at 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 at mail.ru
[Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]


More information about the svn-src-all mailing list