Mailing List archive

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

[vdr] Re: Recordings menu sluggish - *the* solution.



On Sat, Oct 04, 2003 at 05:09:19PM +0200, Klaus Schmidinger wrote:
> "Dr. Werner Fink" wrote:
> > 
> > On Fri, Oct 03, 2003 at 07:59:55PM +0200, Carsten Koch wrote:
> > > Dr. Werner Fink wrote:
> > > >>
> > > >>I guess a patch that uses this should be trivial.
> > > >
> > > >
> > > >If you're using O_DIRECT you've to provide the thread which writes
> > > >out the stuff in background.  In other words: you need a ringbuffer
> > > >an own thread and the interface for your application.
> > > >
> > > >If you not do this the application has to wait (e.g. a big DB using
> > > >O_DIRECT for secure data transfer) upto the point where teh data has
> > > >be put onto the physical sector of your disk ;)
> > >
> > > Isnt there code in vdr already that does this?
> > 
> > Reading for playback yes.  Recording and cuting no.
> 
> cRecorder does use a ring buffer.

Try out O_DIRECT for writing out the data and see what happen ;^)

         Werner


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



Home | Main Index | Thread Index