Mailing List archive

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

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



Patrick Cernko wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Klaus Schmidinger wrote:
> > Emil Naepflein wrote:
> >>
> >>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).
> >
> 
> Do you have the recordings_length patch installed? This might be the
> reason vdr is opening all marks files when displaying your recordings:
> He has to read the marks to compute correct recording lengths. Maybe
> consider about removing the patch if this helps you. Another sugestion
> whould be of course to make the patch less "active", e.g. doing only
> recording-length scans for the currently visible Recordings (like xmms
> can be configuered, too, for its playlist view!).

Why would it need the _marks_ file to calculate the recording's length?
All it needs for this would be the _index_ file's length (not even its
contents).

> @Tobias Faust: What do you think of this proposal for your patch. Do you
> know what I mean with "like XMMS"?
> 
> @Klaus: Do you read (and parse) the complete _recursive_ diectory
> structure or onle the currently selected level?

VDR needs the entire directory structure.

Klaus


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



Home | Main Index | Thread Index