[one-users] Relationship of cpu usages

Christoph Pleger Christoph.Pleger at cs.tu-dortmund.de
Fri Apr 26 02:27:30 PDT 2013


Hello,

> I'm not that much familiar with cgroups, but the way I understand it the
first VM does not get 100%, it will get 1024 shares out of 1536 (2/3 of
cpu
> time).

Yes, that's how cgroup works, and I wonder why this is not a conflict with
what CPU= in VM Templates means and why the documentation even says that
the cgroup "feature can be used to enforce the amount of CPU assigned to a
VM, as defined in its template". What about enforcement without cgroup?
Isn't there any?

I am also wondering why, in sunstone, one cloud node with one VM running
on it shows a CPU usage of 6400. I thought that this is because the user
set CPU=8, VCPU=8 and 8*8=64, but if CPU= is related to one physical CPU,
that cannot be true ...

Regards
  Christoph






More information about the Users mailing list