login
Header Space

 
 

Re: When will ZFS become stable?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ivan Voras <ivoras@...>
Cc: <freebsd-current@...>
Date: Monday, January 7, 2008 - 5:59 am

On Fri, Jan 04, 2008 at 12:42:28PM +0100, Ivan Voras wrote:

To sum up this thread, let me present ZFS status as of today.

Before I do that, one explanation. I was away from FreeBSD for like 3-4
weeks, because of real life issues, etc. I hope, I'm now back for good.
Let me also use this again to invite any interested committers to help
working on ZFS (I'm inviting people to help from a day one).

Ok.

The most pressing issues currently are:
1. kmem_map exhaustion.
2. Low memory deadlocks in ZFS itself.

I believe 2nd problem is already fixed in OpenSolaris, at least that was
my impression when I made last integration, I need to double check. If
that's true, I'll try to commit the fix before 7.0-RELEASE.

The 1st problem has of course much wider audience. First of all you
need:

	http://people.freebsd.org/~pjd/patches/vm_kern.c.2.patch

The patch is not yet committed, because I was discussing better
solutions with alc@. I don't think we (he) will be able to come up with
something better before 7.0-RELEASE, so I'm going to ask re@ for
approval for this patch today. Note that it is low risk change, because
it is executed only in situation where the system will panic anyway.

Of course it is so much better to use ZFS on 64bit systems, but it also
works on i386. I'm running ZFS in production for many months on two i386
systems. One has 1GB memory and those tunning in loader.conf:

vfs.zfs.prefetch_disable=3D1
vm.kmem_size=3D671088640
vm.kmem_size_max=3D671088640

I've three ZFS pools in here, no UFS at all. The load is rather light,
serving large files. No panics.

The second "production" box is my laptop. I've 2GB of RAM (it worked
fine with 1GB too), but I do have 'options KVA_PAGES=3D512' in my kernel
config and my loader.conf looks like this:

vm.kmem_size=3D1073741824
vm.kmem_size_max=3D1073741824
vfs.zfs.prefetch_disable=3D1

My laptop is ZFS-only. No panics whatsoever.

The box I'm running ZFS for the longest time is amd64 system with 1GB of
RAM. This box is used for backups (ZFS snapshots are so damn handy) and
guess what, I'm using rsync for backups:) It also serves files through
NFS:

beast:root:~# showmount -e | wc -l
      31

ZFS is used heavly here:

beast:root:~# zfs list -t filesystem | wc -l
      50
beast:root:~# zfs list -t snapshot | wc -l
    1029

And loader.conf:

vm.kmem_size=3D629145600
vm.kmem_size_max=3D629145600

And again, rock stable.

All my ZFS systems use vm_kern.c.2.patch.

Of course all this doesn't mean ZFS works great on FreeBSD. No. It is
still an experimental feature. I don't agree we should deny mounting ZFS
on i386, etc. We can improve warning and even advise increasing
KVA_PAGES on i386. It's too late to increase vm.kmem_size by default, as
it can affect other parts of the system. ZFS also can't do it
automatically.

In my opinion people are panicing in this thread much more than ZFS:)
Let try to think how we can warn people clearly about proper tunning and
what proper tunning actually means. I think we should advise increasing
KVA_PAGES on i386 and not only vm.kmem_size. We could also warn that
running ZFS on 32bit systems is not generally recommended. Any other
suggestions?

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
When will ZFS become stable?, Ivan Voras, (Fri Jan 4, 7:42 am)
Re: When will ZFS become stable?, Dag-Erling Smørgrav, (Mon Jan 7, 10:04 am)
Re: When will ZFS become stable?, Ivan Voras, (Mon Jan 7, 10:37 am)
Re: When will ZFS become stable?, Andrew Thompson, (Mon Jan 7, 4:46 pm)
Re: When will ZFS become stable?, Pawel Jakub Dawidek, (Mon Jan 7, 5:59 am)
Re: When will ZFS become stable?, Ivan Voras, (Mon Jan 7, 6:30 am)
Re: When will ZFS become stable?, Oliver Fromme, (Tue Jan 8, 1:58 pm)
Re: When will ZFS become stable?, Mark Powell, (Sat Jan 12, 5:45 pm)
Re: When will ZFS become stable?, Dag-Erling Smørgrav, (Tue Jan 8, 2:24 pm)
Re: When will ZFS become stable?, Scot Hetzel, (Wed Jan 9, 1:39 pm)
Re: When will ZFS become stable?, Ivan Voras, (Tue Jan 8, 7:16 pm)
Re: When will ZFS become stable?, Dan Nelson, (Wed Jan 9, 1:45 am)
Re: When will ZFS become stable?, Steve Kargl, (Tue Jan 8, 1:59 pm)
Re: When will ZFS become stable?, Igor Mozolevsky, (Mon Jan 7, 9:17 am)
Re: When will ZFS become stable?, Robert Watson, (Sun Jan 6, 11:36 am)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 12:47 pm)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 1:20 pm)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 1:36 pm)
Re: When will ZFS become stable?, Claus Guttesen, (Sun Jan 6, 4:00 pm)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 2:10 pm)
ZFS honesty, Scott Long, (Sun Jan 6, 5:00 pm)
Re: ZFS honesty, 韓家標 Bill Hacker, (Sun Jan 6, 6:20 pm)
Re: ZFS honesty, Ivan Voras, (Sun Jan 6, 6:43 pm)
Re: ZFS honesty, 韓家標 Bill Hacker, (Sun Jan 6, 6:58 pm)
Re: ZFS honesty, Alexandre "Sunny" Kovalenko..., (Sun Jan 6, 8:03 pm)
Re: ZFS honesty, 韓家標 Bill Hacker, (Sun Jan 6, 10:29 pm)
Re: ZFS honesty, Andrew Gallatin, (Wed Jan 9, 9:23 am)
Re: ZFS honesty, Alexandre "Sunny" Kovalenko..., (Wed Jan 9, 10:55 am)
Re: ZFS honesty, Andrew Gallatin, (Wed Jan 9, 11:36 am)
Re: ZFS honesty, Alexandre Biancalana, (Mon Jan 7, 11:23 am)
Re: ZFS honesty, Kris Kennaway, (Sun Jan 6, 5:32 pm)
Re: ZFS honesty, Scott Long, (Sun Jan 6, 5:54 pm)
Re: ZFS honesty, Ivan Voras, (Sun Jan 6, 6:33 pm)
Re: ZFS honesty, Ivan Voras, (Sun Jan 6, 9:16 pm)
Re: ZFS honesty, 韓家標 Bill Hacker, (Sun Jan 6, 6:32 pm)
Re: When will ZFS become stable?, Robert Watson, (Sun Jan 6, 1:08 pm)
Re: When will ZFS become stable?, Darren Reed, (Tue Jan 22, 11:09 am)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 1:28 pm)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 1:43 pm)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 2:00 pm)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 2:09 pm)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 2:49 pm)
Re: When will ZFS become stable?, Brooks Davis, (Fri Jan 4, 12:33 pm)
Re: When will ZFS become stable?, Ivan Voras, (Fri Jan 4, 1:58 pm)
Re: When will ZFS become stable?, Peter Schuller, (Sun Jan 6, 5:51 am)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 8:58 am)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 9:07 am)
Re: When will ZFS become stable?, Henri Hennebert, (Sun Jan 6, 11:48 am)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 12:03 pm)
Re: When will ZFS become stable?, Henri Hennebert, (Sun Jan 6, 12:47 pm)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 1:13 pm)
Re: When will ZFS become stable?, Maciej Suszko, (Sun Jan 6, 9:46 am)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 11:46 am)
Re: When will ZFS become stable?, Maciej Suszko, (Sun Jan 6, 12:05 pm)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 12:22 pm)
Re: When will ZFS become stable?, Maciej Suszko, (Sun Jan 6, 3:56 pm)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 9:50 am)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 10:27 am)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 10:51 am)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 11:08 am)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 12:45 pm)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 1:12 pm)
Re: When will ZFS become stable?, Gary Corcoran, (Sun Jan 6, 2:48 pm)
Should we simply disallow ZFS on FreeBSD/i386?, Maxim Sobolev, (Sun Jan 6, 5:56 pm)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Joao Barros, (Mon Jan 7, 10:52 am)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Peter Schuller, (Mon Jan 7, 1:06 pm)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Alexander Kabaev, (Mon Jan 7, 6:47 pm)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Christian Walther, (Mon Jan 7, 3:10 am)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Igor Mozolevsky, (Mon Jan 7, 4:20 am)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Christian Walther, (Mon Jan 7, 4:51 am)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Erich Dollansky, (Sun Jan 6, 7:39 pm)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Oliver Fromme, (Tue Jan 8, 1:51 pm)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Adam McDougall, (Sun Jan 6, 7:32 pm)
Re: Should we simply disallow ZFS on FreeBSD/i386?, David Taylor, (Tue Jan 8, 3:56 am)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Maxim Sobolev, (Sun Jan 6, 8:58 pm)
Re: Should we simply disallow ZFS on FreeBSD/i386?, Bernd Walter, (Mon Jan 7, 11:36 am)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 1:20 pm)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 1:34 pm)
Re: When will ZFS become stable?, Vadim Goncharov, (Sun Jan 6, 4:56 pm)
Re: When will ZFS become stable?, Kris Kennaway, (Sun Jan 6, 5:42 pm)
Re: When will ZFS become stable?, Robert Watson, (Sun Jan 6, 6:33 pm)
Re: When will ZFS become stable?, Vadim Goncharov, (Mon Jan 7, 11:16 am)
Re: When will ZFS become stable?, Robert Watson, (Mon Jan 7, 11:39 am)
Re: When will ZFS become stable?, Vadim Goncharov, (Mon Jan 7, 7:28 pm)
Re: When will ZFS become stable?, Robert Watson, (Mon Jan 7, 7:39 pm)
Re: When will ZFS become stable?, Vadim Goncharov, (Tue Jan 8, 2:58 pm)
Re: When will ZFS become stable?, Robert Watson, (Tue Jan 8, 3:22 pm)
Re: When will ZFS become stable?, Ivan Voras, (Sun Jan 6, 6:45 pm)
Re: When will ZFS become stable?, Robert Watson, (Tue Jan 8, 5:19 am)
Re: When will ZFS become stable?, Brooks Davis, (Fri Jan 4, 2:12 pm)
speck-geostationary