From owner-freebsd-current Tue Jan 26 21:05:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA26509 for freebsd-current-outgoing; Tue, 26 Jan 1999 21:05:00 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA26496 for ; Tue, 26 Jan 1999 21:04:57 -0800 (PST) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id AAA12438; Wed, 27 Jan 1999 00:04:56 -0500 (EST) Message-ID: <19990127000455.A6699@netmonger.net> Date: Wed, 27 Jan 1999 00:04:55 -0500 From: Christopher Masto To: current@FreeBSD.ORG Subject: Re: IDE DMA works, I'll be a... References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Brian Feldman on Mon, Jan 25, 1999 at 09:25:37PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, now I'm plenty confused. I wasn't aware that IDE DMA didn't work, so this subject line caught me a bit by suprise. Maybe I just have "supported" hardware everywhere, or maybe I'm missing something and I don't even know it. Or maybe I'm just posting this for comparison purposes. I know that this 2.5-year-old machine has an Asus motherboard of some sort: FreeBSD 4.0-CURRENT #1: Sun Jan 24 02:49:52 EST 1999 root@lion-around.at.yiff.net:/usr/local/usr-src/sys/compile/LION-AROUND Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (166.19-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf real memory = 100663296 (98304K bytes) config> quit avail memory = 94875648 (92652K bytes) Preloaded elf kernel "kernel" at 0xf02d9000. Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x01 on pci0.7.0 ide_pci0: rev 0x00 on pci0.7.1 [...] wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 wd0: 2441MB (4999680 sectors), 4960 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): , removable, accel, dma, iordis acd0: drive speed 1378KB/sec, 128KB cache [...] wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa wdc1: unit 0 (wd2): , DMA, 32-bit, multi-block-16 wd2: 9617MB (19696320 sectors), 19540 cyls, 16 heads, 63 S/T, 512 B/S On the old wd0 that I got with the machine: $ time dd if=/dev/zero of=test2 bs=32k count=1024 1024+0 records in 1024+0 records out 33554432 bytes transferred in 5.177823 secs (6480413 bytes/sec) dd if=/dev/zero of=test2 bs=32k count=1024 0.03s user 2.08s system 28% cpu 7.458 total $ time dd if=/dev/rwd0 of=/dev/null bs=32k count=1024 1024+0 records in 1024+0 records out 33554432 bytes transferred in 4.064697 secs (8255088 bytes/sec) dd if=/dev/rwd0 of=/dev/null bs=32k count=1024 0.00s user 0.14s system 3% cpu 4.070 total And on the brand spanking new Maxtor UltraDMA happy happy: $ time dd if=/dev/zero of=test2 bs=32k count=1024 1024+0 records in 1024+0 records out 33554432 bytes transferred in 3.073696 secs (10916640 bytes/sec) dd if=/dev/zero of=test2 bs=32k count=1024 0.01s user 2.26s system 72% cpu 3.124 total $ time dd if=/dev/rwd2 of=/dev/null bs=32k count=1024 1024+0 records in 1024+0 records out 33554432 bytes transferred in 2.521986 secs (13304765 bytes/sec) dd if=/dev/rwd2 of=/dev/null bs=32k count=1024 0.00s user 0.13s system 5% cpu 2.528 total Just out of curiosity, I compared with a machine with what was at the time an expensive SCSI controller. Same CPU as mine. FreeBSD 2.2.7-STABLE #0: Sat Aug 8 22:38:59 EDT 1998 [...] ahc0 rev 0 int a irq 9 on pci1:4:0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16 SCBs (ahc0:0:0): "SEAGATE ST34371W 0484" type 0 fixed SCSI 2 sd0(ahc0:0:0): Direct-Access 4148MB (8496884 512 byte sectors) $ time dd if=/dev/zero of=test2 bs=32k count=1024 1024+0 records in 1024+0 records out 33554432 bytes transferred in 3.393906 secs (9886671 bytes/sec) dd if=/dev/zero of=test2 bs=32k count=1024 0.04s user 1.33s system 40% cpu 3.411 total $ time dd if=/dev/rsd0 of=/dev/null bs=32k count=1024 1024+0 records in 1024+0 records out 33554432 bytes transferred in 3.525452 secs (9517767 bytes/sec) dd if=/dev/rsd0 of=/dev/null bs=32k count=1024 0.03s user 0.12s system 2% cpu 5.330 total The bleeding edge and I have a pretty good relationship. I haven't been bitten by softupdates, IDE DMA, or the new VM (well, I did have that panic, but the fix had already become available). Of course, I'm now running afoul of 4.0-related libtool breakage in the ports collection, but it's not exactly a mystery to fix. -- Christopher Masto Director of Operations NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net "Good tools allow users to do stupid things." -- Clay Shirky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message