nice / renice problem
another time here comes a nice/renice request (the other threads do not fit very well)!
Like all the other people who start a nice/renice thread I have an application running which eats way too much cpu power.
At the same time I want to play a game. This is not possible simultaneously because it results in a jerky gameplay.
I want to have the application running in an "idle" mode using only free cpu power.
It would be best not to raise the priority of the game but lower the priority of the application, wouldn't it be?
First I tried:
1)"top" to get the PID
2) renice -n 5 PID
renice: 5: getpriority: no process found
PID (number): old priority: 0, new priority: 0
3) sudo nice -n -19 gamename
but the game was still jerky, what to do?
What can I do?