On Sat, 12 Jul 2008, Svend-Erik Kjær Madsen wrote:
lør, 12 07 2008 kl. 15:26 +0200, skrev Kjetil S.
Matheussen:
I wonder if you may be confusing realtime
priority with normal priority?
"nice" (which controls normal priority programs) doesn't prevent other
apps from running once in a while.
I know that nice is used to control processor time, my complain about
your example was that you got one process set up at nice -19 and another
at nice -20, how realistic is that in the discuss ?.
(I wrote 19, not -19)
The point of the example was not to show a realistic setup.
The point of the example was to show that nice values doesn't
matter very much for programs who are limited by HD performacne.
If the nice values had mattered, jack_capture wouldn't have
struggled at all since jack_capture had maximum priority and
slocate minimum priority.
However, as my example shows, jack_capture does struggle, no matter
what priorities are set, as long as slocate is running.