Thread priority of cutting thread in vdr

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

 



peter.dittmann@xxxxxxxxxx wrote:
> 'm also using older PC types (PIII) and the cpu load of the cutting thread 
> is seriously hampering the resposiveness of vdr.
> 
> Is there a way to lower the priority of the thread for cutting ?
> 
> I know there are some patches around (cutter-queue; bandwith),
> but both seems not to address it on the thread priority.
> 
> Wouldn't it being a real solution to make the cutter a background task on nice
> level ?
> I've tried to understand how vdr sets the thread priority but I got lost.
> Can somebody shed some light on the was the thrad priorities are assigned and
> wether it woul be possible to place a single thread at nice level while vdr
> still uses normal sheduling.

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.

Klaus


[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