Professional Documents
Culture Documents
AIX61 Performance Differences
AIX61 Performance Differences
IBM Training
Introduction
VMM Page Replacement New defaults reducing the requirement for basic performance tuning VMM File IO Pacing Enabled By Default Performance Tunables Tunables are categorized into restricted and non-restricted tunables AIO Dynamic AIO tuning AIO Fast Path for CIO JFS2 Read only access to files opened with CIO NFS Changes to TCP scaling window, R/W size and number of biod daemons Enhanced JFS no-log option MPSS support
IBM Training
100% Pick file pages Pick file pages -orw/s pages based on recent history Pick any pages 0%
Minperm=20% Maxclient = Maxperm=80%
IBM Training
On AIX 6.1, no paging to the paging space will occur unless the system memory is over committed (AVM > 97%)
IBM Training
Legacy page_steal_method=0
Partition memory is broken up into page pools A page pool is a set of physical pages organized into a list One lrud per memory pool Inside each memory pool is a mix of working storage and file pages When the free list is depleted, lrud scans its page pool one scan bucket (default 128k pages) at a time The scan can be targeted for working storage pages, file pages, or either If scanning for file pages and the number of file pages is small (e.g. max_client=10) the ratio of scanned pages to freed pages will be high (e.g. 10:1) This reduces performance in two ways: CPU time in lrud Fragmentation of memory which can result in I/O coalescing being less effective
Page
List of pages
Page Pool 0
Page
List of pages
Page Pool 1 System Memory
IBM Training
Page Pool 0
IBM Training
New defaults
Not very aggressive, intended to limit one or a few programs from impacting system responsiveness. Values high enough not to impact sequential write performance maxpout = 8193 minpout = 4096
IBM Training
Performance Tunables
Tunables now in two categories Restricted Tunables
Should not be changed unless recommended by AIX development or development support Are not shown by tuning commands unless the F flag is used Dynamic change will show a warning message Permanent change must be confirmed Permanent changes will cause an error log entry at boot time
Non-Restricted Tunable
Can have restricted tunables as dependencies
IBM Training
A permanent change of a restricted tunable requires a confirmation from the user. Note: The system will log changes to restricted tunable in the system error log at boot time.
2008 IBM Corporation
IBM Training
IBM Training
Description RESTRICTED TUNABLES MODIFIED AT REBOOT Probable Causes SYSTEM TUNING User Causes TUNABLE PARAMETER OF TYPE RESTRICTED HAS BEEN MODIFIED Recommended Actions REVIEW TUNABLE LISTS IN DETAILED DATA Detail Data LIST OF TUNABLE COMMANDS CONTROLLING MODIFIED RESTRICTED TUNABLES AT REBOOT, SEE FILE /etc/tunables/lastboot.log
IBM Training
IBM Training
IBM Training
Oracle 10g/11g have support, but it is not a default Requires filesystemio_options is SETALL or DIRECTIO CIO is the recommended deployment solution for JFS2, however some 3rd party tools have issues
IBM Training
IBM Training
IBM Training
Application
Application File System
AIO Server
FS no Fast Path
Device Driver
IBM Training
IBM Training
AIO Tunables
>
ioo -a aio_active = 0 aio_maxreqs = 65536 aio_maxservers = 30 aio_minservers = 3 aio_server_inactivity = 300 posix_aio_active = 0 posix_aio_maxreqs = 65536 posix_aio_maxservers = 30 posix_aio_minservers = 3 posix_aio_server_inactivity = 300
IBM Training
IBM Training
kdb 'u <slotnumber>' then for each file listed there 'file <filepointer>' gives some info
IBM Training
IBM Training
IBM Training
32biod 4biod
re ad
se q
IBM Training
32biod 4biod
rit e w
se
se
re ad
re ad
re
ad
ra
nd
w rit e
se q
w r it e
IBM Training
IBM Training
PHP Wikibench
90 80 70 60 50 40 30 20 10 0 Default log nolog
IBM Training
IBM Training
m 64 KB
d work text or shared-lib code seg e work shared memory segment - work f work working storage 2 work process private 1 work code
549 244 20 3 1 0 2 0
IBM Training
ExtPage
IBM Training
Implementation Considerations
AIX 5.2/3 to AIX 6.1 migration example (DB2 performance tuning) AIX 5.2/5.3 VMM page replacement tuning
reduce minperm, maxperm, maxclient turn off strict_maxclient increase minfree, maxfree Enable AIO Tune minservers, maxservers and reboot Enable CIO
AIO tuning
NO TUNING REQUIRED
AIO tuning
DB2 tuning
Enable CIO
DB2 tuning
IBM Training
IBM Training
IBM Training
Trademarks
The following are trademarks of the International Business Machines Corporation in the United States, other countries, or both.
Not all common law marks used by IBM are listed on this page. Failure of a mark to appear does not mean that IBM does not use the mark nor does it mean that the product is not actively marketed or is not significant within its relevant market. Those trademarks followed by are registered trademarks of IBM in the United States; all others are trademarks or common law marks of IBM in the United States.
34