Example: marketing

POWER7 and POWER7+ Optimization and Tuning …

Front cover POWER7 and POWER7 +. Optimization and Tuning Guide Discover simple strategies to optimize your POWER7 environment Analyze and maximize performance with solid solutions Learn about the new POWER7 + processor Brian Hall Steve Munroe Mala Anand Francis P O'Connell Bill Buros Sergio Reyes Miso Cilimdzic Raul Silvera Hong Hua Randy Swanberg Judy Liu Brian Twichell John MacMillan Brian F Veale Sudhir Maddali Julian Wang K Madhusudanan Yaakov Yaari Bruce Mealey International Technical Support Organization POWER7 and POWER7 + Optimization and Tuning Guide November 2012.

ibm.com/redbooks Front cover POWER7 and POWER7+ Optimization and Tuning Guide Brian Hall Mala Anand Bill Buros Miso Cilimdzic …

Tags:

  Power7

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of POWER7 and POWER7+ Optimization and Tuning …

1 Front cover POWER7 and POWER7 +. Optimization and Tuning Guide Discover simple strategies to optimize your POWER7 environment Analyze and maximize performance with solid solutions Learn about the new POWER7 + processor Brian Hall Steve Munroe Mala Anand Francis P O'Connell Bill Buros Sergio Reyes Miso Cilimdzic Raul Silvera Hong Hua Randy Swanberg Judy Liu Brian Twichell John MacMillan Brian F Veale Sudhir Maddali Julian Wang K Madhusudanan Yaakov Yaari Bruce Mealey International Technical Support Organization POWER7 and POWER7 + Optimization and Tuning Guide November 2012.

2 SG24-8079-00. Note: Before using this information and the product it supports, read the information in Notices on page vii. First Edition (November 2012). This edition pertains to Power Systems servers based on POWER7 and POWER7 + processor-based technology. Specific software levels and firmware levels used are noted throughout the text. Copyright International Business Machines Corporation 2012. All rights reserved. Note to Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

3 Contents Notices .. vii Trademarks .. viii Preface .. ix The team who wrote this book .. ix Now you can become a published author, too! .. xiii Comments welcome.. xiv Stay connected to IBM Redbooks .. xiv Chapter 1. Optimization and Tuning on IBM POWER7 and IBM POWER7 + .. 1. Introduction .. 2. Outline of this guide .. 2. Conventions that are used in this guide .. 4. Background .. 4. Optimizing performance on POWER7 .. 5. Lightweight Tuning and Optimization guidelines.. 6. Deployment guidelines .. 13. Deep performance Optimization guidelines .. 17.

4 Chapter 2. The POWER7 processor.. 21. Introduction to the POWER7 processor .. 22. The POWER7 + processor .. 23. Multi-core and multi-thread scalability .. 23. Using POWER7 features .. 25. Page sizes (4 KB, 64 KB, 16 MB, and 16 GB) .. 25. Cache sharing .. 29. SMT priorities .. 35. Storage synchronization (sync, lwsync, lwarx, stwcx, and eieio) .. 37. Vector Scalar eXtension (VSX) .. 39. Decimal floating point (DFP) .. 44. Data prefetching using d-cache instructions and the Data Streams Control Register (DSCR) .. 46. Related publications .. 51. Chapter 3.

5 The POWER Hypervisor .. 55. Introduction to the POWER7 Hypervisor.. 56. POWER7 virtualization .. 57. Virtual processors .. 57. Page table sizes for LPARs .. 61. Placing LPAR resources to attain higher memory affinity .. 61. Active memory expansion .. 64. Optimizing Resource Placement Dynamic Platform Optimizer .. 65. Related publications .. 65. Chapter 4. AIX .. 67. AIX and system libraries .. 68. AIX operating system-specific optimizations.. 68. Using POWER7 + features under AIX .. 83. AIX Active System Optimizer and Dynamic System Optimizer .. 84.

6 Copyright IBM Corp. 2012. All rights reserved. iii Concepts .. 84. ASO and DSO optimizations.. 86. Workloads .. 87. The asoo command .. 89. Environment variables .. 89. Installing DSO .. 91. Log files.. 91. AIX preferred practices .. 92. AIX preferred practices that are applicable to all Power Systems generations .. 92. AIX preferred practices that are applicable to POWER7 .. 93. POWER7 mid-range and high-end High Impact or Pervasive advisory .. 93. Related publications .. 94. Chapter 5. Linux .. 97. Linux and system libraries.. 98. Introduction.

7 98. Linux operating system-specific optimizations .. 98. Related publications .. 106. Chapter 6. Compilers and Optimization tools for C, C++, and Fortran.. 107. Compiler versions and Optimization levels .. 108. Advanced compiler Optimization techniques .. 109. Common prerequisites .. 109. XL compiler family.. 110. GCC compiler family .. 112. IBM Feedback Directed Program Restructuring .. 114. Introduction .. 114. FDPR supported environments.. 115. Acceptable input formats .. 116. General operation .. 116. Instrumentation and profiling.. 117. Optimization .

8 119. Related publications .. 123. Chapter 7. Java .. 125. Java levels .. 126. 32-bit versus 64-bit Java .. 126. Memory and page size considerations .. 127. Medium and large pages for Java heap and code cache .. 127. Configuring large pages for Java heap and code cache.. 128. Prefetching .. 128. Compressed references .. 128. JIT code cache .. 129. Shared classes .. 130. Java garbage collection Tuning .. 130. GC strategy: Optthruput .. 130. GC strategy: Optavgpause .. 131. GC strategy: Gencon .. 131. GC strategy: Balanced .. 131. Optimal heap size.

9 132. Application scaling .. 133. Choosing the correct SMT mode .. 133. Using resource sets .. 133. Java lock reservation .. 135. iv POWER7 and POWER7 + Optimization and Tuning Guide Java GC threads .. 135. Java concurrent marking.. 136. Related publications .. 136. Chapter 8. DB2 .. 137. DB2 and the POWER7 processor .. 138. Taking advantage of the POWER7 processor .. 138. Affinitization.. 138. Page sizes .. 139. Decimal arithmetics.. 139. Using SMT priorities for internal lock implementation .. 140. Capitalizing on the compilers and Optimization tools for POWER7 .

10 140. Whole-program analysis and profile-based optimizations.. 140. Feedback directed program restructuring (FDPR) .. 140. Capitalizing on POWER7 virtualization .. 140. DB2 virtualization .. 141. DB2 in an AIX workload partition .. 141. Capitalizing on the AIX system libraries .. 142. Using the thread_post_many API .. 142. File systems .. 142. Capitalizing on performance tooling .. 143. High-level investigation .. 143. Low-level investigation .. 144. Conclusion .. 144. Related publications .. 144. Chapter 9. WebSphere Application Server .. 147. IBM WebSphere.


Related search queries