From owner-freebsd-stable@FreeBSD.ORG Thu Jan 20 19:27:43 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47CF216A4CE for ; Thu, 20 Jan 2005 19:27:43 +0000 (GMT) Received: from amber.aeternal.net (amber.in.markiza.sk [62.168.76.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2234343D46 for ; Thu, 20 Jan 2005 19:27:42 +0000 (GMT) (envelope-from corwin@pleiades.aeternal.net) Received: from localhost (localhost.aeternal.net [127.0.0.1]) by amber.aeternal.net (Postfix) with ESMTP id 76E47B875 for ; Thu, 20 Jan 2005 20:30:49 +0100 (CET) Received: from amber.aeternal.net ([127.0.0.1]) by localhost (amber.aeternal.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00438-05 for ; Thu, 20 Jan 2005 20:30:48 +0100 (CET) Received: from pleiades.aeternal.net (pleiades.markiza.sk [192.168.0.7]) by amber.aeternal.net (Postfix) with ESMTP id 0736DB873 for ; Thu, 20 Jan 2005 20:30:48 +0100 (CET) Received: from pleiades.aeternal.net (localhost.aeternal.net [127.0.0.1]) by pleiades.aeternal.net (Postfix) with ESMTP id 942DA7E824 for ; Thu, 20 Jan 2005 20:27:40 +0100 (CET) Received: (from corwin@localhost) by pleiades.aeternal.net (8.13.1/8.13.1/Submit) id j0KJRe6W006932 for freebsd-stable@freebsd.org; Thu, 20 Jan 2005 20:27:40 +0100 (CET) (envelope-from corwin) Date: Thu, 20 Jan 2005 20:27:39 +0100 From: martin hudec To: freebsd-stable@freebsd.org Message-ID: <20050120192739.GD5431@pleiades.aeternal.net> References: <200501201948.42707.emanuel.strobl@gmx.net> <200501202000.43688.emanuel.strobl@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dFWYt1i2NyOo1oI9" Content-Disposition: inline In-Reply-To: <200501202000.43688.emanuel.strobl@gmx.net> X-Copyright: (C) 2005 Martin Hudec X-Operating-System: FreeBSD pleiades.aeternal.net 6.0-CURRENT i386 X-PGP-Key: http://www.aeternal.net/corwin_aeternal.asc User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at aeternal.net Subject: Re: Higher ATA-Mode -> lower speed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: martin hudec List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 19:27:43 -0000 --dFWYt1i2NyOo1oI9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Thu, Jan 20, 2005 at 08:00:39PM +0100 or thereabouts, Emanuel Strobl wro= te: > > > > I observed a strange behaviour which seems to explain my often noticed > > "16MB/s hard-limit" > > > > I have a UDMA133 drive (MAXTOR 6L060J3) which saturates at 16MB/s when I > > dump anything to it, regardless of the block size. This transfer rate is > > reached with bs=3D4k and doesn't increase any more even not with bs=3D6= 4k. > > > > Can anybody confirm that for different hw? Especially people like fandi= no > > who already discussed poor ata performance on -current (~16 Oct. 04). my tests shows speeds ranging from 36.9MB/s up to 59.3MB/s.=20 System is 6.0-CURRENT (yup I know this is -stable list), built on Jan 10, 2005 with VIA 8235 UDMA133 controller. Disk configuration is as following: ad0: 38172MB [77557/16/63] at ata0-master UDMA133 ad1: 39205MB [79656/16/63] at ata0-slave UDMA133 /usr is located on /dev/ad0s1e, and /various is located on /dev/ad1s1d. Testing of ad0: pleiades# dd if=3D/dev/zero of=3D/usr/testfile bs=3D4k count=3D2000 8192000 bytes transferred in 0.161283 secs (50792701 bytes/sec) pleiades# dd if=3D/dev/zero of=3D/usr/testfile bs=3D16k count=3D2000 32768000 bytes transferred in 0.792992 secs (41321975 bytes/sec) pleiades# dd if=3D/dev/zero of=3D/usr/testfile bs=3D64k count=3D2000 131072000 bytes transferred in 3.386982 secs (38698759 bytes/sec) Testing for ad1: pleiades# dd if=3D/dev/zero of=3D/various/testfile bs=3D4k count=3D2000 8192000 bytes transferred in 0.131618 secs (62240716 bytes/sec) pleiades# dd if=3D/dev/zero of=3D/various/testfile bs=3D16k count=3D2000 32768000 bytes transferred in 0.674646 secs (48570665 bytes/sec) pleiades# dd if=3D/dev/zero of=3D/various/testfile bs=3D64k count=3D2000 131072000 bytes transferred in 3.184140 secs (41164020 bytes/sec) =20 I also run these tests on another machine shows speeds ranging from 49MB/s up to 63MB/s. System is 5.3-STABLE built on Dec 7, 2004 with SiS 735 UDMA100 controller. Disk configuration is as following: ad0: 76319MB [155061/16/63] at ata0-master UDMA100 /usr is located on /dev/ad0s1e. Testing of ad0: amber# dd if=3D/dev/zero of=3D/usr/testfile bs=3D4k count=3D2000 8192000 bytes transferred in 0.154835 secs (52907939 bytes/sec) amber# dd if=3D/dev/zero of=3D/usr/testfile bs=3D16k count=3D2000 32768000 bytes transferred in 0.495422 secs (66141576 bytes/sec) amber# dd if=3D/dev/zero of=3D/usr/testfile bs=3D64k count=3D2000 131072000 bytes transferred in 2.546718 secs (51467023 bytes/sec) I hope that this information will help you.=20 Cheers, Martin --=20 martin hudec * 421 907 303 393 * corwin@aeternal.net * http://www.aeternal.net "Nothing travels faster than the speed of light with the possible=20 exception of bad news, which obeys its own special laws." Douglas Adams, "The Hitchhiker's Guide to the Galaxy" --dFWYt1i2NyOo1oI9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB8AYrZYEZIv+rgggRAlyQAJ93v/Np7hiT91V7alHQ+nfPJTy0pgCgly9R sdTVkNzAvriJjVNAMGYrrW8= =xVnu -----END PGP SIGNATURE----- --dFWYt1i2NyOo1oI9--