[MPlayer-users] How to pause mencoder

Konstantin Malakhanov malakhanov at gmx.de
Thu Dec 25 21:32:21 CET 2003


On Thu, 2003-12-25 at 16:30, Adam Nielsen wrote:

> And yes, I do agree that process scheduling is done well in Linux, but it 
> would still be nice to have an "idle" priority like in win32 - then you can 
> run a program in the background and it will give up *all* its CPU cycles 
> should the need arise (as opposed to nice -19 which only gives up most of the 
> CPU cycles.)  It sure beats manually suspending distributed.net/SETI/etc. to 
> speed up mencoder ;-)


Did you try patches from http://www.plumlocosoft.com/kernel/
http://www.plumlocosoft.com/kernel/patches/2.4/2.4.23/2.4.23-ck1/patch-2.4.23-ck1.bz2
It gives you (among other nice goodies) batch O(1) scheduler and what is
the maintainer says for it:

Batch scheduling? 
Batch tasks are treated by the kernel as ultra low priority and will
always be preempted by any normal task. Unlike normal low priority
tasks, when other tasks want cpu time, batch tasks will use no time at
all. This is ideal for long running cpu intensive tasks that you don't
want to have priority when you are using your machine (eg setiathome,
dnetc, mprime etc.) Any task that is set to nice 19 will (2.4.21-ck1+)
be scheduled as batch or you can manually set a task as batch using the
schedtool utility.

I think this is exactly what are looking for ;-)

> Cheers,
> Adam.
> 

Cherio,
Konstantin

-- 
Konstantin <konstantin at links2linux.de>
www.links2linux.de / packman.links2linux.org





More information about the MPlayer-users mailing list