IBM®
Skip to main content
    Country/region [select]      Terms of use
 
 
     Home      Products      Services & solutions      Support & downloads      My account     
  IBM Wikis > AIX > Home > AIXV53InitialTuning
AIX Log In | Sign Up   View a printable version of the current page.
AIXV53InitialTuning
Added by Steve Pittman, last edited by Steve Pittman on Mar 02, 2008  (view change)
Labels: 
(None)

AIX V5.3 initial tuning recommendations

The contents of this web page solely reflect the personal views of the authors and do not necessarily represent the views, positions, strategies or opinions of IBM or IBM management. Please use the Add Comment link at the bottom of the page to provide feedback. Note: Until you sign up and log in (using links in the upper right corner of this web page), you will not see the Add Comment link and you can not add a comment.

Note

There is no substitute for hands-on training with an instructor to learn the basics before attempting the first AIX implementation on a production system. See the IBM Training web page. In the US, see the IBM Training AIX 5L System Administrators web page to select a course.

This web page is meant to supplement, not replace, other documentation which has been published:

AIX V5.3 initial tuning

The vast majority of AIX kernel tuning parameters are set appropriately by the AIX installation process. There are, however, a few tuning parameters which should be changed from the default values as soon as AIX is installed.

Tuning changes should be generally be made only with a specific objective in mind and in reaction to a performance issue which it seems likely that AIX kernel tuning can address. The changes recommended here are an exception to that general rule.

The settings of the parameters discussed below can be changed with the vmo command. When making these (and most) tuning changes, the best practice is to use the -p flag on the vmo command, which causes tuning parameters to be changed on the running AIX image and configures AIX so that parameters will be set as specified each time AIX boots.

lru_file_repage

The AIX lru_file_repage kernel tuning parameter was introduced in AIX V5.2 ML5 and AIX V5.3 ML2. The default setting for lru_file_repage is 1 (on).

Before lru_file_repage was introduced, it was often necessary to alter minperm and maxperm/maxclient to get good performance, particularly when running an Oracle RDBMS workload. Now that lru_file_repage is available, when installing AIX V5.3 at ML5 and above it is best to leave minperm, maxperm, and maxclient at their default values and set lru_file_repage=0 (off). Subsequent AIX performance monitoring and analysis may suggest changing other vmo parameters, but it is best to start with minperm, maxperm, and maxclient at their default values unless other AIX V5.3 initial tuning recommendations come from some authoritative source. (The VMM Tuning Tip: Protecting Computational Memory article cited on the Performance Monitoring Documentation web page suggests setting minperm=5, maxperm=90, and maxclient=90 when setting lru_file_repage=0.) Use the AIX command vmo -a to display the settings of all vmo parameters and use vmo -L | awk '/^n\/a/{exit} {if ($2 != $3 && $2 != "n/a") {print $0} }' to display the settings of all vmo parameters which are set to a value other than the default.

See the Overview of AIX page replacement article on the IBM developerWorks web site for more information regarding lru_file_repage and instructions for changing it using the vmo command.

TCP tuning

The tcp_sendspace, tcp_recvspace, sb_max, and rfc1323 tunables should be set as specified in the table in the TCP streaming workload tuning article in the AIX V5.3 Performance management manual, unless there is good reason to believe that the TCP workload will be a request and response workload rather than streaming. For example, as of 2/25/2008 the recommended values in the table for a Gigabit Ethernet adapter with a 1500-byte MTU size (not jumbo frames) are tcp_sendspace=131072, tcp_recvspace=65536, sb_max=1048576 (recommended in a footnote to the table), and rfc1323=0.

Use the entstat-d ent0 | grep -i media commands to display the media speed at which a given physical adapter (ent0 in this example) is running. For a virtual adapter, use the media speed of the physical adapter to which the virtual adapter is mapped.

UDP tuning

The udp_sendspace and udp_recvspace tunables should be set as recommended in the UDP tuning article in the AIX V5.3 Performance management manual. As of 2/25/2008, suggested starting values in the article are udp_sendspace=655360 and udp_recvspace=65536.

Once initial tuning changes have been implemented, remember that tuning of any operating system (including AIX) is an interative process. That is, performance requirements should be identified, current performance should be assessed and, if appropriate, a small set of changes should be made. The effects of those changes should be assessed to determine if the changes caused any improvement. Changes which don't result in an improvement should generally be backed out. Changes which do result in an improvement should be preserved as the basis for further tuning. For more information, see The performance-tuning process article in the AIX V5.3 Performance management manual. Please note that it is often necessary to change AIX tuning in tandem with other tuning (eg, Oracle RDBMS memory use tuning).

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006)
    About IBM Privacy Contact