From owner-freebsd-current Tue Mar 2 3:49:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 45C5614BDC for ; Tue, 2 Mar 1999 03:49:45 -0800 (PST) (envelope-from sthaug@nethelp.no) Received: (qmail 23812 invoked by uid 1001); 2 Mar 1999 11:49:27 +0000 (GMT) To: sos@freebsd.org Cc: current@freebsd.org Subject: Re: ATA driver From: sthaug@nethelp.no In-Reply-To: Your message of "Tue, 2 Mar 1999 11:06:13 +0200 (SAST)" References: <199903020906.LAA00297@hangdog.is.co.za> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Tue, 02 Mar 1999 12:49:27 +0100 Message-ID: <23810.920375367@verdi.nethelp.no> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Just some results of testing the comparison of wd and ata: > > Both bonnie tests were run on a freshly booted machine, P133, > 64M RAM, running X and netscape, but only Bonnie active: > > > -------Sequential Output-------- ---Sequential Input-- --Random-- > -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- > Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU > ATA 64 3237 69.0 2913 14.0 1409 9.4 2951 59.3 3043 11.6 55.9 2.4 > WD 64 2556 54.5 2902 13.3 1457 9.7 1987 40.3 3082 13.2 59.1 2.0 Some results from a Celeron 300A with 66 Mhz bus OC to 75 Mhz (ie. processor running at 337 MHz), 256 MB memory. The disk is a 10 GB IBM Deskstar-16GP, one of the better 5400 RPM disks IMO. With only a 64 MB test, you can clearly see memory caching - for instance the insane numbers for seeks: WD 64 12030 62.4 11295 15.6 12118 29.5 18309 100.0 103363 99.9 1254.2 12.1 ATA 64 5803 37.3 7346 18.7 7127 22.5 18220 99.0 102285 99.5 1384.2 13.8 Here's a test with 512 MB, which is bigger than physical memory. Considerably more realistic numbers: WD 512 10480 53.8 10333 14.6 3645 7.3 12121 69.6 12133 15.1 129.5 1.8 ATA 512 5745 38.0 7120 17.6 2745 6.6 5475 32.4 7292 10.0 123.2 2.8 I'm using DMA for the WD driver: wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 wd0: 9671MB (19807200 sectors), 19650 cyls, 16 heads, 63 S/T, 512 B/S Bootup messages for the ATA driver: ata-pci0: rev 0x01 on pci0.4.1 ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 ... ad0: ATA-4 disk at ata0 as master ad0: 9671MB (19807200 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 31 depth queue acd0: CDROM drive at ata1 as slave acd0: drive speed 0 - 6875KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked The CDROM player seems to work - I can play CDs and get sound trough the sound card. Eject works. Haven't tried CD-DA yet. On the first track I played, I got atapi: error = 20 acd0: read_toc failed atapi: error = 20 but this didn't happen for subsequent tracks. Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message