From owner-freebsd-stable@FreeBSD.ORG Fri Dec 31 22:30:38 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EA1B106566C for ; Fri, 31 Dec 2010 22:30:38 +0000 (UTC) (envelope-from cforgeron@acsi.ca) Received: from mta02.eastlink.ca (mta02.eastlink.ca [24.224.136.13]) by mx1.freebsd.org (Postfix) with ESMTP id DC89D8FC0C for ; Fri, 31 Dec 2010 22:30:37 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ip04.eastlink.ca ([unknown] [24.222.39.52]) by mta02.eastlink.ca (Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)) with ESMTP id <0LEB00DZRBT0RYB2@mta02.eastlink.ca> for freebsd-stable@freebsd.org; Fri, 31 Dec 2010 18:00:36 -0400 (AST) X-CMAE-Score: 0 X-CMAE-Analysis: v=1.1 cv=zW4qkwwpA+AM09VaNOLkucDBqffYZTwBSaEYifkV/P4= c=1 sm=1 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=CaSQRWpuhzfPvHMvIKAA:9 a=zz4y56aexYhWLkgD6osA:7 a=HmRrJTQEN8vC8F_CZwn515ix8TcA:4 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=ZjIqTmGINkQKjhCx/60B3Q==:117 Received: from blk-222-10-85.eastlink.ca (HELO server7.acsi.ca) ([24.222.10.85]) by ip04.eastlink.ca with ESMTP; Fri, 31 Dec 2010 18:00:36 -0400 Received: from server7.acsi.ca ([192.168.9.7]) by server7.acsi.ca ([192.168.9.7]) with mapi; Fri, 31 Dec 2010 18:00:36 -0400 From: Chris Forgeron To: "freebsd-stable@freebsd.org" Date: Fri, 31 Dec 2010 18:00:36 -0400 Thread-topic: ZFS v28 and zil_disable Thread-index: AcupNZahBcx36wFoRi2rwBWUj768Gg== Message-id: Accept-Language: en-US Content-language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Subject: ZFS v28 and zil_disable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2010 22:30:38 -0000 BTW, I'm noticing the removal of vfs.zfs.zil_disable as well - It's not listed as a sysctl when I check vfs.zfs, but I see it's still in the source code; In usr/src/sys/cddl/ : # grep -r zil_disable * cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil.h.orig:extern int zil_disable; cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c.orig:int zil_disable = 0; /* disable intent logging */ cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c.orig:TUNABLE_INT("vfs.zfs.zil_disable", &zil_disable); cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c.orig:SYSCTL_INT(_vfs_zfs, OID_AUTO, zil_disable, CTLFLAG_RW, &zil_disable, 0, cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c.orig: if (zil_disable) { cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c.orig: if (bp->bio_cmd == BIO_FLUSH && !zil_disable) I know Sun was trying to move away from allowing people to disable the ZIL, but was this by design in the FreeBSD port, or are we just missing some code to link the sysctl up with the code to easily disable the ZIL? I'll try setting zil_disable=1 in the source tomorrow and recompile to see if it works. It's such a huge speed increase for some operations (80MB/sec with ZIL, 450 MB/sec without ZIL) that I still use zil_disable. I'll also have to check my 9.0-CUR v28 patch, although I assume it's the same. -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Jean-Yves Avenard Sent: December-27-10 1:31 AM To: jhell Cc: freebsd-stable@freebsd.org Subject: Re: New ZFSv28 patchset for 8-STABLE: Kernel Panic Jean-Yves PS: saving my 5MB files over the network , went from 40-55s with v15 to a constant 16s with v28... I can't test with ZIL completely disabled , it seems that vfs.zfs.zil_disable has been removed, and so did vfs.zfs.write_limit_override _______________________________________________