Thread (20 messages) 20 messages, 7 authors, 2008-08-07

Re: Porting Zfs features to ext2/3

From: Goswin von Brederlow <hidden>
Date: 2008-08-07 12:28:48

Theodore Tso [off-list ref] writes:
On Sun, Jul 27, 2008 at 04:54:41PM -0600, Eric Anopolsky wrote:
quoted
On Sun, 2008-07-27 at 01:49 -0700, postrishi wrote:
quoted
Hello

I want to know that has any work been done to port the Zfs features to
ext2/3
Did you know that ZFS is available for Linux?
ZFS is available in a FUSE filesystem.  As a userspace filesystem, it
means a huge number of context switches to get data between the disk,
to the kernel, to the FUSE userspace, back to the kernel, and to the
process trying to access the ZFS file.  That's not going to be high
performance.  For someone who wants to migrate from Solaris to Linux,
it might be useful, but I'm not sure you would really want to use a
ZFS/FUSE implementation in production.
In most situations the limiting factor is the users
harddisk. Esspecially for metadata the seek time is the real limiting
factor. In the case of ZFS there is another big factor though, the
checksumming. A kernel implementation could use the async crypto
engine and take advantage of hardware checksumming.

To truely compete with a kernel ZFS there would have to be an
interface for passing data to the crypto engine from
userspace. Combine that with splice or some other zero copy solution
and the performance will be mostly the same.


On the other hand never forget how complex the filesystem code is in
the kernel. One of the biggest advantages of fuse is the simplicity of
the code. As such it is much easier to get the codebase stable.

MfG
        Goswin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help