[Bug 178151] setting /sys/kernel/uids/<uid>/cpu_share to 1 causes the scheduler to give most of the cpu time to this uid
dm
davmarkus at msn.com
Sat Dec 22 20:13:48 UTC 2007
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 Kernel
Bugs, which is a bug contact for linux-meta in ubuntu.
More information about the kernel-bugs
mailing list