This IBM Redbook is designed as a study guide for professionals wishing to prepare for the AIX Performance and System Tuning certification exam as a selected course of study in order to achieve the IBM Certified Advanced Technical Expert - RS/6000 AIX certification.This IBM Redbook is designed to provide a combination of theory and practical experience needed for a general understanding of the subject matter. It also provides sample questions that will help in the evaluation of personal progress and provide familiarity with the types of questions that will be encountered in the exam.
Author(s): IBM Redbooks
Series: IBM Redbooks
Edition: 1
Publisher: Ibm
Year: 2001
Language: English
Pages: 312
Contents......Page 5
Figures......Page 11
Tables......Page 13
Preface......Page 15
The team that wrote this redbook......Page 16
Comments welcome......Page 17
1.1.3 Registration for the certification exam......Page 19
1.1.4 Core requirement (select three of the following tests)......Page 20
1.2 Certification education courses......Page 34
1.3 Education on CD-ROM: IBM AIX Essentials......Page 35
2.1 Introduction to concepts......Page 37
2.2 CPU performance overview......Page 39
2.3 Memory performance overview......Page 45
2.4 Disk I/O performance overview......Page 53
2.5 Network performance overview......Page 60
2.6 Summary......Page 63
2.7.1 Answers......Page 64
3.1.1 Examples of using the sar command......Page 65
3.1.2 The sar command summary......Page 69
3.1.4 The sa1 and sa2 commands......Page 77
3.2 The vmstat command......Page 78
3.3 The ps command......Page 86
3.3.1 Use of the ps command in a CPU usage study......Page 87
3.3.2 Use of the ps command in a memory usage study......Page 89
3.4 The tprof command......Page 91
3.4.1 Using the tprof general report......Page 92
3.4.2 Using tprof on a program......Page 94
3.5.1 The svmon global report......Page 95
3.5.2 The svmon user report......Page 98
3.5.3 The svmon process report......Page 101
3.5.4 The svmon segment report......Page 103
3.5.5 The svmon detailed segment report......Page 106
3.5.6 The svmon command report......Page 108
3.5.7 The svmon Workload Manager class report......Page 110
3.5.8 The svmon command flags......Page 112
3.6 The topas command......Page 115
3.7 The emstat command......Page 118
3.8 Quiz......Page 120
3.8.1 Answers......Page 123
3.9 Exercises......Page 124
4.1 Overview......Page 125
4.2 The iostat command......Page 126
4.2.1 Historical disk I/O......Page 128
4.2.2 TTY and CPU utilization report......Page 129
4.2.4 Disk utilization report......Page 131
4.3 The lockstat command......Page 133
4.4.1 Logical volume attributes......Page 136
4.4.2 Logical volume fragmentation......Page 140
4.4.3 Logical volume allocation......Page 141
4.5.1 The filemon command......Page 143
4.5.2 Report analysis......Page 145
4.5.3 Typical AIX system behavior......Page 151
4.6.1 AIX file system organization......Page 152
4.6.2 The fileplace command......Page 153
4.7 General recommendations on I/O performance......Page 156
4.8 Overhead of using performance tools......Page 158
4.9.1 The filemon command......Page 159
4.9.3 The lslv command......Page 160
4.10 Quiz......Page 161
4.11 Exercises......Page 165
5.1 Overview......Page 167
5.2 Adapter transmit and receive queue tuning......Page 169
5.3 Protocols tuning......Page 171
5.4.1 The vmstat command......Page 173
5.4.4 The netstat command......Page 174
5.4.5 The netpmon command......Page 177
5.4.6 The tcpdump and iptrace commands......Page 179
5.5 Network performance management tools......Page 181
5.7.1 NFS server-side performance......Page 183
5.7.3 Mount options......Page 186
5.8.1 The netstat command......Page 187
5.8.2 The tcpdump command......Page 188
5.9 Quiz......Page 189
5.10 Exercises......Page 192
6.1 The AIX scheduler......Page 195
6.1.1 Priority calculation on AIX versions prior to 4.3.2......Page 197
6.1.2 Priority calculation on AIX Version 4.3.2 and later......Page 200
6.2 Multiple run queues with load balancing in AIX Version 4.3.3......Page 202
6.2.2 Idle load balancing......Page 203
6.3.1 The schedtune command......Page 204
6.3.2 The nice and renice commands......Page 207
6.4 The bindprocessor command......Page 210
6.5 The vmtune command......Page 211
6.6 Workload Manager......Page 216
6.7 Quiz......Page 217
6.8 Exercise......Page 218
7.1.1 Data collection......Page 219
7.1.2 Data analysis......Page 220
7.1.3 Recommendation......Page 221
7.2.1 Data collection......Page 222
7.2.2 Data analysis......Page 224
7.3.1 CPU and kernel thread I/O wait bottleneck scenario......Page 225
7.3.2 I/O distribution bottleneck scenario......Page 227
7.3.3 Logical volume fragmentation scenario......Page 228
7.3.4 Monitoring scenario using filemon......Page 229
7.3.5 Logical volume allocation scenario......Page 230
7.4.1 Data collection......Page 233
7.4.2 Data analysis......Page 239
7.4.3 Recommendation......Page 242
8.1 Scenario one......Page 243
8.1.1 Answers......Page 244
8.2 Scenario two......Page 245
8.2.1 Answers......Page 254
A.1 Overview......Page 255
A.2.1 Configuring error log......Page 256
A.2.2 Clearing the error log......Page 257
A.3 Reading error logs in details......Page 258
A.3.1 The errpt command output......Page 259
A.3.2 Formatted output from errpt command......Page 260
A.4.1 The errpt command......Page 262
A.6 Exercises......Page 264
Appendix B. Installing the performance tools......Page 265
B.1.1 The installp command......Page 272
B.1.3 The lppchk command......Page 274
B.2 Quiz......Page 275
B.3 Exercises......Page 277
C.2.2 How to use the Web material......Page 279
Appendix D. Special notices......Page 281
E.2 IBM Redbooks collections......Page 285
E.4 Referenced Web sites......Page 286
How to get IBM Redbooks......Page 289
IBM Redbooks fax order form......Page 290
Abbreviations and acronyms......Page 291
Index......Page 297
IBM Redbooks review......Page 307