From mboxrd@z Thu Jan 1 00:00:00 1970 From: michi1@michaelblizek.twilightparadox.com (michi1 at michaelblizek.twilightparadox.com) Date: Tue, 16 Apr 2013 17:58:01 +0200 Subject: Why the niceness is not always taken into account ? In-Reply-To: <1740ed2d02fbaad883418ad506ae4ec0@uvsq.fr> References: <1740ed2d02fbaad883418ad506ae4ec0@uvsq.fr> Message-ID: <20130416155800.GA2245@grml> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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