[mythtv-users] "Nice" recommendations
stuarta at squashedfrog.net
Tue Oct 31 14:26:05 UTC 2017
On 31/10/17 14:14, Ozzy Lash wrote:
> On Tue, Oct 31, 2017 at 5:15 AM, Stuart Auchterlonie
> <stuarta at squashedfrog.net <mailto:stuarta at squashedfrog.net>> wrote:
> On 31/10/17 06:15, Ian Evans wrote:
> > I notice that when I run a mythvidexport.py user job moving a recording
> > to the video section, the responsiveness of the interface grinds to a
> > halt and the load goes north of 5.
> > Haven't really used nice much. Any recommendations what nice level I
> > should run it at?
> nice -19
> which is basically background task, and everything else takes priority.
> Isn't a negative nice value giving the process a HIGHER priority? I
> think you mean "nice 19" correct?
Nope, it's -19. It's probably clearer from the man page explanation.
add integer N to the niceness (default 10)
so the '-' doesn't mean minus, it means an option to the command
so --19 would be a priority boost, however only root can boost the
priority, normal users can only reduce their priority.
$ nice --19 echo fish
nice: cannot set niceness: Permission denied
$ nice -19 echo fish
More information about the mythtv-users