From owner-freebsd-fs@FreeBSD.ORG Thu Jan 27 04:04:18 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 D34BE16A4CE for ; Thu, 27 Jan 2005 04:04:18 +0000 (GMT) Received: from web41205.mail.yahoo.com (web41205.mail.yahoo.com [66.218.93.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 9809E43D39 for ; Thu, 27 Jan 2005 04:04:18 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 26915 invoked by uid 60001); 27 Jan 2005 04:04:18 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=5wG6AFe7klxSwKKUcjhKDCg6lvSuOwxvUccvfeWJpI+/uWCTZxCyYO/nVF3X3qIUwT1bdiN0VXgtZ7Fe4GiYFrm0CMFvK9roocpFf0zAqSheOnXangxqA01wTQnKmig8slGHlDfyvzIkPYEV0bJ1CJoUErB8CBf25cxpg1GKWeY= ; Message-ID: <20050127040418.26913.qmail@web41205.mail.yahoo.com> Received: from [213.54.140.239] by web41205.mail.yahoo.com via HTTP; Wed, 26 Jan 2005 20:04:18 PST Date: Wed, 26 Jan 2005 20:04:18 -0800 (PST) From: Arne "Wrner" To: delphij@delphij.net In-Reply-To: <1106796206.623.35.camel@spirit> 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: Thu, 27 Jan 2005 04:04:18 -0000 --- Xin LI wrote: > 在 2005-01-26三的 17:42 -0800,Arne WXrner写道: > > Can somebody explain me, why write speed is so much slower > > than read speed (even with hard disc write cache)? > > This is common case caused by physical constraints I guess :-) > > I tried an UFS1 file system mounted async for another test. > > And the write speed was still about 5 Mbyte/sec. > > Well, I haven't benchmarked it by myself, however, the author of > SoftUpdates claims that the benchmark should be 95% or so as you > async mount a UFS file system. BTW: I think 5MB/s of write > speed is somewhat too slow for an IDE device, you may want to > check the cable, etc. > Hmm. I tried a "dd if=/dev/zero of=a bs=64k count=1000 ; sync" with KNOPPIX and the same slice/cable and ext3fs (mkfs with defaults) and it was about 4 times faster than FreeBSD R5.3. Furthermore the read speed is about 25Mbyte/sec, so that the cable seems to be ok. Funnily my other hard disc (SAMSUNG SP1604N), which uses the same cable, is much faster: write (bs=64k count=1000 if=/dev/zero): appr. 48Mbyte/sec read (bs=64k count=3975 if=): appr. 38Mbyte/sec (???????????) I do not understand this different behaviour... *sniff* -Arne __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail