30 Apr
2015
30 Apr
'15
8:55 p.m.
Le primidi 11 floréal, an CCXXIII, Alfredo Di Napoli a écrit :
We have given ffmpeg max priority with “nice -20”, if that matters.
Note that "nice -20" is short for "nice -n 20", that means more than the max niceness, or in other words the min priority. (That is, assuming the process starts at nice 0; since the argument to nice is an increment, it the process starts with a niceness <-1, it will not reach +19 by adding 20.) renice, on the other hand, accepts a bare priority argument, and therefore "renice -19" really means lowering the niceness. Obviously the first developers who implemented this wanted to have a good laugh. Regards, -- Nicolas George