UFS1 vs UFS2

Joerg Sonnenberger joerg at britannica.bec.de
Mon Dec 31 01:57:08 UTC 2012


On Sun, Dec 30, 2012 at 08:39:26PM +0100, Paul Schenkeveld wrote:
> On Sun, Dec 30, 2012 at 02:21:26PM +0100, Wojciech Puchar wrote:
> > OpenBSD by default use UFS1 for partitions smaller than 1TB.
> > 
> > FreeBSD use always UFS2. UFS2 uses double the amount of space for inodes. 
> > basic operation seems the same.
> > 
> > Does it make sense to use UFS1 for small filesystem (on SSD) that would 
> > have few millions of files. It will take less space for inodes, but how 
> > about performance?
> 
> UFS2 became necessary when disk got bigger and sizes and block pointers
> in metadata on UFS1 became too small to fully utilize the larger disks.

There is also the possible concern of Extended Attributes. If you use
them, you might be a lot more happy with UFS2.

Joerg


More information about the freebsd-hackers mailing list