From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 06:23:43 2011 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 598991065670 for ; Wed, 30 Mar 2011 06:23:43 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0AFC88FC12 for ; Wed, 30 Mar 2011 06:23:42 +0000 (UTC) Received: from outgoing.leidinger.net (p5B154942.dip.t-dialin.net [91.21.73.66]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id EF423844015; Wed, 30 Mar 2011 08:23:37 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 9B00D1923; Wed, 30 Mar 2011 08:23:34 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p2U6NXH1032491; Wed, 30 Mar 2011 08:23:33 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 30 Mar 2011 08:23:33 +0200 Message-ID: <20110330082333.50834ni1ky33etmo@webmail.leidinger.net> Date: Wed, 30 Mar 2011 08:23:33 +0200 From: Alexander Leidinger To: Adam Vande More References: <20110328164113.70512us1tv7w5gcg@webmail.leidinger.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: EF423844015.AF07D X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0, required 6, autolearn=disabled) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1302071018.71028@Kqwa4Yw9F6qPGYu5OpDkaw X-EBL-Spam-Status: No Cc: FreeBSD Stable , Claus Guttesen Subject: Re: zfs, nfs and zil 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: Wed, 30 Mar 2011 06:23:43 -0000 Quoting Adam Vande More (from Tue, 29 Mar 2011 12:20:45 -0500): > On Mon, Mar 28, 2011 at 11:46 AM, Claus Guttesen wrote: > >> I'm aware of that, but the only way the problem shows up is when a >> windows machine performs an installation or a windows update (and has >> alot of updates in the pipeline). When traffic (i/o) is low to >> moderate it justs goes along without any issues. And if the same >> virtual windows-installation is on an iscsi-partition (mounted by the >> vmware-server) I can't reproduce the problem. So if disabling the zil >> did make a difference I would install a dedicated zil-ssd-device. And >> if that did alleviate my problem the issue could be related to windows >> performing alot of small reads and writes. Hence why I wanted to >> disable the zil. >> > > What did someone say about shooting yourself on the foot? Because without the ZIL there is no synchronous write (and IIRC no fsync). Without such a sync-write/fsync your software gets an OK (data on disk) when it isn't. The software may ACK to someone else the data is safe and the other side marks the data as processed. When the system crashes, this data is lost while the world thinks the data is there. Every MTA is working like this. Databases rely on this too. > http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Disabling_the_ZIL_.28Don.27t.29 > > I don't think you can even disable it on newer versions of ZFS so it may be > something of a moot point. Newer versions don't matter on 8.x for the moment. Bye, Alexander. -- I think we are in Rats Alley where the dead men lost their bones. -- T. S. Eliot http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137