Date: Fri, 31 Dec 2010 20:01:17 -0400 From: Chris Forgeron <cforgeron@acsi.ca> To: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: RE: ZFS v28 and zil_disable Message-ID: <BEBC15BA440AB24484C067A3A9D38D7E0149F32D13D9@server7.acsi.ca> In-Reply-To: <BEBC15BA440AB24484C067A3A9D38D7E0149F32D13D8@server7.acsi.ca> References: <BEBC15BA440AB24484C067A3A9D38D7E0149F32D13D8@server7.acsi.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Oh, and then I read what I post, and notice that the zil_disable parts are = in the .orig files, from the patch. :-) Oh well, I guess I'll just have to invest in a proper ZIL device.=20 -- Christopher Forgeron, B.Sc., CCS, A+, N+=20 ACSI Consulting, Inc / Aardvark Computer Solutions, Inc. email: chris@acsi.ca 2070 Oxford Street, Suite 100, Halifax NS B3L-2T2 Tel: 902-425-2686=A0 Fax: 902-484-7909 -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd= .org] On Behalf Of Chris Forgeron Sent: December-31-10 6:01 PM To: freebsd-stable@freebsd.org Subject: ZFS v28 and zil_disable BTW, I'm noticing the removal of vfs.zfs.zil_disable as well - It's not lis= ted as a sysctl when I check vfs.zfs, but I see it's still in the source co= de; In usr/src/sys/cddl/ : # grep -r zil_disable * cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zil.h.orig:extern int zil_di= sable; cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c.orig:int zil_disable =3D 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_disabl= e, 0, cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c.orig: if (zil_dis= able) { cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c.orig: if (bp->bio= _cmd =3D=3D 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 co= de to link the sysctl up with the code to easily disable the ZIL?=20 I'll try setting zil_disable=3D1 in the source tomorrow and recompile to se= e if it works. It's such a huge speed increase for some operations (80MB/s= ec 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 sa= me.=20 -----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 c= onstant 16s with v28... I can't test with ZIL completely disabled , it seem= s that vfs.zfs.zil_disable has been removed, and so did vfs.zfs.write_limit= _override _______________________________________________ _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BEBC15BA440AB24484C067A3A9D38D7E0149F32D13D9>