[Users] Re: AW: Re: vzsplit question

vaverin vvs at sw.ru
Wed Dec 5 01:26:33 EST 2007



Could you please send me (probably via PM) config example generated by vzsplit -n 35?

btw, you can look at vzsplit sources here:
http://git.openvz.org/?p=vzctl ;a=blob;f=src/vzsplit.c;h=6d752023e3266d6eb72edf83357caa8626 7ee236;hb=HEAD

CPULIMITS values is used to calculate VE's CPU guarantee, i.e fair share of CPU time. By using fair CPU scheduler OpenVZ kernel is able to guarantee that VE always get its share of CPU time. However if nobody uses CPU, VE can get more than guaranteed.
For example if you have 3 active VEs with equal CPUUNITS each of them should get 1/3 of CPU power.
If one of VEs is idle not uses CPU, other ones will get 1/2 CPU per VE.
If only one VE eats CPU it can get up to 100% CPU power.
But if one of the sleeping VE will awake and will request CPU -- it will be sure that it will get its share of CPU power back. 

Thank you,
Vasily Averin


More information about the Users mailing list