Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old October 31st, 2006
serm's Avatar
serm Offline
Junior Member
 
Join Date: October 2006
Posts: 6
Smile Paging Question

Hi Guys

We have a system running 5.3 TL4, with 15GB Memory and 4GB of paging. We are getting Fork errors and other DB2 errors - can someone tell me the IBM recommended sizes for paging under 5.3? Previously I would set it to the same as Memory - up to a maximum of 4GB.

I have been told one formula for working it out as:

512MB + ((actual RAM - 256) X1.25)

Is there no maximum recomendation?

Or if you could point me at a decent Whitepaper..?
Many thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old November 1st, 2006
serm's Avatar
serm Offline
Junior Member
 
Join Date: October 2006
Posts: 6
Re: Paging Question

Sorry - as a follow on question - if paging should be set (in a virtual environment) to the same as Computational Memory , should this value be the maximum value the PHYP can allocate - ie. not the desired level of memory?

Thanks again!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old November 1st, 2006
alexisl's Avatar
alexisl Offline
Senior Member
 
Join Date: June 2006
Posts: 147
Re: Paging Question

I don't know the magic formula but I can tell you that this is what we have:
Total(MB) 19456.0MB physical 28544.0MB paging which is about 1.5 times the physical memory and it is working good right now
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old November 3rd, 2006
cdelgadop's Avatar
cdelgadop Offline
Senior Member
 
Join Date: November 2006
Posts: 310
Send a message via MSN to cdelgadop
Cool Re: Paging Question

Hi

Could you please post the output of lsps -a command ? I think you have the default settings for the VMM (Virtual Memory Manager) of AIX 5L and those values are very bad for DB I/O patterns (either Oracle or DB2).

You can check for this values by issuing:

vmo -a | egrep"maxperm|maxclient|minperm"

by default they're:

maxperm=80
maxclient=80
minclient=20

As per AIX 5.2 i use to config by applying some SAP technotes recommendations for High Used SAP Central Instances DBs Servers:

maxperm=8
maxclient=8
minclient=3

As per AIX 5.3 there was a change and now new values are recommended since there are new variables that can control the lrud (Least Recently Used Daemon):

minperm=3
maxperm=90
maxclient=90
lru_file_repage=0
strict_maxclient=1
strict_maxperm=0

You can change this values in teh current exec of AIX by using the following smitty fastpath:

smitty "ChShCurVM"


Hope this helps
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old November 6th, 2006
serm's Avatar
serm Offline
Junior Member
 
Join Date: October 2006
Posts: 6
Re: Paging Question

Quote:
Originally Posted by cdelgadop
Hi

Could you please post the output of lsps -a command ? I think you have the default settings for the VMM (Virtual Memory Manager) of AIX 5L and those values are very bad for DB I/O patterns (either Oracle or DB2).

You can check for this values by issuing:

vmo -a | egrep"maxperm|maxclient|minperm"

by default they're:

maxperm=80
maxclient=80
minclient=20

As per AIX 5.2 i use to config by applying some SAP technotes recommendations for High Used SAP Central Instances DBs Servers:

maxperm=8
maxclient=8
minclient=3

As per AIX 5.3 there was a change and now new values are recommended since there are new variables that can control the lrud (Least Recently Used Daemon):

minperm=3
maxperm=90
maxclient=90
lru_file_repage=0
strict_maxclient=1
strict_maxperm=0

You can change this values in teh current exec of AIX by using the following smitty fastpath:

smitty "ChShCurVM"


Hope this helps
Hi
Here is the output of VMO and lsps:

root > lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 4096MB 9 yes yes lv

Does this figure appear low if the RAM is generally set (by PLM) at 15GB?


root > vmo -a | egrep "maxperm|maxclient|minperm"
maxclient% = 15
maxperm = 568340
maxperm% = 15
minperm = 378891
minperm% = 10
strict_maxclient = 1
strict_maxperm = 1

I do not have the lru_file_repage turned off yet..will do so shortly so that it will page only if file pages are above minperm.

Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old November 6th, 2006
alanmoon's Avatar
alanmoon Offline
Junior Member
 
Join Date: September 2006
Location: Bentonville, AR
Posts: 10
Re: Paging Question

Serm,
I used to use a factor of 1.5 x real memory to get the paging space size. Since memory amounts have ballooned I use a 1.1 x real memory. I was always under the impression that you needed at least a 1 for 1 ratio between real memory and paging.
__________________
Alan Moon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old November 28th, 2006
b00tsie's Avatar
b00tsie Offline
Junior Member
 
Join Date: October 2006
Posts: 26
Re: Paging Question

If you like I can mail you an article with the latest performance guidelines.
Hope this will help you out...


These are the settings explained in this article:

Adjust the nextboot in /etc/tunables

vmo:
lru_poll_interval = "10"
lru_file_repage = "0"
maxfree = "1088"
minfree = "960"
minperm% = "5"

no:
udp_recvspace = "655360"
udp_sendspace = "65536"
tcp_recvspace = "262144"
tcp_sendspace = "262144"
sb_max = "1310720"
rfc1323 = "1"

nfso:
nfs_tcp_socketsize = "60000"
nfs_socketsize = "60000"

ioo:
# j2_nPagesPerWriteBehindCluster = "32" #default
# j2_nRandomCluster = "0" #default
# numclust = "1" #default
lvm_bufcnt = "9"
# lvm_bufcnt = "12" # use this with much raw I/O
numfsbufs = "2048"
pv_min_pbuf = "1024"
j2_nBufferPerPagerDevice = "1024"
maxrandwrt = "32"
j2_maxRandomWrite = "32"
maxpgahead = "16"
j2_maxPageReadAhead = "128"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old December 10th, 2007
csubudhi's Avatar
csubudhi Offline
Junior Member
 
Join Date: December 2007
Posts: 1
Re: Paging Question

Hi Guys,

I have Oracle server running in cluster . AIX 5.3 ML4 and Oracle 10g.
When ever I run net backup for offline tape backup, servers gets reboot.
Immd after net backup trigger, it reboots. Net backup servr tries to reconnect and takes the backup successful. Why first time it reboots ?

we have 11 GB RAM and in each LPAR.

Can you help how to over come ? May be I have to tune the AIX parameters or 10g Parameters ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old December 11th, 2007
Mark Taylor's Avatar
Mark Taylor Offline
Member
 
Join Date: August 2007
Posts: 40
Re: Paging Question

lru_file_repage functionality is also introduced in 5.2 FYI ..

Paging space and how much do you need .. there is no formula because each server is different .. it used to be that you had at least as much as realmem and a bit more, but with the introduction of deffered paging space allocation then you do not really need that i.e. a server running with 64GB realmem which is only under full load using 48GB of realmem is not going to need 96GB of paging space .. correctly tuned VMM will mean it requires very little (( i am talking about paging and not dump devices ))

lru_file_repage is the big hitter for this, we have been waiting for this flag for years .. gone are the days of lowering maxperm to below numperm .. that was a pain ..

Rgds
Mark Taylor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
hd6 paging space gone alexisl AIX for POWER Systems 2 May 4th, 2007 06:59
Paging Space alexisl AIX for POWER Systems 25 April 26th, 2007 10:56
db server paging space and performance kotireddy pSeries - System p 1 April 23rd, 2007 05:09
End of Life/Support Question ScriptDaddy RS6000 2 March 15th, 2007 21:39
SAN paging space steevojb AIX for POWER Systems 3 September 19th, 2006 11:33



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48