Thread priority of cutting thread in vdr

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

 



On Dienstag 11 Oktober 2005 09:45, jori.hamalainen@xxxxxxxxxxxxxxx 
wrote:
> > If you're using the current developer version, simply put a call to
> >
> >    SetPriority(19);
> >
> > at the beginning of cCuttingThread::Action().
> > Let me know if this helps, the I'll add it to the official code.
>
> I agree with the later messages stating that cutting queue is much
> better choice. Also one reader proposed that usleep could be used to
> limit bandwidth, and had 5MB/s reduction in cutting speed.

I would also suggest a bigger block size when copying data - seek 
operations on a hard disk a much more limiting then IO speed. Currently 
the maximum is 500k - this results in a lot of unnecessary separate 
seek/read seek/write operations.

Regards
Ralf

-- 
Van Roy's Law: -------------------------------------------------------
       An unbreakable toy is useful for breaking other toys.



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux