OpenVZ Forum


Home » Mailing lists » Users » Memory calculations
Memory calculations [message #25393] Sat, 22 December 2007 00:01 Go to previous message
Jeff Blasius is currently offline  Jeff Blasius
Messages: 6
Registered: December 2007
Junior Member
From: openvz.org
VZ users-
Can someone explain to me how vzcalc calculates the current and max
Mem? I initially thought Promised% was based upon VMGUAR and Max% was
based upon PRIVVM, but that doesn't seem to be the case. I believe I'm
allowing 128MB of guaranteed mem and 512MB burstable using the
parameters below. Is that true? The HN below has 32GB ram 64GB swap.

$  /etc/vz/conf/3166.conf
VMGUARPAGES="31250:9223372036854775807"
OOMGUARPAGES="31250:9223372036854775807"
PRIVVMPAGES="125000:150000"

$ vzcalc -v 3166
Resource     Current(%)  Promised(%)  Max(%)
Low Mem          0.04       0.53       0.53
Total RAM        0.10        n/a        n/a
Mem + Swap       0.03       0.20        n/a
Alloc. Mem       0.05       0.20       0.68
Num. Proc        0.00        n/a       0.15
--------------------------------------------
Memory           0.10       0.53       0.68


Thank You for the great software! It has dramatically improved the way we work.
                     -jeff

-- 
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: Fri Feb 21 19:46:15 GMT 2020