From owner-freebsd-questions@FreeBSD.ORG Fri Sep 2 10:58:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 310221065670 for ; Fri, 2 Sep 2011 10:58:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id DFF9C8FC08 for ; Fri, 2 Sep 2011 10:58:02 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QzRRh-0003Cg-4v for freebsd-questions@freebsd.org; Fri, 02 Sep 2011 12:58:01 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Sep 2011 12:58:01 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 02 Sep 2011 12:58:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 02 Sep 2011 12:57:49 +0200 Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: X-Enigmail-Version: 1.1.2 Subject: Re: ZFSv28+NFSv4 poor file creation performance, "sync=disabled" has no effect X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2011 10:58:03 -0000 On 31/08/2011 23:45, David Brodbeck wrote: > 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. > > 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. > > Here's the relevant data; these are all from bonnie++'s "sequential > create" benchmark. > > OpenSolaris 2008.11, default settings: 58/second > OpenSolaris 2008.11, with "zil_disable=1": 1258/second > > FreeBSD 9.0-BETA, default settings: 107/second > FreeBSD 9.0-BETA, with "sync=disabled": 106/second > > > 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? Please report this to the freebsd-fs mailing list!