[mythtv-users] how to keep executables resident?

Edward Wildgoose Edward.Wildgoose at FRMHedge.com
Wed Jan 21 08:37:34 EST 2004


> Every time I come back to my mythtv box, it has to churn on the disk
> to bring executables resident again. This is to be expected. Because
> MythTV is constantly recording large amounts of data to disk, the
> buffers expand and push out non-active code pages. Even if I turn off
> swap, executables seem to get pushed out and demand loaded back from
> the executable.

There was a patch a few weeks back to help with this.  There is a kernel patch to add (I forget the exact name/details?), but something like an O_STREAM param to the open call which prevents the kernel from caching the recordings, and hence wasting disk cache on these large files.  

I have no idea on the details, just remember seeing it on the dev list




...


More information about the mythtv-users mailing list