[Users] vzmemcheck

Steffan general at ziggo.nl
Fri Dec 10 03:18:16 EST 2010


Thanks Peter,

 

Is it possible to get a example config from you, just to see what you have
setup ?

 

Steffan

 

Van: users-bounces at openvz.org [mailto:users-bounces at openvz.org] Namens Peter
Senna Tschudin
Verzonden: donderdag 9 december 2010 20:39
Aan: users at openvz.org
Onderwerp: Re: [Users] vzmemcheck

 

Hey Steffan,

 

OpenVZ allows you to control separately both allocated and consumed memory.
Not all allocated memory will be used.

 

So OpenVZ will allow you to allocate more memory than you host has: RAM +
SWAP but the user land apps of your VEs will not be able to use it.

 

On my setups...

 

I set vmguarpages barrier to minimum amount of RAM that I want that the VE
is able to allocate. OpenVZ guarantees this.

 

I set privvmpages barrier to the maximum amount of RAM that I want that the
VE is able to allocate. I set privvmpages limit to a value higher than
barrier, like 5%~25% more. OpenVZ does not guarantees that the extra amount
of RAM will be allocable.

 

Then I set oomguarpages to same value of privvmpages limit. This isn't the
best scenario for RAM utilization but ensures low incidence of processes
being killed by kernel due out of memory condition.

 

Hope that it helps,

 

Peter

 

On Thu, Dec 9, 2010 at 11:35 AM, Steffan <general at ziggo.nl> wrote:

Hello All,
New to the list, loving openvz
But having trouble finding out the right settings for the containers

Can someone tell me if im in trouble or everything looks fine

vzcpucheck -v
VEID            CPUUNITS
-------------------------
0               1000
1               10000
7               10000
8               10000
13              10000
15              10000
23              10000
3               10000
5               10000
2               10000
9               10000
Current CPU utilization: 101000
Power of the node: 1809010

vzmemcheck -v
Output values in %
veid        LowMem  LowMem     RAM MemSwap MemSwap   Alloc   Alloc   Alloc
              util  commit    util    util  commit    util  commit   limit
9             1.44   45.79    1.13    0.97   10.77    2.16    3.42   20.15
5             3.14   45.79    3.06    2.62   10.77    5.30   10.77   20.15
3             3.96   45.79    3.08    2.64   10.77    5.06   10.77   20.15
23            2.04   45.79    2.31    1.98   10.77    3.60   10.77   20.15
15            2.69   45.79    3.45    2.95   10.77    5.25   10.77   20.15
13            2.68   45.79    2.18    1.87   10.77    4.47   10.77   20.15
8             3.33   45.79    4.21    3.60   10.77    5.91   10.77   20.15
7             2.29   45.79    1.90    1.62   10.77    3.55   10.77   20.15
2             2.41   45.79    3.39    2.90   10.77    4.72   10.99   20.15
1             1.98   45.79    1.64    1.40   10.77    2.78   10.77   20.15
-------------------------------------------------------------------------
Summary:     25.96  457.95   26.34   22.55  107.69   42.80  100.57  201.49


The hw node hs 24 Gb memory, expendable to 96G
2 E5520 @ 2.27GHz quadcore processes

How do i read this:
25.96 % in use
But overclocked for 457.95 % ?


With regards

Steffan

_______________________________________________
Users mailing list
Users at openvz.org
https://openvz.org/mailman/listinfo/users




-- 
Peter Senna Tschudin
peter.senna at gmail.com
gpg id: 48274C36

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20101210/b05d40da/attachment-0001.html


More information about the Users mailing list