Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 May 2020 15:17:04 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Nikita Stepanov <nikitastepanov113@yandex.kz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Which ufs Is faster: ufs1 or ufs2?
Message-ID:  <20200505151704.4d876046.freebsd@edvax.de>
In-Reply-To: <4603761588683677@sas1-ffdbcd5f1d77.qloud-c.yandex.net>
References:  <4603761588683677@sas1-ffdbcd5f1d77.qloud-c.yandex.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 05 May 2020 19:01:17 +0600, Nikita Stepanov wrote:
> [again nothing]

UFS1 has been used for the root partition historically
(older FreeBSD versions), while UFS2 was used for everything
else. Today you will probably definitely go for UFS2. It's
not really about some speed advantage, but about reliability.
UFS2, if set up properly, can perform quite well even under
heavy I/O load. The filesystem parameters that you can set
using tunefs to reflect what will be important in usage:
will it be many small files, will it be huge files, will
it be for a hard disk or a SSD?

Additional features such as soft updates and journaling,
which can help in increasing filesystem performance, are
available for UFS2, not for UFS1, if I remember correctly.

See "man tunefs" for details.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20200505151704.4d876046.freebsd>