From owner-freebsd-stable@FreeBSD.ORG Fri Mar 28 00:26:20 2008 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 6043B106566B for ; Fri, 28 Mar 2008 00:26:20 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id D934C8FC16 for ; Fri, 28 Mar 2008 00:26:19 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jf2QD-0003tP-MY for freebsd-stable@freebsd.org; Fri, 28 Mar 2008 00:26:17 +0000 Received: from 78-1-107-168.adsl.net.t-com.hr ([78.1.107.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Mar 2008 00:26:17 +0000 Received: from ivoras by 78-1-107-168.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Mar 2008 00:26:17 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Fri, 28 Mar 2008 01:26:08 +0100 Lines: 55 Message-ID: References: <47EBA3AB.40307@infracaninophile.co.uk> <200803280029.08136.danny@ricin.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA4AB865533665811AC3A61A4" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-107-168.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <200803280029.08136.danny@ricin.com> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Question about file system checks 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, 28 Mar 2008 00:26:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA4AB865533665811AC3A61A4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Danny Pansters wrote: > Generally I can say that with freebsd even if you pull the plug and the= n let=20 > it reboot and do the automatical background fsck you'll likely loose on= ly=20 > that one file you might have been editing while (or just before) you=20 > unplugged the box. Stress testing I've done suggests otherwise :) I've literally repeatedly = pulled the plug of a server in a controlled environment, and with a=20 network logging of (a high load of) file system operations. My results=20 show that UFS+SU and ZFS on FreeBSD loose *the most* files (and in case=20 of UFS+SU especially directories), than any of: jfs, xfs, reiser3 (on=20 Linux 2.6.22) and NTFS (on Windows 2003 Server). ext3 is somewhat=20 similar to UFS+SU, though about 30% better at not loosing files. Some other notes from this proceeding: 1. UFS+gjournal looses the least, but it's also the slowest. 2. UFS+SU had no truncated files or files of unexpected length=20 (apparently it just looses the file that would end up in this state) 3. XFS and JFS end up with a *huge* number of files that are truncated=20 or of unexpected length (40%-50%!) 4. In no case has any of the above file systems gone completely=20 corrupted or lost any of the files/directories not being updated. 5. ZFS on FreeBSD was the fastest, in the sense of creating the most=20 files during this benchmark (though speed was not the target for this=20 benchmark so this is a low-quality observation), closely followed by JFS = and XFS. 6. ZFS crashed the kernel at least once. --------------enigA4AB865533665811AC3A61A4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH7DsgldnAQVacBcgRAg25AJ9A4AaWubVe6sRJJmEBEJi5SY1WtACg4kkg +g2nNprGQR4OUCCJmfXOP7I= =0Cnn -----END PGP SIGNATURE----- --------------enigA4AB865533665811AC3A61A4--