Which ufs Is faster: ufs1 or ufs2?
freebsd at edvax.de
Tue May 5 13:17:10 UTC 2020
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.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions