[mythtv] [PATCH] (experimental) hdtvrecorder - ringbuffer

Kyle Rose krose+mythtv at krose.org
Sun Dec 12 18:34:36 UTC 2004


Daniel Thor Kristjansson <danielk at mrl.nyu.edu> writes:

> I think this may be highly dependent on the number of cards and the
> hard drive characteristics. Any chance you could detect buffer
> overruns and use that as a signal to grow the buffer? Also what
> about locking these pages in memory so that they don't get swapped
> out to disk?

Well, to this end, is there "proper" setuid support in mythbackend, a
la starting as root and then using setuid/seteuid/initgroups to drop
privileges?  I wouldn't mind starting mythbackend as root in order to
use mlock, but I would not be willing to run the backend as root
perpetually.

Cheers,
Kyle


More information about the mythtv-dev mailing list