Page 1 of 1

Priority setting for transcode jobs

Posted: Fri Feb 08, 2019 5:25 pm
by Tolotos
Hi,

I have a VM running handbrake and can't connect to it e.g. via VNC ore TeamViewer because handbrake uses 100% CPU (permanent load of 11 @8cores).
I'm using Ubuntu 18.04.1 LTS.
It would be nice to set the transcoding tasks to a lower priority to get the OS responding.

Kind regards, Tolotos

Re: Priority setting for transcode jobs

Posted: Fri Feb 08, 2019 5:42 pm
by JohnAStebbins

Code: Select all

man nice

Re: Priority setting for transcode jobs

Posted: Tue Mar 12, 2019 7:06 pm
by Arwen
And since HandBrake tends to be heavy with I/O;

Code: Select all

ionice -c 3 HANDBRAKE_TASK
I routinely nice and ionice my scripts that use HandBrakeCLI. (Yes, both nice & ionice can be used together.)