PLDWWW: Docs/Vserver
arekm
arekm at pld-linux.org
Tue Mar 22 13:06:37 CET 2011
Author: arekm Date: Tue Mar 22 12:06:37 2011 GMT
Module: PLDWWW URL: http://www.pld-linux.org/Docs/Vserver?action=diff&rev2=174&rev1=173
---- Log message:
---- Page affected: Docs/Vserver
---- Diffs:
================================================================
Important:
* the share you get is equal to the guest's share divided by the sum of the cpu shares of all the guest. Default shares is 1024 (for guest, host... generally default in kernel cgroup) and is inherited from parent cgroup.
- * there is no hierarchy when dealing with cpu.shares. All shares are summed and cgroup gets it's "cpu.share/sum". For example host has default 1024, guest gets 2048 set. This means that host will get 1/3 of cpu power and guest will get 2/3.
+ * there is no hierarchy when dealing (beside inheriting default value) with cpu.shares. All shares are summed and cgroup gets it's "cpu.share/sum". For example host has default 1024, guest gets 2048 set. This means that host will get 1/3 of cpu power and guest will get 2/3.
* virt_mem flag is needed for guest to see only cgroup limited memory
More information about the pld-cvs-commit
mailing list