From owner-freebsd-current Wed Mar 3 14:48:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from zippy.dyn.ml.org (pm3-16.ppp.wenet.net [206.15.85.16]) by hub.freebsd.org (Postfix) with ESMTP id A42731575E; Wed, 3 Mar 1999 14:47:56 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost [127.0.0.1]) by zippy.dyn.ml.org (8.9.2/8.9.1) with ESMTP id OAA01656; Wed, 3 Mar 1999 14:47:02 -0800 (PST) (envelope-from garbanzo@hooked.net) Date: Wed, 3 Mar 1999 14:47:02 -0800 (PST) From: Alex Zepeda To: Geoff Rehmet Cc: sos@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: ATA driver In-Reply-To: <199903020906.LAA00297@hangdog.is.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 2 Mar 1999, Geoff Rehmet wrote: > 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: Odd. My (crapy?) WD drive is much faster with DMA (not UDMA AFAIK), so the ATA driver is a loss according to bonnie. I tried a bunch of different settings for the wd driver, and here's the result for posterity (do with it what you will): -------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 WD+SU+ND 256 6234 32.8 7294 11.6 3263 5.7 6048 27.8 7730 6.9 126.6 2.4 WD+SU+AL 256 11405 49.1 11036 16.6 3678 7.3 11284 51.4 11434 13.3 123.6 1.7 WD+SU+AL 256 11150 48.1 11026 16.9 3735 7.4 11295 51.3 11428 13.1 140.1 1.8 WD+SU+DM 256 11420 48.7 10965 16.5 3729 7.4 11349 51.4 11379 13.1 140.3 1.8 WD+SU+32 256 5073 22.5 5580 9.2 2657 5.2 4879 23.6 5985 5.4 128.8 1.5 WD+SU+MB 256 3739 24.6 4047 7.7 1950 3.9 3817 17.5 4354 5.0 118.2 3.4 WD+SU 256 3288 14.8 3478 6.1 1744 3.1 3312 15.8 3752 3.8 120.9 1.1 ATA 256 6313 33.8 7407 12.5 2557 4.8 6124 26.9 7874 6.0 128.6 2.4 ATA = ata driver, soft updates WD+SU = wd driver, soft updates WD+SU+ND= wd driver, soft updates, 32 bit, multiblock-16 WD+SU+AL= wd driver, soft updates, dma, 32 bit, multiblock-16 (after shutting down X, then after a fresh reboot) WD+SU+DM= wd driver, soft updates, dma WD+SU+32= wd driver, soft updates, 32 bit WD+SU+MB= wd driver, soft updates, multiblock-16 And the dmesg output (It's a PII not a Celeron or Xeon): Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Wed Mar 3 01:33:41 PST 1999 root@zippy.dyn.ml.org:/usr/src/sys/compile/ATA Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Xeon/Celeron (448.97-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping=2 Features=0x183f9ff real memory = 134217728 (131072K bytes) avail memory = 127893504 (124896K bytes) Preloaded elf kernel "kenrel.z" at 0xf02ab000. Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 ata-pci0: rev 0x01 on pci0.7.1 ata0 at 0x01f0 irq 14 on ata-pci0 ata1 at 0x0170 irq 15 on ata-pci0 intpm0: rev 0x02 on pci0.7.3 intpm0: I/O mapped 7000 ALLOCED IRQ 0 intr IRQ 9 enabled revision 0 intsmb0: smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 8000 Probing for devices on PCI bus 1: vga0: rev 0x04 int a irq 9 on pci1.0.0 Probing for PnP devices: CSN 1 Vendor ID: CTL00e4 [0xe4008c0e] Serial 0x1cbc4202 Comp ID: PNPb02f [0x2fb0d041] pcm1 (SB16pnp sn 0x1cbc4202) at 0x220-0x22f irq 5 drq 1 flags 0x15 on isa CSN 2 Vendor ID: CRD0001 [0x0100440e] Serial 0x00416288 Comp ID: @@@0000 [0x00000000] Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard ppc0 at 0x378 irq 7 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: on ppbus 0 lpt0: on ppbus 0 lpt0: Interrupt-driven port ppi0: on ppbus 0 lppps0: on ppbus 0 atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model MouseMan+, device ID 0 pcm0 not probed due to drq conflict with pcm1 at 1 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in apm0 on isa apm: found APM BIOS version 1.2 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface ata1: unwanted interrupt ad0: ATA-4 disk at ata0 as master ad0: 12416MB (25429824 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue acd0: CDROM drive at ata1 as master acd0: drive speed 2928 - 6890KB/sec, 128KB cache acd0: supported read types: CD-R, CD-RW, CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked atapi: floppy device at ata1 as slave - NO DRIVER! changing root device to ad0s2a ffs_mountfs: superblock updated for soft updates - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message