Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 1997 22:24:28 -0500
From:      Randall Hopper <rhh@ct.picker.com>
To:        multimedia@freebsd.org
Subject:   3.0-current plug for IDE DMA -- very nice!
Message-ID:  <19971217222428.27336@ct.picker.com>

next in thread | raw e-mail | index | archive | help
     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.)

</PLUG>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971217222428.27336>