From owner-freebsd-fs@FreeBSD.ORG Wed Jan 26 18:41:23 2005 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1D0716A4CF for ; Wed, 26 Jan 2005 18:41:23 +0000 (GMT) Received: from web41215.mail.yahoo.com (web41215.mail.yahoo.com [66.218.93.48]) by mx1.FreeBSD.org (Postfix) with SMTP id AA30443D5A for ; Wed, 26 Jan 2005 18:41:23 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 86910 invoked by uid 60001); 26 Jan 2005 18:41:23 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=1U9864dPf08scd+kPRIy6+/BWHLXnB4HmPztGuiLCVXey5eC+yxoHi1I5bGsUUzOepfWhp7sVyuiFC+rs7wV//0UslMatTyhpvavSoKFvGL963yGYm5G6Ds2bgBBkyOiUbnWG13ZCi7TEuSk88aB4kHxjlPYeoQfKWLLjKIctTU= ; Message-ID: <20050126184123.86908.qmail@web41215.mail.yahoo.com> Received: from [213.54.133.150] by web41215.mail.yahoo.com via HTTP; Wed, 26 Jan 2005 10:41:23 PST Date: Wed, 26 Jan 2005 10:41:23 -0800 (PST) From: Arne "Wörner" To: Zhihui Zhang In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-fs@FreeBSD.ORG Subject: Re: ufs+softupdates / consistency X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 18:41:24 -0000 --- Zhihui Zhang wrote: > On Wed, 26 Jan 2005, Arne Wörner wrote: > > I would be glad, if somebody explains me, why ext2fs/async in > > Linux kernel 2.4.27 (KNOPPIX V3.7) is much faster (about 4 > > times faster) than a ufs with soft updates on the same slice of > > the hard disc? > > > > Is it due to consistency reasons? In case of a ext2fs/sync in > > my Linux setting Linux was about 4 times slower. > > > > Are we already trying to issue write order requests for the > > disc blocks (whose write order is arbitrary) sorted by sector > > number (in order to move the disc heads as less as possible)? > > The disc write cache could do that, but I disabled it in order > > to decrease the probability of inconsistency. > > > No file system is super for ALL benchmarks. Maybe you should > say something about your application, its access pattern, file > count, file sizes, read/write ratio, etc. > Ok Reading a special device (like /dev/ad0s2) in FreeBSD R5.3 is as fast as in KNOPPIX. But writing a single new file with big block size (32k-128k) and 1000 blocks is much different (depends on Linux/FBSD and sync/async). And I do not know now, why that is so. For further information see http://home.tiscali.de/cmdr_faako/ , if you want, please. -Arne Wörner __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com