Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 21:03:28 -0600
From:      Rick Romero <rick@havokmon.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: Performance difference between UFS and ZFS with NFS
Message-ID:  <20131118210328.Horde.ONsT69y3hBKUccCAO1qR4Q8@www.vfemail.net>
In-Reply-To: <CAM=5oeCoj63hLmJq6hU6VKwf2bnGgbYNNY-yH9LisEs_wf4Bqg@mail.gmail.com>
References:  <CAM=5oeCoj63hLmJq6hU6VKwf2bnGgbYNNY-yH9LisEs_wf4Bqg@mail.gmail.com>

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

Quoting Eric Browning <ericbrowning@skaggscatholiccenter.org>:


> Right now I'm going to have to abandon ZFS until it works with NFS.  I
> don't want to get into a finger pointing game, I'd just like to help get
> this fixed, I have one old i386 server I can try things out on if that
> helps and it's already on 9 stable and ZFS v28.

When you created the raid0, did you leave the disk cache enabled?  I  
know it's against the purpose of ZFS to leave the controller and drive  
caches enabled, but it sure improves performance.

In both our cases, (IIRC)NFS will also wait for that commit response -  
so if the caches are disabled, NFS really begins to drag. I believe  
there was a commit in 9.2 that allowed modification of a sysctl to  
disable/change the NFS commit... in some manner.. I forget exactly..  
they all tie in together.

Also disable the cache flushing.
See https://wiki.freebsd.org/ZFSTuningGuide
And http://forums.freebsd.org/archive/index.php/t-30856.html


Rick




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