[Devel] vzmemcheck displays wrong values?

Kirill Korotaev dev at sw.ru
Tue Feb 21 06:40:09 PST 2006


> Okay, maybe its a misunderstanding, i worry about the following:
> 
> veid  LowMem  LowMem     RAM    MemSwap MemSwap   Alloc   Alloc   Alloc
>       util    commit     util   util    commit    util    commit  limit
> 
> 3     3.35    34.01      150.99 150.99  1248.72   579.61  290.00 1057.99
> 
> so, VPS 3 has a committed allocation of 290MB (65535 Pages) and a
> allocation limit of 1057MB (262140 Pages). If i look at the allocation
> utilization it shows me 579MB, but according to 'free' the machine has
> 390MB RAM used, so am i wrong with my supposition that 'Alloc util' is
> the total RAM used? Or is 'RAM util' the determining factor for the
> _real_ memory consumption?

AFAIK,
Alloc refers to virtual address space,
RAM to physical memory.
Also you should remember that host system is not listed here, but 
consumes some memory as well (actually can be seen in 
/proc/user_beancounters)

Kirill





More information about the Devel mailing list