You are previewing Driving the Power of AIX: Performance Tuning on IBM Power Systems.
O'Reilly logo
Driving the Power of AIX: Performance Tuning on IBM Power Systems

Book Description

Maximize your efforts toward effective performance tuning on AIX on IBM's Power Systems (IBM i, AS/400, iSeries, System i, AIX, and Linux). With detailed information on optimizing your CPU, memory, disk, and network I/O subsystems, along with data on both AIX 5.3 and AIX 6.1, the author gives detailed instructions on how to tune your system effectively, delivering the performance boost you desire. In addition to these topics, chapters on the new AIX 6.1, Linux, and Oracle running on IBM Power Systems are included.

Packed with real-world know-how from author Ken Milberg—a 20-year systems administration veteran—this book is intended for systems professionals who need to understand, monitor, and control the factors that affect AIX performance on their servers. It covers systems monitoring and performance tuning on all subsystems as well as time-tested tuning and analysis methodology. The monitoring sections discuss tools that will allow you to immediately gain a quick and dirty view of the health of your system.

Beyond the rules of tuning, the book contains best practices to give the administrator solid strategies for tuning methodology and tips based on years of in-the-trenches experience. It covers the tools that are available and the best ways to use them to collect historical data and analyze trends and results. It is, quite simply, a must-have resource for anybody working with AIX on IBM Power Systems.

Table of Contents

  1. Acknowledgements
  2. Copyright
  3. Foreword
  4. Preface
  5. I. Introduction
    1. 1. Performance Tuning Methodology
      1. 1. Establishing a Baseline
      2. 2. Stress Testing and Monitoring
      3. 3. Identifying the Bottleneck
      4. 4. Tuning
      5. 5. Repeat
    2. 2. Introduction to AIX
      1. 2.1. Unix
      2. 2.2. AIX
      3. 2.3. AIX Market Share
    3. 3. Introduction to POWER Architecture
      1. 3.1. POWER5
      2. 3.2. POWER6
    4. Section I: Summary, Tips, and Quiz
      1. Summary
      2. Tips
    5. Quiz
      1. Multiple Choice
      2. True or False
      3. Fill In the Blank(s)
  6. II. CPU
    1. 4. CPU: Introduction
    2. 5. CPU: Monitoring
      1. 5.1. vmstat (Unix-generic)
      2. 5.2. sar (Unix-generic)
      3. 5.3. iostat (Unix-generic)
      4. 5.4. w (Unix-generic)
      5. 5.5. lparstat (AIX-specific)
      6. 5.6. mpstat (AIX-specific)
      7. 5.7. topas (AIX-specific)
      8. 5.8. nmon
      9. 5.9. Using nmon for Historical Analysis
      10. 5.10. ps (Unix-generic)
      11. 5.11. Tracing Tools
      12. 5.12. tprof
      13. 5.13. Timing Tools
      14. 5.14. time
      15. 5.15. timex
    3. 6. CPU: Tuning
      1. 6.1. Process and Thread Management
      2. 6.2. nice
      3. 6.3. renice
      4. 6.4. ps
      5. 6.5. schedo
      6. 6.6. sched_R and sched_D
      7. 6.7. fixed_pri_global
      8. 6.8. timeslice
      9. 6.9. bindprocessor
      10. 6.10. smtctl
      11. 6.11. gprof
    4. Section II: Summary, Tips, and Quiz
      1. Summary
      2. Tips
    5. Quiz
      1. Multiple Choice
      2. True or False
      3. Fill in the Blank(s)
  7. III. Memory
    1. 7. Memory: Introduction
      1. 7.1. Virtual Memory Manager
      2. 7.2. Computational Memory
      3. 7.3. File Memory
      4. 7.4. Paging and Swapping
      5. 7.5. VMM Tuning Evolution
    2. 8. Memory: Monitoring
      1. 8.1. vmstat (Unix-generic)
      2. 8.2. Virtual Memory Summary
      3. 8.3. sar (Unix-generic)
      4. 8.4. lsps (AIX-specific)
      5. 8.5. ps (Unix-generic)
      6. 8.6. svmon (AIX-specific)
      7. 8.7. Memory Leak
    3. 9. Memory: Tuning
      1. 9.1. vmo
      2. 9.2. minperm, maxperm, maxclient, and lru_file_repage
      3. 9.3. minfree and maxfree
      4. 9.4. Page Space Allocation
      5. 9.5. How Much Paging Space?
      6. 9.6. Paging Space Tuning
      7. 9.7. Thrashing and Load Control
      8. 9.8. Memory Scanning and lrubucket
      9. 9.9. rmss
    4. Section III: Summary, Tips, and Quiz
      1. Summary
      2. Tips
    5. Quiz
      1. Multiple Choice
      2. True or False
      3. Fill in the Blank(s)
  8. IV. Disk I/O
    1. 10. Disk I/O: Introduction
      1. 10.1. Direct I/O
      2. 10.2. Concurrent I/O
      3. 10.3. Asynchronous I/O
      4. 10.4. Logical Volumes and Disk Placement:
      5. 10.5. Intra- and Inter-Policy
      6. 10.6. Inter-Disk Policy
      7. 10.7. File Systems
    2. 11. Disk I/O: Monitoring
      1. 11.1. sar
      2. 11.2. topas
      3. 11.3. Logical Volume Monitoring
      4. 11.4. AIX LVM Commands
      5. 11.5. filemon and fileplace
      6. 11.6. filemon
      7. 11.7. fileplace
    3. 12. Disk I/O: Tuning
      1. 12.1. lvmo
      2. 12.2. ioo
      3. 12.3. JFS2 Tuning Options
    4. Section IV: Summary, Tips, and Quiz
      1. Summary
      2. Tips
    5. Quiz
      1. Multiple Choice
      2. True or False
      3. Fill in the Blank
  9. V. Network I/O
    1. 13. Network I/O: Introduction
      1. 13.1. Network I/O Overview
      2. 13.2. NFS
      3. 13.3. Media Speed
      4. 13.4. Network Subsystem Memory Management
      5. 13.5. Virtual and Shared Ethernet
    2. 14. Network I/O: Monitoring
      1. 14.1. netpmon
      2. 14.2. Monitoring NFS
      3. 14.3. nfsstat
      4. 14.4. nfs4cl
      5. 14.5. netpmon and NFS
      6. 14.6. Monitoring Network Packets
      7. 14.7. iptrace, ipreport, and ipfilter
      8. 14.8. tcpdump
    3. 15. Network I/O: Tuning
      1. 15.1. Name Resolution
      2. 15.2. Maximum Transfer Unit
      3. 15.3. Tuning: Client
      4. 15.4. Tuning: Server
    4. Section V: Summary, Tips, and Quiz
      1. Summary
      2. Tips
    5. Quiz
      1. Multiple Choice
      2. True or False
      3. Fill in the Blank
  10. VI. Bonus Topics
    1. 16. AIX 6.1
      1. 16.1. Introduction
      2. 16.2. Memory
      3. 16.3. CPU
      4. 16.4. Disk I/O
      5. 16.5. JFS2
      6. 16.6. iSCSI
      7. 16.7. I/O Pacing
      8. 16.8. Asynchronous I/O
      9. 16.9. Network
      10. 16.10. NFS
    2. Section VI: Chapter 16 Quiz
      1. Multiple Choice
      2. True or False
      3. Fill in the Blank
    3. 17. Tuning AIX for Oracle
      1. 17.1. Memory
      2. 17.2. CPU
      3. 17.3. Asynchronous I/O Servers
      4. 17.4. Concurrent I/O
      5. 17.5. Oracle Tools
      6. 17.6. Statspack
      7. 17.7. Oracle Enterprise Manager
    4. Section VI: Chapter 17 Quiz
      1. Multiple Choice
      2. True or False
      3. Fill in the Blank
    5. 18. Linux on Power
      1. 18.1. Monitoring
      2. 18.2. Handy Linux Commands
      3. 18.3. Virtualization
      4. 18.4. Tuning
    6. Section VI: Chapter 18 Quiz
      1. Multiple Choice
      2. True or False
      3. Fill in the Blank(s)
    7. Quiz Answers
      1. Section I: Introduction
      2. Section II: CPU
      3. Section III: Memory
      4. Section IV: Disk I/O
      5. Section V: Network I/O
      6. Section VI / Chapter 16: AIX 6.1
      7. Section VI / Chapter 17: Tuning AIX for Oracle
      8. Section VI / Chapter 18: Linux on Power