From owner-freebsd-multimedia Thu Dec 18 15:36:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA03142 for multimedia-outgoing; Thu, 18 Dec 1997 15:36:01 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from pobox.com (cpu1136.adsl.bellglobal.com [207.236.110.117]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA03137 for ; Thu, 18 Dec 1997 15:35:58 -0800 (PST) (envelope-from brianc@pobox.com) Received: (from brianc@localhost) by pobox.com (8.8.7/8.8.7) id SAA05516; Thu, 18 Dec 1997 18:35:40 -0500 (EST) (envelope-from brianc) Message-ID: <19971218183540.63627@pobox.com> Date: Thu, 18 Dec 1997 18:35:40 -0500 From: Brian Campbell To: multimedia@FreeBSD.ORG Subject: Re: 3.0-current plug for IDE DMA -- very nice! Reply-To: bac@sympatico.ca References: <19971217222428.27336@ct.picker.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <19971217222428.27336@ct.picker.com>; from Randall Hopper on Wed, Dec 17, 1997 at 10:24:28PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Dec 17, 1997 at 10:24:28PM -0500, Randall Hopper wrote: > Pretty cool. Upgraded to 3.0-current, flipped some config switches, > and now we're capturing 30fps 320x240 RGB16 video (w/ full CD-quality > audio) to EIDE disk with almost no skips -- and on one disk only! > Kudos to John Hood for his IDE DMA patches last summer. > > If you've got IDEs, want to grab some MPEGs, and aren't running > current or a current SNAP right now, let me tell you, this is really the > way to go. It blew me away to see it the first time! > > For those that are interested, on 2.2.1 on my relatively new Western > Digital AC34300L 4.3Gig EIDE drive: > > # dd if=/dev/rwd0 of=/dev/null bs=1m count=200 > 209715200 bytes transferred in 33.157129 secs (6324890 bytes/sec) > ^^^^^^^ > Now pop in 3.0-971208-SNAP with wdc flags 0xa0ffa004, and we now get: > > # dd if=/dev/rwd0 of=/dev/null bs=1m count=200 > 209715200 bytes transferred in 22.699848 secs (9238617 bytes/sec) > ^^^^^^^ You don't need to run -current to get IDE DMA. I've been running John's DMA patches to -stable since this summer and haven't had any problems. It'd be nice if they made it into -stable too ... # time dd if=/dev/rwd0 of=/dev/null bs=1m count=200 209715200 bytes transferred in 28.166086 secs (7445664 bytes/sec) 0.0u 0.3s 0:28.23 1.0% 54+2488k 0+0io 0pf+0w I think your drive is just faster than mine (WDC AC32500H) :-( Although, you probably can get better throughput with PIO > That's a pretty "respectable" improvement, IMO. :-) BTW, this is on a > P55T2P4 MB w/ P233MMX, 48MB phys w/ 96MB swap. This is from a P166 (non-MMX), 64M phys, 128M swap