Escolar Documentos
Profissional Documentos
Cultura Documentos
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
On AIX 6.1, no paging to the paging space will occur unless the
system memory is over committed (AVM > 97%)
Legacy page_steal_method=0
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
>ioo -o aio_sample_rate=6
Warning: a restricted tunable has been modified
Note: The system will log changes to restricted tunable in the system error log at
boot time.
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
Concurrent I/O (CIO) has been a feature of AIX since AIX 5.2
– http://www.ibm.com/systems/p/os/aix/whitepapers/db_perf_aix.pdf
Concurrent I/O gives applications which do internal buffering of disk I/O
and locking a means of by-passing operating system caching and i-node
file locking
– This improves CPU efficiency of I/O to very near that of raw logical
volumes
– And improves scalability by eliminating operating system i-node
locking in the read/write paths
Concurrent I/O is not for all applications
– Some applications require operating system i-node locking to
function correctly
– Other applications do not do sophisticated storage buffering and
benefit from caching in the operating system or read-ahead/write-
behind mechanisms that the AIX virtual memory management
subsystem provide to improve sequential file performance
DB2 Version 9.5 implements CIO as the DEFAULT mechanism for table spaces
on AIX
– NO FILE SYSTEM CACHING/FILE SYSTEM CACHING clauses on CREATE
TABLESPACE or ALTER TABLESPACE
– View caching DB2 GET SNAPSHOT FOR TABLES ON db
– DB2 has supported CIO since V8.1
– http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0408lee/
If you use legacy VMM tuning (e.g AIX 5.2/5.3 defaults) and you switch
an application from non-CIO to CIO operation, you will likely need to
retune
– The amount and distribution of memory may change quite radically
– Usually, switching file usage to CIO reduces the memory required,
as the operating system no longer will be buffering file pages for
those files
– Upgrading from DB2 9.1 (non-CIO) to DB2 9.5 may require some
tuning preparation
With AIX 6.1 default tuning, it should not be necessary to change tuning
when converting from non-CIO to CIO operation
Interface Changes
– All the AIO entries in the ODM and AIO smit panels have
been removed
– The aioo command will not longer be shipped
– All the AIO tunables have current, default, minimum and
maximum value that can be viewed with ioo
AIO kernel extension loaded at system boot
– Applications no longer fail to run because you forgot to load
the kernel extension (you may applaud here)
– No AIO servers are active until requests are present
– Extremely low impact on memory requirements with this
implementation
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
120000
100000
MB/second
80000
32biod
60000
4biod
40000
20000
0
ed
ed
ed
te
te
e
rit
ea
ea
ch
ch
ch
w
ca
cr
cr
ca
ca
er
un
un
nd
ov
er
se
ra
rv
q
er
er
se
e
se
rv
rv
e
rit
rit
se
se
w
q
w
rit
se
q
nd
w
se
ad
ra
re
ad
ad
re
re
MB/sec
40000 32biod
with network traffic through 30000 4biod
20000
more biod’s greatly improves 10000
throughput 0
d
d
te
d
e
he
t
he
ri t
ea
ea
ch
rw
ac
ac
cr
cr
ca
e
rc
nc
Same model as previous
nd
ov
un
se
u
ra
rv
q
er
er
e
se
se
e
rv
rit
rv
r it
se
w
se
e
q
w
rit
se
q
nd
w
chart, krbp5 (full packet
se
ad
ra
re
ad
ad
re
re
encryption) mount option
test “Wikibench” 90
80
70
Throughput
60
80
With “nolog”, the log
%disk busy
60 default log
20
0
time
Implementation Considerations
Best Practices
Do not apply legacy tuning since some tunables may now be restricted
If you do an upgrade install, your old tunings will be preserved
You may wish to undo them, but we won’t make you
This level of tune was been applied to numerous AIX 5.3
customers through field support
We are confident this was a good thing
However, we try to never change defaults in the service stream, so
AIX 5.3 remains as it was
Problem Determination
Common problems - seen in field or lab
Legacy VMM tuning results in error log entries
(TUNE_RESTRICTED)
Tuning scripts fail due to required confirmation for permanent
changes of restricted tunables
Install/tuning scripts fail due missing aio0 device
Diagnostics
Check AIX errpt for TUNE_RESTRICTED
Check /etc/tunables/lastboot.log
PERFPMR
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.
*, AS/400®, e business(logo)®, DBE, ESCO, eServer, FICON, IBM®, IBM (logo)®, iSeries®, MVS, OS/390®, pSeries®, RS/6000®, S/30, VM/ESA®, VSE/ESA,
WebSphere®, xSeries®, z/OS®, zSeries®, z/VM®, System i, System i5, System p, System p5, System x, System z, System z9®, BladeCenter®
Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries.
Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the United States, other countries, or both and is used under license therefrom.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.
Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel
Corporation or its subsidiaries in the United States and other countries.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office.
IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency, which is now part of the Office of Government Commerce.
* All other products may be trademarks or registered trademarks of their respective companies.
Notes:
Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will
experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed.
Therefore, no assurance can be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here.
IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply.
All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual
environmental costs and performance characteristics will vary depending on individual customer configurations and conditions.
This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without
notice. Consult your local IBM business contact for information on the product or services available in your area.
All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.
Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance,
compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.
Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography.