How to permanently set higher process priority in GUI

Mark Widdicombe markwiddicombe at gmail.com
Mon Jul 20 09:29:46 UTC 2015


On 20 July 2015 at 11:18, Nils Kassube <kassube at gmx.net> wrote:

> Tony Baechler - BATS wrote:
> > The only reason why I thought increasing
> > the priority might help is that it seems to make a difference on the
> > command line.  On the server, I installed the schedtool package and I
> > usually do something like this as root:
> >
> > schedtool -2 -p99 -e ffmpeg "$@"
> >
> > By giving it the highest process and I/O priority, I can convert a 30
> > minute video in about 5 minutes (yes, I've timed it).  Again, that's
> > with 32 GB of memory and 8 CPU cores which obviously makes a
> > difference.
>
> I'm not familiar with shedtool, so I don't know if there is a
> significient difference to my use of nice --19.
>
> > Just as another random thought, would using a low latency kernel make
> > any difference?  It seemed to help slightly on the server.
>
> Usually I don't need too much of the resources of my machine. Therefore
> I never tried a low latency kernel.
>
> > Thanks for doing your experiment.  I've found that even with nice -19,
> > it still isn't at the highest priority which is why I installed
> > schedtool.  At least this confirms that my idea was wrong and
> > wouldn't have worked anyway.
>
> Well, your nice -19 gives the lowest priority, not the highest.
>

No, from man: " The nice value can range from -20 to 19, with 19 being the
lowest priority."

>
>
> Nils
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150720/439abd9d/attachment.html>


More information about the ubuntu-users mailing list