Jaqui's AIX Performance and Security Blog
08 02 2007

Thu, 08 Feb 2007


2/8/2007 AIX v5.3 Links to get perfscript and instructions Script to gather data http://www.circle4.com/jaqui/perfdata53-latest.sh.txt Instructions for script and nmon http://www.circle4.com/jaqui/perf-script-instructions.txt


posted at: 18:18 | path: | permanent link to this entry


2/8/2007 AIX v5.3 Tunables Update When making tunable changes please be sure to test them first. 1. Please be careful when setting lru_file_repage. If you are asked to change this value from the default (which you should) please ensure you first set maxperm and maxclient back to 80% 2. I do want to mention that a couple of the parameters may not work well with certain workloads, specifically maxrandwrt and maxpgahead. The situation where I saw a problem was very application specific (Topform and Providex) but try it both ways. I normally set them for JFS and JFS2 as follows: ioo -p -o j2_maxPageReadAhead=128 ioo -p -o maxpgahead=16 ioo -p -o j2_maxRandomWrite=32 ioo -p -o maxrandwrt=32 However, you may be better to leave them at the defaults: ioo -p -o j2_maxPageReadAhead=128 ioo -p -o maxpgahead=8 ioo -p -o j2_maxRandomWrite=0 ioo -p -o maxrandwrt=0


posted at: 18:07 | path: | permanent link to this entry


2/8/2007 General Purpose AIX v5.2 at >ML4 Tunables Current recommended AIX v5.2 ML4 Performance Parameters: Please ensure you test these first before implementing in production as your mileage may vary Network no -p -o rfc1323=1 no -p -o sb_max=1310720 no -p -o tcp_sendspace=262144 no -p -o tcp_recvspace=262144 no -p -o udp_sendspace=65536 no -p -o udp_recvspace=655360 nfso -p -o rfc_1323=1 nfso -p -o nfs_socketsize=600000 nfso -p -o nfs_tcp_socketsize=600000 Memory Settings vmo -p -o minperm%=5 Leave maxperm and maxclient at default of 80 Leave strict_maxperm and strict_maxclient at their defaults vmo -p -o minfree=960 vmo -p -o maxfree=1088 vmo -p -o lru_file_repage=0 vmo -p -o lru_poll_interval=10 IO Settings Leave minpgahead and J2_minPageReadAhead at their defaults of 2 ioo -p -o j2_maxPageReadAhead=128 ioo -p -o maxpgahead=16 ioo -p -o j2_maxRandomWrite=32 ioo -p -o maxrandwrt=32 ioo -p -o j2_nBufferPerPagerDevice=1024 ioo -p -o hd_pbuf_cnt=1024 #### this is the 5.3 value - above is the one for 5.2 ### ioo -p -o pv_min_pbuf=1024 ioo -p -o numfsbufs=2048 If doing lots of raw I/O you may want to change lvm_bufcnt Default is 9 ioo -p -o lvm_bufcnt=12 Others left to default that you may want to tweak include: ioo -p -o numclust=1 ioo -p -o j2_nRandomCluster=0 ioo -p -o j2_nPagesPerWriteBehindCluster=32 These are starting points only


posted at: 18:06 | path: | permanent link to this entry


2/8/2007 General Purpose AIX v5.3 Tunables Current recommended AIX v5.3 Performance Parameters: Please ensure you test these first before implementing in production as your mileage may vary Network no -p -o rfc1323=1 no -p -o sb_max=1310720 no -p -o tcp_sendspace=262144 no -p -o tcp_recvspace=262144 no -p -o udp_sendspace=65536 no -p -o udp_recvspace=655360 nfso -p -o rfc_1323=1 nfso -p -o nfs_socketsize=600000 nfso -p -o nfs_tcp_socketsize=600000 Memory Settings vmo -p -o minperm%=5 Leave maxperm and maxclient at default of 80 Leave strict_maxperm and strict_maxclient at their defaults vmo -p -o minfree=960 vmo -p -o maxfree=1088 vmo -p -o lru_file_repage=0 vmo -p -o lru_poll_interval=10 IO Settings Leave minpgahead and J2_minPageReadAhead at their defaults of 2 ioo -p -o j2_maxPageReadAhead=128 ioo -p -o maxpgahead=16 ioo -p -o j2_maxRandomWrite=32 ioo -p -o maxrandwrt=32 ioo -p -o j2_nBufferPerPagerDevice=1024 ioo -p -o pv_min_pbuf=1024 ioo -p -o numfsbufs=2048 If doing lots of raw I/O you may want to change lvm_bufcnt Default is 9 ioo -p -o lvm_bufcnt=12 Others left to default that you may want to tweak include: ioo -p -o numclust=1 ioo -p -o j2_nRandomCluster=0 ioo -p -o j2_nPagesPerWriteBehindCluster=32 These are starting points only


posted at: 17:35 | path: | permanent link to this entry