Re: [openstack-dev] cgroups cpu share allocation in grizzly seems incorrect

2013-08-27 Thread Qiu Yu
On Fri, Aug 23, 2013 at 6:00 AM, Chris Friesen chris.frie...@windriver.com wrote: I just noticed that in Grizzly regardless of the number of vCPUs the value of /sys/fs/cgroup/cpu/libvirt/qemu/instance-X/cpu.shares seems to be the same. If we were overloaded, this would give all instances the

[openstack-dev] cgroups cpu share allocation in grizzly seems incorrect

2013-08-22 Thread Chris Friesen
I just noticed that in Grizzly regardless of the number of vCPUs the value of /sys/fs/cgroup/cpu/libvirt/qemu/instance-X/cpu.shares seems to be the same. If we were overloaded, this would give all instances the same cpu time regardless of the number of vCPUs in the instance. Is this design