From owner-freebsd-fs@FreeBSD.ORG Mon Sep 5 09:16:46 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D0A7106566B for ; Mon, 5 Sep 2011 09:16:46 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id B60238FC15 for ; Mon, 5 Sep 2011 09:16:45 +0000 (UTC) Received: from localhost (58.wheelsystems.com [83.12.187.58]) by mail.dawidek.net (Postfix) with ESMTPSA id 3FBE4D23; Mon, 5 Sep 2011 11:16:44 +0200 (CEST) Date: Mon, 5 Sep 2011 11:16:16 +0200 From: Pawel Jakub Dawidek To: David Brodbeck Message-ID: <20110905091616.GD1662@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iVCmgExH7+hIHJ1A" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org Subject: Re: ZFSv28+NFSv4 poor file creation performance, "sync=disabled" has no effect X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2011 09:16:46 -0000 --iVCmgExH7+hIHJ1A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 02, 2011 at 09:29:33AM -0700, David Brodbeck wrote: > I originally posted this on FreeBSD-questions, but it was suggested that I > bring it here. > I'm testing FreeBSD 9.0-BETA with an eye toward eventually using > FreeBSD 9.0 to replace some existing OpenSolaris 2008.11 > installations. I've found NFS file creation performance (as measured > by Bonnie++) is equally slow for both with default settings. However, > on OpenSolaris I disable the ZIL to improve file creation performance. > This tuning parameter was removed from FreeBSD 9.0; its replacement > is supposed to be the per-filesystem flag "sync", but setting this > flag seems to have no effect. >=20 > I did recompile the FreeBSD kernel without debugging features before > doing the tests, so I don't think this is a case of debugging code > slowing things down. >=20 > Here's the relevant data; these are all from bonnie++'s "sequential > create" benchmark. The NFS client was RedHat Enterprise Linux 5.6. >=20 > OpenSolaris 2008.11, default settings: 58/second > OpenSolaris 2008.11, with "zil_disable=3D1": 1258/second >=20 > FreeBSD 9.0-BETA, default settings: 107/second > FreeBSD 9.0-BETA, with "sync=3Ddisabled": 106/second >=20 > So it appears the "sync" ZFS parameter has no effect in FreeBSD. Has > anyone else seen this? Is there a way to improve NFS file creation > performance now that zil_disable has been removed? It would be good if you could try your test on FreeBSD directly. This way we could see if ZFS is to blame or NFS. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --iVCmgExH7+hIHJ1A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk5kk2AACgkQForvXbEpPzSrgQCg7xJH3ZJM2KsuwlS4b0LGI6Vt rFEAoOEbRXKqHID2yLZjaFz6PEJJRPbj =I40w -----END PGP SIGNATURE----- --iVCmgExH7+hIHJ1A--