From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 02:49:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48BBD16A4CE for ; Wed, 20 Oct 2004 02:49:27 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 0700143D1D for ; Wed, 20 Oct 2004 02:49:25 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 84664 invoked by uid 0); 20 Oct 2004 02:44:36 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 20 Oct 2004 02:44:36 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 4CA59131B1E; Wed, 20 Oct 2004 10:49:20 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00365-01; Wed, 20 Oct 2004 10:49:09 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 00430131630; Wed, 20 Oct 2004 10:49:08 +0800 (CST) Date: Wed, 20 Oct 2004 10:49:08 +0800 From: Xin LI To: Mike Jakubik Message-ID: <20041020024908.GA3797@frontfree.net> References: <41715E7F.7060509@ng.fadesa.es> <20041018100045.f8koww0skcco0woo@www.sweetdreamsracing.biz> <4173D66F.6010200@DeepCore.dk> <4173F2E9.7010407@ng.fadesa.es> <417406E3.9010706@DeepCore.dk> <4174FD04.8040000@ng.fadesa.es> <20041019104525.ikgw8kcw8sw480os@www.sweetdreamsracing.biz> <4129.192.168.0.188.1098211592.squirrel@192.168.0.188> <20041019200908.GA655@frontfree.net> <4259.192.168.0.188.1098217092.squirrel@192.168.0.188> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <4259.192.168.0.188.1098217092.squirrel@192.168.0.188> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-delphij FreeBSD 5.3-delphij #4: Mon Sep 13 12:44:05 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 5.3b7and poor ata performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 02:49:27 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Mike On Tue, Oct 19, 2004 at 04:18:12PM -0400, Mike Jakubik wrote: > Xin LI said: >=20 > > Unfortunatelly I can reproduce similiar problem when using Ultra320 und= er > > mpt(4) and a version of Adaptec's SCSI card (maybe aic, or something el= se, > > which I have to go to my office to find out). Additionally the problem= is > > not FreeBSD specific, with a Linux installation, it shows poor performa= nce > > too. (No RAID configuration, though). > > > > I found that block size does influence performance greatly. With a blo= ck > > size of 131072 I got peak read performance at about 70MB/s, but that's > > all. > > I did not have the necessary knowledge at the time I have did the test > > last > > month, so I got only the result and thought that I have made something > > wrong and hoped someone to correct me with no luck :-( >=20 > Hrm, i tried your block size, and the performance is even worse: >=20 > # dd if=3D/dev/da0 of=3D/dev/null bs=3D131072 count=3D2000 > 2000+0 records in > 2000+0 records out > 262144000 bytes transferred in 8.688651 secs (30170852 bytes/sec) You may want to try other block sizes, like 65536, 262144, 524288, 1048576 or so. The peak performance block size depends heavily on hardware... Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBddIk/cVsHxFZiIoRAkBbAJ9cR9SqUZNJNm8A0qtraT8F5SsCUQCeMe09 rZHLAnyasnMj9noRe7R8sNs= =u4Sc -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--