You are not logged in.

#1 2013-06-09 13:01:13

symbioza
Member
From: Poland
Registered: 2012-05-09
Posts: 10

ZFS Advice needed

Hi!
Recently I read a lot about ZFS, can anyone tell me if there is any performance difference while using it on desktop instead of ext4? Cause I'm wondering if  it makes sense to use it as my default fs.

Last edited by symbioza (2013-06-09 13:02:15)

Offline

#2 2013-06-09 13:06:05

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: ZFS Advice needed

Performance is decent in my experience, but have a look at a benchmark instead:
http://www.phoronix.com/scan.php?page=n … px=MTM1NTA

Offline

#3 2013-06-09 13:07:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: ZFS Advice needed

If you don't need the features ZFS offers, why leave ext4? If you do need them, then performance is not the primary consideration.

Last edited by karol (2013-06-09 13:09:07)

Offline

#4 2013-06-09 13:10:36

symbioza
Member
From: Poland
Registered: 2012-05-09
Posts: 10

Re: ZFS Advice needed

Looks like ext4 beats zfs in each test, but does it really makes so big difference in "normal" usage?

Karol, I'm considering leaving ext for zfs mostly because of this shapshot function, cause I like to experiment and sometimes things go wrong tongue

Last edited by symbioza (2013-06-09 13:13:29)

Offline

#5 2013-06-09 13:12:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: ZFS Advice needed

Do you need the features that ZFS provides? If you want to try it, just read the wiki and go for it, see for yourself, if the performance difference is negligible or not.

Offline

#6 2013-06-09 13:14:48

symbioza
Member
From: Poland
Registered: 2012-05-09
Posts: 10

Re: ZFS Advice needed

Yeah, maybe that's the best idea ;-)

Offline

#7 2013-06-09 13:15:18

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: ZFS Advice needed

How many disks to you plan to manage with zfs?

Offline

#8 2013-06-09 13:18:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: ZFS Advice needed

symbioza wrote:

I'm considering leaving ext for zfs mostly because of this shapshot function, cause I like to experiment and sometimes things go wrong tongue

btrfs has similar features: http://en.wikipedia.org/wiki/Btrfs

Offline

#9 2013-06-09 13:18:33

symbioza
Member
From: Poland
Registered: 2012-05-09
Posts: 10

Re: ZFS Advice needed

One at laptop, and two at desktop

Karol, brtfs is not as stable as zfs

Last edited by symbioza (2013-06-09 13:19:20)

Offline

#10 2013-06-09 13:26:16

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: ZFS Advice needed

I don't recommend using zfs for only one or two disks.

Offline

#11 2013-06-09 13:27:28

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: ZFS Advice needed

btrfs is not as stable as zfs, this is true, but zfs is not native to linux, so the port has only just become "stable" itself.  Plus, you have to build spl, zfs, spl-utils, and zfs-utils with every kernel upgrade, and it is not quite so straight forward.  Demizerone has an unofficial repo that he keeps pretty up to date, but then you are relying on a single person for your upgrade path.

Offline

#12 2013-06-09 13:29:31

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: ZFS Advice needed

btrfs might be not as stable as zfs on (Open)Solaris or FreeBSD, but the question is, is zfsonlinux as stable as zfs on these OSes?

Offline

#13 2013-06-09 13:32:34

symbioza
Member
From: Poland
Registered: 2012-05-09
Posts: 10

Re: ZFS Advice needed

So, I see that it's pointless to leave ext in my case. Thanks for your help guys ;-)

Offline

#14 2013-06-09 13:34:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: ZFS Advice needed

WonderWoofy wrote:

btrfs is not as stable as zfs, this is true, but zfs is not native to linux

This.

symbioza wrote:

So, I see that it's pointless to leave ext in my case. Thanks for your help guys ;-)

If you want, you can try btrfs out ;P

Offline

#15 2013-06-09 13:37:29

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: ZFS Advice needed

I really love btrfs.  It is neato!  Plus, if you use it in a raid1 setup, it is totally self healing with the checksums when it scrubs, and it has the benefits of dual reading like mdadm raid1.  Like I said, neato!

Offline

#16 2013-06-09 14:17:51

symbioza
Member
From: Poland
Registered: 2012-05-09
Posts: 10

Re: ZFS Advice needed

karol wrote:

If you want, you can try btrfs out ;P

And that's what I'm going to do this evening

Offline

#17 2013-06-09 14:23:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: ZFS Advice needed

symbioza wrote:
karol wrote:

If you want, you can try btrfs out ;P

And that's what I'm going to do this evening

I'll be overeating strawberries ;P


There's also http://www.ext3cow.com/ext3cow/Welcome.html , which can do snapshots too.
http://www.ext3cow.com/ext3cow/FAQ.html tells you what the performance drawbacks are.

Offline

#18 2013-06-09 14:24:53

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: ZFS Advice needed

symbioza wrote:

And that's what I'm going to do this evening

Its neato!

A word of advice though, though our wiki provides a nice glimpse into getting started with btrfs, there are so many features with btrfs that you should really go to the btrfs wiki and peruse the stuff they have in there.  At the bottom the the home page of the btrfs wiki, there are some links, and there is a set of two that I really liked.  They were short and sweet and really gave me an idea of what i was getting into there.  They are the ones about "how I got started with" and "How I use the advanced features of" btrfs.

You might also want to read through the recommended procedure of recovering from a potentially corrupted filesystem.  Unlike other filesystems, which have you jump straight to fsck, the btrfsck should not be used unless necessary. So it is good to have an idea of what you should do in that event before it happens.


Edit: If you are still interested in using zfs, Gentoo/Funtoo has ebuilds in the portage tree.  If compilation of an entire system is too much to simply try out the filesystem, then you can also use Sabayon, which is Gentoo based, and I think has binary packages of zfs, zfs-utils, spl, and spl-utils in their repos.  Then of course there is the *BSDs, which will probably have better zfs performance than linux anyway... beat only by Solaris.

Last edited by WonderWoofy (2013-06-09 14:27:13)

Offline

Board footer

Powered by FluxBB