Unix Technical Forum

Relation between SWAP utilization and MAXPERM% on AIX 5.2

This is a discussion on Relation between SWAP utilization and MAXPERM% on AIX 5.2 within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, If MAXPERM%=25 (i.e. 25% of Real Memory) on an AIX box - is it possible to have currently ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 07:34 AM
gogo
 
Posts: n/a
Default Relation between SWAP utilization and MAXPERM% on AIX 5.2

Hello,

If MAXPERM%=25 (i.e. 25% of Real Memory) on an AIX box - is it possible
to have currently in 'topas' "Noncomp 40%" (i.e. file chache consume
40% of RAM - 15 % above MAXPERM%) and increasing SWAP ussage at the
same time?

As I know with the current situation (MAXPERM%=25 and "Noncomp 40%")
AIX VMM will steal only file pages and as file pages are not swaped to
the paging space no SWAP space will be utilized - until "Noncomp"
memory fail bellow MAXPERM% (i.e. 25%).

Is it possible to have Paging (SWAP) space allocation while "Noncomp"
did not go bellow MAXPERM% at all - i.e. VMM swaps out program pages
when file pages in memory are much highier than MAXPERM%?


Thanks in advance,
George

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 07:34 AM
Mark Taylor
 
Posts: n/a
Default Re: Relation between SWAP utilization and MAXPERM% on AIX 5.2

maxperm% only comes into fruition once you hit minfree ... unless you
set strict_maxperm=1

HTH
Mark Taylor

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 07:34 AM
gogo
 
Posts: n/a
Default Re: Relation between SWAP utilization and MAXPERM% on AIX 5.2

Thanks, but strict_maxperm sets the hard limit which is not the target.
My question is why NUMPERM% is above MAXPERM% when there is no free
memory (so we have increasing SWAP usage). In this case as the server
is running out of free memory the VMM manager should steal only pages
from the file cache until it fall bellow MAXPERM% - which does not
happen.

George

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 07:34 AM
Mark Taylor
 
Posts: n/a
Default Re: Relation between SWAP utilization and MAXPERM% on AIX 5.2

Ah, that was relevant .. so you have already reached minperm ?

Can you post some vmstat 1 20 data from your system under load ... also
vmstat -v (if running 5.3) or vmo -a (5.2) or vmtune (5.1) ...

Make sure you have set minfreee high enough to satsfy kernel requests
for frames while the scanner catches up as if the freelist drops to
zero then you will still page out even if numperm is above maxperm.

Rgds
Mark Taylor

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 07:34 AM
Mark Taylor
 
Posts: n/a
Default Re: Relation between SWAP utilization and MAXPERM% on AIX 5.2

also, you should check you paging space allocation policy to see if
someone has changed it from "defered" to "late" or "early" ... check
out the docs

ref:
http://publib.boulder.ibm.com/infoce...d/memperf7.htm

Rgds
Mark Taylor

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 07:35 AM
patrice
 
Posts: n/a
Default Re: Relation between SWAP utilization and MAXPERM% on AIX 5.2

Hello,
The behaviour you describe is totally abnormal and seems to be related
with a problem I met a few months ago.
To be completely sure that it is the case, can you provide me the
following elements :
- AIX version with the maintenance level you are running.
- Is the box a Regatta LPAR ?
- How much memory is defined into that LPAR ?
- Check if the memory would be spreaded onto minimum 2 MCMs.
..
Thanks in advance.
..
Patrice.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 07:35 AM
patrice
 
Posts: n/a
Default Re: Relation between SWAP utilization and MAXPERM% on AIX 5.2

Hello,
The behaviour you describe is totally abnormal and seems to be related
with a problem I met a few months ago.
To be completely sure that it is the case, can you provide me the
following elements :
- AIX version with the maintenance level you are running.
- Is the box a Regatta LPAR ?
- How much memory is defined into that LPAR ?
- Check if the memory would be spreaded onto minimum 2 MCMs.
..
Thanks in advance.
..
Patrice.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 07:36 AM
gogo
 
Posts: n/a
Default Re: Relation between SWAP utilization and MAXPERM% on AIX 5.2

Hello,

This realy seems abnormal to me as well and this is why I posted this
message. This is an AIX 5200-06 LPAR with 16 GB of RAM (although I
don't know if it is Regata - I even don't know what Regata is in this
terms). Unfortunately I also don't know what means to spead memory on 2
MCM - I have good comprehension of AIX, but not on LPAR-s particularly.
On the box MINPERM%=10 , MAXPERM=15% and I see constant NUMPERM% ~ 30%
at the same time a pagging occurs (so code pages are sent to the SWAP)

Regards,
George

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-05-2008, 07:37 AM
Mark Taylor
 
Posts: n/a
Default Re: Relation between SWAP utilization and MAXPERM% on AIX 5.2

Can you post some data as requested above i.e.

vmo -a
vmstat 1 20
lslpp -l bos.perf.tune
lslpp -l bos.mp*
ls -l /unix
bootinfo -K

Rgds
Mark Taylor

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-05-2008, 07:37 AM
patrice
 
Posts: n/a
Default Re: Relation between SWAP utilization and MAXPERM% on AIX 5.2

Hello,

A regatta is a partitionnable server.
If your partition is on a Regatta, which is perhaps the case, there is
a new tunable parameter called memory_affinity which came with AIX 5.2
ML 4 (I'm not completely sure on the maintenance level).
IBM doesn't communicate a lot on this parameter but it seems that it is
not working so good.
You can see with vmo -a that this parameter is set by default to 1,
which means that the VMM tries to work better with memory located on
the same MCM (memory block). If it can't and if memory_affinity is set
to 1, VMM reacts as prefering working with paging space than with RAM
located on another MCM !!!
To disable this behaviour and continue to work as before, set
memory_affinity to 0 as follows :
vmo -r -o memory_affinity=0 and reboot the box. Check that the
parameter is correctly set after reboot.
You'll be probably able to see your box work as before.
Hope this helps.
Patrice

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com