[lxc-users] cpu.shares doesn't work
zhen wang
wangzhenaaa7 at gmail.com
Mon Jan 5 05:35:48 UTC 2015
I have created two containers using docker. When i changed the value of
cpu.shares in the associated path of the docker id ,and i have already
substituted -1 in the cpu.cfs_quota_us with 50000, I tested a program
,which doesn't use io, the result of test didn't show the setting of
cpu.shares work. Example :
i set the cpu.shares 128 in one container and the other 1024 and i run the
program in the two container concurrently. The time of the program cost is
almost the same.
Kernel version 2.6.32-431.
cpu cores - 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150105/6e7c34ae/attachment.html>
More information about the lxc-users
mailing list