From owner-freebsd-fs@FreeBSD.ORG Sat Sep 11 00:50:56 2010 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 BADCB106566C for ; Sat, 11 Sep 2010 00:50:56 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 76CC68FC08 for ; Sat, 11 Sep 2010 00:50:56 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4FAI9vikyDaFvO/2dsb2JhbACDGZBujjKuL5FlgSKDJ3QEiiA X-IronPort-AV: E=Sophos;i="4.56,349,1280721600"; d="scan'208";a="93512035" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 10 Sep 2010 20:50:55 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 94E12B3F32; Fri, 10 Sep 2010 20:50:55 -0400 (EDT) Date: Fri, 10 Sep 2010 20:50:55 -0400 (EDT) From: Rick Macklem To: gil@vidals.net Message-ID: <1639122954.761765.1284166255552.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [24.65.230.102] X-Mailer: Zimbra 6.0.7_GA_2476.RHEL4 (ZimbraWebClient - SAF3 (Mac)/6.0.7_GA_2473.RHEL4_64) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS write speed performance tuning (NFS) 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: Sat, 11 Sep 2010 00:50:56 -0000 > I'm building my first ZFS NAS and I'm struggling with write speeds > over NFS. > I want to know if it is possible to somehow set NFS to async AND keep > slogging active with my SSD write cache? > > Here is a brief run down of my write speeds on a 1 gigabit LAN and > FreeBSD > 8.1 using ZFS: > > WRITE SPEEDS of 1 GB file: > 55 MB/sec: scp copy test > 28 MB/sec: NFS with async (zil_disable="1") > 12 MB/sec: NFS with sync (default settings) > > 3 x 1TB 7200 RPM SATA HDs > CPU Intel i7 > Controller: LSI 1068e > Controller: ICH10R (for read and write SSDs) > > This NAS will eventually go into my VMware environment and > unfortunately ESX > uses o_sync in their NFS client. AFAIK, there is no way to change the > VMware > NFS client, so I thought of turning off async on the server side and > yet > somehow still use the ZIL SSD Cache for fast writes? > > Looking forward to learning more about ZFS. > > --Gil Vidals > It sounds like you may already be doing this, but the following email suggests that the log be on a separate SSD device. >From freebsd-fs archive:http://docs.FreeBSD.org/cgi/mid.cgi?4ABD56D6.50301