[mythtv] RAMDISK
Isaac Richards
mythtv-dev@snowman.net
Fri, 1 Nov 2002 17:33:46 -0500
On Friday 01 November 2002 10:15 am, Robert Kulagowski wrote:
> Did some quick calculations; 30 seconds of buffering at 3300Kbps
> would require 12-13 megabytes of DRAM. Do we know if the linux
> buffer cache architecture is smart enough to handle this case without
> requiring a re-read from disk? I won't have access to my linux box
> until this weekend, so I can't test it out on my own. Any thoughts
> on whether having a ringbuffer in DRAM on a RAM disk would help, with
> a worker thread writing from the in-memory buffer to disk rather than
> reading and writing directly to disk? It might help smooth out some
> hard drive issues, where concurrent access on slower hard drives
> might cause hiccups.
Too complicated to do properly -- and once the reader gets more than 30
seconds away from the writer, you're back to the same amount of disk activity
as before.
Isaac