[Midnightbsd-cvs] src: newfs.h: Raise the default blocksize for UFS/FFS filesystems from

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu May 26 20:58:27 EDT 2011


Log Message:
-----------
 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.

Obtained from: FreeBSD, mckusick

Modified Files:
--------------
    src/sbin/newfs:
        newfs.h (r1.3 -> r1.4)
        (http://cvsweb.midnightbsd.org/src/sbin/newfs/newfs.h?r1=1.3&r2=1.4)


More information about the Midnightbsd-cvs mailing list