Date: Wed, 30 Mar 2011 08:23:33 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Adam Vande More <amvandemore@gmail.com> Cc: FreeBSD Stable <freebsd-stable@freebsd.org>, Claus Guttesen <kometen@gmail.com> Subject: Re: zfs, nfs and zil Message-ID: <20110330082333.50834ni1ky33etmo@webmail.leidinger.net> In-Reply-To: <AANLkTim1HvyP3iLXLYDa_SsRSdG=JH6Annqhrg=PcFAa@mail.gmail.com> References: <BANLkTinZvLDkmUNHmDGQpQFRr31s=hyHuQ@mail.gmail.com> <20110328164113.70512us1tv7w5gcg@webmail.leidinger.net> <BANLkTiknikVSS_aRRwFEVXAcWx=Aqk9WZg@mail.gmail.com> <AANLkTim1HvyP3iLXLYDa_SsRSdG=JH6Annqhrg=PcFAa@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Adam Vande More <amvandemore@gmail.com> (from Tue, 29 Mar 2011 12:20:45 -0500): > On Mon, Mar 28, 2011 at 11:46 AM, Claus Guttesen <kometen@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110330082333.50834ni1ky33etmo>