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)