Why the niceness is not always taken into account ?

michi1 at michaelblizek.twilightparadox.com michi1 at michaelblizek.twilightparadox.com
Tue Apr 16 11:58:01 EDT 2013


Hi!

On 10:35 Tue 16 Apr     , Alexandre Laurent wrote:
...
> I am running the same test, but connecting twice on the remote machine
> (one connection by test instance). I am using exactly the same commands
> than during the others experiments. But, by using two SSH instances, 
> the
> niceness will not be taken into account. The CPU will be shared equally
> between both instances even if htop is showing a niceness of 19 / -20
> for the low priority program and the privileged program respectively.

Can you check whether you have CONFIG_SCHED_AUTOGROUP enabled? If it is
enabled, try running the test again with this option turned off.

	-Michi
-- 
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com



More information about the Kernelnewbies mailing list