From owner-freebsd-current@FreeBSD.ORG Tue Oct 19 21:44:13 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 AE82416A4CE for ; Tue, 19 Oct 2004 21:44:13 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id AEC1843D1F for ; Tue, 19 Oct 2004 21:44:12 +0000 (GMT) (envelope-from Emanuel.Strobl@gmx.net) Received: (qmail 14006 invoked by uid 65534); 19 Oct 2004 21:44:11 -0000 Received: from flb.schmalzbauer.de (EHLO cale.flintsbach.schmalzbauer.de) (62.245.232.135) by mail.gmx.net (mp026) with SMTP; 19 Oct 2004 23:44:11 +0200 X-Authenticated: #301138 From: Emanuel Strobl To: freebsd-current@freebsd.org Date: Tue, 19 Oct 2004 23:44:02 +0200 User-Agent: KMail/1.7 References: <20041015190638.C5A0E5D04@ptavv.es.net> <41753A8F.4040809@ng.fadesa.es> <41757837.6010603@elischer.org> In-Reply-To: <41757837.6010603@elischer.org> X-OS: FreeBSD X-Birthday: 10/06/72 X-Address: Munich, 80686 X-Tel: +49 89 18947781 X-CelPhone: +49 173 9967781 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3328621.PJNO5YS9Aj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200410192344.09848.Emanuel.Strobl@gmx.net> cc: fandino@ng.fadesa.es cc: Julian Elischer 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: Tue, 19 Oct 2004 21:44:13 -0000 --nextPart3328621.PJNO5YS9Aj Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Dienstag, 19. Oktober 2004 22:25 schrieb Julian Elischer: Quoting Emanuel Strobl : > Am Samstag, 16. Oktober 2004 19:44 schrieb fandino: [...] >> How is possible that FreeBSD performs as bad? > > I have to confirm that I also have even worse transfer rates. > It's a ICH2 (i815e) with a not so brand new 80GB WD, but I'd expext about > 50MB/s and I get 16MB/s. > > One interesting thing is that the transferrate is constant with blocksizes > from 256 Byte on. Only with a blocksize of 128 Bytes I can see reduced > throughput (10MB/s). > I can remember, when I last did such "esoteric" tests throughput reached > maximum at about 16k blocksize and rapidly degraded with blocksizes small= er > than 10k. But now only very very small blocksizes limit the throughput! > > Some excerpts: (i815 ich2, 5.3-RC1, custom kernel) > > cale:/usr#22: atacontrol mode 0 > Master =3D UDMA100 > Slave =3D BIOSPIO > > ATA channel 0: > Master: ad0 ATA/ATAPI revision 5 > > atapci0: port > 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > > cale:/usr#25: uname -a > FreeBSD cale.flintsbach.schmalzbauer.de 5.3-STABLE FreeBSD 5.3-STABLE #4:= =20 Sun > Oct 17 02:33:58 CEST 2004 > root@cale.flintsbach.schmalzbauer.de:/usr/obj/usr/src/sys/CALE i386 [...] > try add > options PREEMPTION Regarding my message=20 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D1339485+0+current/freebsd-cu= rrent I also tried Julians suggestion and added PREEMPTION to my kernel. I get exactly the same really low transferrates of 16MB/s, no change at any= =20 blocksize. cale:/usr#9: dd if=3D/dev/zero of=3Dtestfile bs=3D256 count=3D50000 50000+0 records in 50000+0 records out 12800000 bytes transferred in 0.770128 secs (16620613 bytes/sec) cale:/usr#10: dd if=3D/dev/zero of=3Dtestfile bs=3D128 count=3D50000 50000+0 records in 50000+0 records out 6400000 bytes transferred in 0.645674 secs (9912123 bytes/sec) cale:/usr#11: dd if=3D/dev/zero of=3Dtestfile bs=3D16k count=3D5000 5000+0 records in 5000+0 records out 81920000 bytes transferred in 5.008406 secs (16356502 bytes/sec) I think it's not worth changing the HD and compare these results against an= y=20 other os, 16MB/s is _really_ slow. Out of curiosity I compared a very old B= X=20 based PII@300 with a old Seagate HD: OpenBSD 3.5: 24MB/s =46reeBSD 5.3-stable: 15MB/s I don't expect this system to provide much more than 25MB/s but it's much m= ore=20 than my 1.1GHz Tualatin Celeron with ICH2 and FreeBSD 5.3-stable provides! Thanks, =2DHarry > > fandino wrote: > > Kenneth Culver wrote: > >>> # dd if=3D/dev/stripe/test of=3D/dev/null bs=3D1024k count=3D1024 > >>> 1073741824 bytes transferred in 30.072215 secs (35705445 bytes/sec) --nextPart3328621.PJNO5YS9Aj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBdYqpBylq0S4AzzwRArsBAJ9jF7EKfnZfGHYy3iD36QDvBLF3kACfa5mJ /11yJp//zS3BDJFbg+7X/90= =0ydI -----END PGP SIGNATURE----- --nextPart3328621.PJNO5YS9Aj--