From owner-freebsd-multimedia Wed Dec 17 23:27:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA27047 for multimedia-outgoing; Wed, 17 Dec 1997 23:27:36 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA27041 for ; Wed, 17 Dec 1997 23:27:34 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Wed, 17 Dec 1997 22:24:53 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA03587; Wed, 17 Dec 97 22:24:49 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id WAA10699; Wed, 17 Dec 1997 22:24:28 -0500 Message-Id: <19971217222428.27336@ct.picker.com> Date: Wed, 17 Dec 1997 22:24:28 -0500 From: Randall Hopper To: multimedia@freebsd.org Subject: 3.0-current plug for IDE DMA -- very nice! Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 Sender: owner-freebsd-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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) ^^^^^^^ That's a pretty "respectable" improvement, IMO. :-) BTW, this is on a P55T2P4 MB w/ P233MMX, 48MB phys w/ 96MB swap. (And to think, this is an UltraDMA drive, and I'm not even using that capability AFAIK.) YUV should speed this up another 25%. We'll see. That and encode streaming are at the top of my list after I get 3.0-current set up better (and play with a few of other -current gadgets I'm now able to run of course). Randall