Cannot prioritize processes in Ubuntu 12.04 - niceness level has no effect
I cannot control the process scheduling priority by means of setting its nice level.
I can set any niceness I wish, and it is recorded correctly in the process table after that,
but it just has no real effect.
At the moment, for example, I have six processes running on two cpu cores, and all of
them get equal cpu resources (33% of a single CPU). I would like to distribute the CPU time
in an unequal manner between these tasks, but I cannot do so because setting lower or higher
priority to any of them have absolutely no effect.
What might be wrong? I even have no idea where to dig. I have never seen such behaviour
previously. Apparently this issue appeared first in the Ubuntu 12.04. Seemingly, this issue
appears only on multi-core cpus, while my old single-core laptop schedules my tasks
normally.
I normally run the kernel with the option "noautogroup" (I never liked this autogrouping
scheduler feature, because it leaded to a similar problem), and restoring this option via
"sysctl -w kernel.
Maybe the kernel of Ubuntu 12.04 was also equipped by some new scheduling feature
that must be turned off?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu nice Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Roman
- Solved:
- Last query:
- Last reply: