Operating System - HP-UX
1753805 Members
7428 Online
108805 Solutions
New Discussion

Re: VM guest memory pressure normal base line

 
George_Dodds
Honored Contributor

VM guest memory pressure normal base line

Hi

 

hpux 11.31

hpvm 4.3

 

We upgraded the vm memory allocation on vmguest2 in this case from 16 - 32 gb, pre upgrade the memory pressure was baselined at 80 and spiked up to 96, now post upgrade it seems to have settled at the same. What classed as normal memory pressure for an active vm?

 

[Virtual Machine Memory Entitlement]
DynMem Memory DynMem DynMem DynMem Comfort Total Free Avail Mem AMR AMR
Virtual Machine Name VM # Min Entitle Max Target Current Min Memory Memory Memory Press Chunk State
==================== ===== ======= ======= ======= ======= ======= ======= ======= ======= ======= ===== ======= ========
vmguest1 2 512MB - 16GB 16378MB 16378MB 16378MB 16GB 179MB 11197MB 80 256MB DISABLED
vmguest2 3 512MB - 32GB 32762MB 32762MB 32762MB 32GB 220MB 26673MB 80 256MB DISABLED
vmguest3 4 512MB - 16GB 16378MB 16378MB 7162MB 16GB 2188MB 9305MB 0 256MB DISABLED
vmguest4 5 512MB - 16GB 16378MB 16378MB 6970MB 16GB 5540MB 6229MB 0 256MB DISABLED

 

 

 

 pre upgrade

 

vmguest2 # swapinfo -tam

             Mb      Mb      Mb   PCT  START/      Mb

TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME

dev       16384    5582   10802   34%       0       -    1  /dev/vg00/lvol2

dev       16320    5634   10686   35%       0       -    1  /dev/vg-swap2/lv-swap2

reserve       -   17395  -17395

memory    15578    3858   11720   25%

total     48282   32469   15813   67%       -       0    -

 

 

 

post upgrade

 

vmguest2 # swapinfo -mat
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16384 8 16376 0% 0 - 1 /dev/vg00/lvol2
dev 16320 8 16312 0% 0 - 1 /dev/vg-swap2/lv-swap2
reserve - 27344 -27344
memory 31162 3938 27224 13%
total 63866 31298 32568 49% - 0 -

 

 

Another quick question, does filecache_max take all of the assigned memory on boot and then reduce to the filecache_cache min setting as memory usage increases?

 

Thanks in advance

3 REPLIES 3
Stan_M
HPE Pro

Re: VM guest memory pressure normal base line

'Normal' usage memory pressure value is 0.

 

You need to check the memory usage in the guest OS.  Glance, kmeminfo, ...

 

filecache starts from min value and grows as needed only, not from the max down.

 

HTH

Stan

I work for HPE
George_Dodds
Honored Contributor

Re: VM guest memory pressure normal base line

Thanks Stan

 

Glance was ommited from the original build, something we are sorting out atm.

 

VMHost details

 

Memory: 130965 MB (127.9 GB)

 

vmh1:/ # swapinfo -mat
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 131008 0 131008 0% 0 - 1 /dev/vg00/lvol2
reserve - 1823 -1823
memory 124568 93301 31267 75%
total 255576 95124 160452 37% - 0 -

 

vmh1:/ # vmstat 5 5
procs memory page faults cpu
r  b w      avm                free      re at pi po fr de sr in sy cs us sy id
12 0 0 21355661 7474036 0 0 4 0 0 0 0 3100 10904 2882 0 22 77
9 0 0 21358506 7473948 0 0 0 0 0 0 0 4686 8132 3554 0 47 53
9 0 0 21358506 7473943 0 0 0 0 0 0 0 4757 7506 3564 1 42 58
9 0 0 21322951 7473943 0 0 0 0 0 0 0 5193 8378 3903 0 37 63
9 0 0 21322951 7473943 0 0 0 0 0 0 0 5479 8004 3991 0 44 56

Stan_M
HPE Pro

Re: VM guest memory pressure normal base line

This is really only about what's happening inside the guest OS. Unrelated to the host completely.

I work for HPE