OpenVZ Forum


Home » Mailing lists » Users » Memory calculations
Re: Re: Memory calculations [message #25635 is a reply to message #25422] Fri, 04 January 2008 18:36 Go to previous messageGo to previous message
Jeff Blasius is currently offline  Jeff Blasius
Messages: 6
Registered: December 2007
Junior Member
Hello Vaverin,
Yes, believe me, I've read the documentation and it's generally very
good. But, for this particular point I just don't follow it. Maybe
it's just me.

So, man vzcalc says little more than: (resourses should be resources btw)
Promised - shows the resourses soft limit values "promised" for a given VE.
Max - shows the resourses hard limit values "promised" for a given VE.

This basically just redefines the terms promised and max, but doesn't
relate them to openvz beancounters in any way. From my numbers it
appears that
Promised = PRIVVMPAGES * 4096 / Ram + Swap
and
Max = (PRIVVMPAGES * 4096 / Ram + Swap) + Num. Proc

Assuming Num. Proc relates to the beancounter numproc,
Num. Proc = Num. of processes within the VE / 16000 (from
http://wiki.openvz.org/Numproc#numproc)
Is this correct?

I think my problems with the above are two things.
1. I'm not certain where max comes from and if it does come from the
above inferred formulas why it's really useful. I mean it's the
maximum of two seemingly independent beancounters. and
2. Promised seems like a misleading word (if in fact it does relate to
PRIVVMPAGES) since VMGUARPAGES is actually the "allocation guarantee".

Thanks,
                 jeff

On Dec 24, 2007 5:59 AM, vaverin <vvs@sw.ru> wrote:
>
>
> http://wiki.openvz.org/UBC_systemwide_configuration
> man vzcalc
-- 
Jeff Blasius / jeff.blasius@yale.edu
Phone: (203)432-9940  51 Prospect Rm. 011
High Performance Computing (HPC)
UNIX Systems Administrator, Linux Systems Design & Support (LSDS)
Yale University Information Technology Services (ITS)
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: a simple utility to execute something on all VEs
Next Topic: virtualisation conference with openvz
Goto Forum:
  


Current Time: Sat Nov 09 02:14:00 GMT 2024

Total time taken to generate the page: 0.03172 seconds