[mythtv-users] how to keep executables resident?

Kyle Rose krose+mythtv at krose.org
Wed Jan 21 08:14:30 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.

It's probable that mlockall() would do it, but you need to call this
as root and then setre[ug]id/initgroups.  man mlockall.


More information about the mythtv-users mailing list