Public bug reported:
steps to reproduce on kubuntu hardy alpha 2:
1)create new user.
2)set /sys/kernel/uids/<his_uid>/cpu_share to "1"
3)run (as this new user) process which is infinitive loop, for example this
ruby script:
x=1
while (true)
x=x+1
end
4)try to run something as the root user (while this script runs).
instead of getting maximum ~0.00% of cpu time (1/(1+1024)), this script is
given much more cpu time.
this doesn't occur if /sys/kernel/uids/<his_uid>/cpu_share if set to "16" for
example.
** Affects: linux-meta (Ubuntu)
Importance: Undecided
Status: New
--
setting /sys/kernel/uids/<uid>/cpu_share to 1 causes the scheduler to give most
of the cpu time to this uid
https://bugs.launchpad.net/bugs/178151
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs