From owner-freebsd-fs@FreeBSD.ORG Fri May 13 00:46:06 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 6B02C106566B for ; Fri, 13 May 2011 00:46:06 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 272FD8FC0A for ; Fri, 13 May 2011 00:46:06 +0000 (UTC) Received: by yxl31 with SMTP id 31so927967yxl.13 for ; Thu, 12 May 2011 17:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=/Z9GaqqcyNhje0gNUL7KOwYgFeYbd6c6Fr8+MdnbI+o=; b=hqC3Xf4xnwOsbS8GzegE30o4Z76U64Dwf2ctuXqc+rsIUcIumjZPXYFYOnn41QFxdt c4eCgaZNPPfDgx1cGMiZE0E8FZ2RB0ujisFqiP3GDqsKy88FVX2D6zEJXN1dB2LbyFyl ycvY4SjPaWTnjbVTzfDWJiHpCwso5ikyVz02U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=P0/15Yg8rbeRHALIQT6S05gheSxZMUSZJJudKQ5vv+PNKMjLdMpvxi4J6Z7EEjIg7O QJfEWYSfguqweYUG0zJEaIPgKdrrREqyrNzYi9sUnRucYrSM74Vyx6402+5j6iMEJLW7 1XR0wd6erGx7OSXHTa/FDYOBgtaF/tT7pS1fE= MIME-Version: 1.0 Received: by 10.90.194.2 with SMTP id r2mr841599agf.86.1305247565592; Thu, 12 May 2011 17:46:05 -0700 (PDT) Received: by 10.90.52.15 with HTTP; Thu, 12 May 2011 17:46:05 -0700 (PDT) In-Reply-To: References: <1700693186.266759.1305241371736.JavaMail.root@erie.cs.uoguelph.ca> Date: Thu, 12 May 2011 17:46:05 -0700 Message-ID: From: Freddie Cash To: Bob Friesenhahn Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS: How to enable cache and logs. 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: Fri, 13 May 2011 00:46:06 -0000 On Thu, May 12, 2011 at 4:19 PM, Bob Friesenhahn wrote: > On Thu, 12 May 2011, Rick Macklem wrote: >>> >>> The large write feature of the ZIL is a reason why we should >>> appreciate modern NFS's large-write capability and avoid anchient NFS. >>> >> The size of a write for the new FreeBSD NFS server is limited to >> MAX_BSIZE. It is currently 64K, but I would like to see it much larger. >> I am going to try increasing MAX_BSIZE soon, to see what happens. > > Zfs would certainly appreciate 128K since that is its default block size. Note: the "default block size" is a max block size, not an "every block written is this size" setting. A ZFS filesystem will use any power-of-2 size under the block size setting for that filesystem. Only zvols have an "every block written will be this size" setting. -- Freddie Cash fjwcash@gmail.com