Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: System freeze - scanning recordings ... --> FLATFILE?



Emil Naepflein wrote:
> 
> Hi Klaus,
> 
> > Ah, I see. I'm going to do it that way in 1.3, but not in an explicit
> > external file. VDR will cache the recordings internally and update that
> > cache whenever it adds or deletes a recording.
> 
> there is more to do to get good performance. Because of the braindead
> buffer cache handling it is important to cache every information which
> is read today when opening the recordings menu. This means you also have
> to read the summary file and handle the marks file. And there should be
> a refresh function for case were changes to the tree were done from
> command line.
> 
> I am currently caching all the info except the marks file and do only a
> single stat (stats are fast because this info is cached in the kernel).
> I still get very bad response when recordings are active because VDR has
> read the marks file for more than 300 recordings.

You don't need the marks file for all the recordings at all times.
You only need this when processing one particular recording (the one
you're just replaying).

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index