From owner-freebsd-current@FreeBSD.ORG Wed Oct 20 03:23:58 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 0762716A4CF for ; Wed, 20 Oct 2004 03:23:58 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 6F2A343D5A for ; Wed, 20 Oct 2004 03:23:56 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 84837 invoked by uid 0); 20 Oct 2004 03:19:08 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 20 Oct 2004 03:19:08 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id DF4EA1320B9; Wed, 20 Oct 2004 11:23:52 +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 02115-10; Wed, 20 Oct 2004 11:23:42 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id AEC15131FB8; Wed, 20 Oct 2004 11:23:40 +0800 (CST) Date: Wed, 20 Oct 2004 11:23:40 +0800 From: Xin LI To: Scott Long Message-ID: <20041020032340.GC3797@frontfree.net> References: <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> <20041020024908.GA3797@frontfree.net> <4175D269.208@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aT9PWwzfKXlsBJM1" Content-Disposition: inline In-Reply-To: <4175D269.208@freebsd.org> 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: Mike Jakubik 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 03:23:58 -0000 --aT9PWwzfKXlsBJM1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Scott, On Tue, Oct 19, 2004 at 08:50:17PM -0600, Scott Long wrote: > >You may want to try other block sizes, like 65536, 262144, 524288, 10485= 76 > >or so. The peak performance block size depends heavily on hardware... > > > >Cheers, >=20 > This won't really matter. physio will chop the blocks up into 128k=20 > segments, and GEOM will cut them again into 64k segments. Other than > a minor amount of coelscing in these stages, it won't make a difference. Oh... Maybe the last experiment was done on a RELENG_4 box :-( Here is my result on: mpt0: da0: Fixed Direct Access SCSI-3 device=20 da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queuein= g Enabled da0: 70007MB (143374650 512 byte sectors: 255H 63S/T 8924C) FreeBSD 5.3-BETA7 (compiled three days before) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D2000 bs=3D262144 2000+0 records in 2000+0 records out 524288000 bytes transferred in 6.654783 secs (78783636 bytes/sec) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D4000 bs=3D131072 4000+0 records in 4000+0 records out 524288000 bytes transferred in 6.646773 secs (78878579 bytes/sec) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D8000 bs=3D65536 8000+0 records in 8000+0 records out 524288000 bytes transferred in 6.643376 secs (78918913 bytes/sec) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D16000 bs=3D32768=20 16000+0 records in 16000+0 records out 524288000 bytes transferred in 6.639478 secs (78965244 bytes/sec) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D32000 bs=3D16384 =20 32000+0 records in 32000+0 records out 524288000 bytes transferred in 6.637433 secs (78989573 bytes/sec) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D64000 bs=3D8192 =20 64000+0 records in 64000+0 records out 524288000 bytes transferred in 11.262354 secs (46552257 bytes/sec) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D128000 bs=3D4096 =20 128000+0 records in 128000+0 records out 524288000 bytes transferred in 20.617009 secs (25429877 bytes/sec) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D256000 bs=3D2048 =20 256000+0 records in 256000+0 records out 524288000 bytes transferred in 39.554797 secs (13254726 bytes/sec) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D512000 bs=3D1024 =20 512000+0 records in 512000+0 records out 524288000 bytes transferred in 77.219607 secs (6789571 bytes/sec) cvs# dd if=3D/dev/da0 of=3D/dev/null count=3D1024000 bs=3D512 =20 1024000+0 records in 1024000+0 records out 524288000 bytes transferred in 154.969467 secs (3383170 bytes/sec) However, with a systat -vm, it seems that the first case do less transactions, so I guess I/O tps on da0 is the transaction with GEOM? Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --aT9PWwzfKXlsBJM1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBddo8/cVsHxFZiIoRAnSbAJ9vEWrXoizlJhE6rJNmGAd5MpEZGgCcCeSh A+cta2mChYjerV6RwhRY6Bg= =tkzz -----END PGP SIGNATURE----- --aT9PWwzfKXlsBJM1--