Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 03:19:41 +0800
From:      Xin LI <delphij@frontfree.net>
To:        Kalev Lember <kalev@colleduc.ee>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Read-only ReiserFS support for FreeBSD 5.x
Message-ID:  <20041019191941.GB1376@frontfree.net>
In-Reply-To: <41755FAF.8080300@colleduc.ee>
References:  <417538B9.7070001@club-internet.fr> <41755FAF.8080300@colleduc.ee>

next in thread | previous in thread | raw e-mail | index | archive | help

--kfjH4zxOES6UT95V
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 19, 2004 at 09:40:47PM +0300, Kalev Lember wrote:
> One of the things I have missed in FreeBSD is a good journaling=20
> filesystem. This is one of the places where Linux beats BSD: Linux=20
> supports far more filesystems that the BSDs do.

=46rom my view, journaling is not necessarily to be superior than the
SoftUpdates in FreeBSD, however, having journaling filesystem support
will make it possible for us to actually *compare* them and improve
our SoftUpdates implementation.  If you have found that some filesystems
outperform FreeBSD's, it might be because some other factors, and some
of these can be changed by tuning up the file system, while some others
lies on things other than journaling techniques.

> Writing a journaling filesystem from scratch is not a trivial thing to=20
> do, however. Maybe we should consider using ReiserFS or some other=20
> journaling one as FreeBSD's primary filesystem now that the 6-current is=
=20
> branched?

I personally prefer SoftUpdates over Journalling because it guarantees that
everything written on disk is consistent while Journalling does not (you'd
say that it have transaction log and hence can rollback to a consistent
state, however in most journalling implementations this is not done in a
safe way so the reliability is in doubt).  To get journalling work in a
correct way you will need some non-violatile memory or UPS so the system
can guarantee its writes to the transaction log area is done correctly.

ReiserFS, however, *does* provide better performance when dealing with zill=
ions
of small files.  I don't want to debate whether a well-designed system shou=
ld
actually utilize this, but I believe it would be beneficial to bring some
different ideas we can take as reference :-)

> One of the issues with ReiserFS is the licence of course.
Yes for sure, and with this in concern it would not be possible for us to
make it a part of kernel before someone actually re-write it from scratch.

My intention is, however, to write a new (or to improve our existing)
filesystem which is optimized for large files (e.g. databases), while
providing "fairly good" performance when dealing with many small files.

Cheers,
--=20
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.


--kfjH4zxOES6UT95V
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBdWjN/cVsHxFZiIoRAob6AJ4/nHgN1VpViWQtxiPW3jbQauXv1QCeKK2y
p/arwu0182naTpe8Q9/ozxg=
=TDC8
-----END PGP SIGNATURE-----

--kfjH4zxOES6UT95V--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041019191941.GB1376>