POWER9 Performance Monitor Unit User's Guide Openpower

POWER9 Performance Monitor Unit User's Guide Openpower

Title Page POWER9 Performance Monitor Unit User’s Guide OpenPOWER Version 1.2 28 November 2018 ® Copyright and Disclaimer © Copyright International Business Machines Corporation 2017, 2018 Printed in the United States of America November 2018 IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other compa- nies. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml. The OpenPOWER word mark and the OpenPOWER Logo mark, and related marks, are trademarks and service marks licensed by OpenPOWER. Linux is a trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, and service names may be trademarks or service marks of others. All information contained in this document is subject to change without notice. The products described in this document are NOT intended for use in applications such as implantation, life support, or other hazardous uses where malfunction could result in death, bodily injury, or catastrophic property damage. The information contained in this document does not affect or change IBM product specifications or warranties. Nothing in this document shall operate as an express or implied indemnity under the intellectual property rights of IBM or third parties. All information contained in this document was obtained in specific environments, and is presented as an illustration. The results obtained in other operating environ- ments may vary. This document is intended for the development of technology products compatible with Power Architecture®. You may use this document, for any purpose (commercial or personal) and make modifications and distribute; however, modifica- tions to this document may violate Power Architecture and should be carefully considered. Any distribution of this docu- ment or its derivative works shall include this Notice page including but not limited to the IBM warranty disclaimer and IBM liability limitation. No other licenses (including patent licenses), expressed or implied, by estoppel or otherwise, to any intellectual property rights are granted by this document. THE INFORMATION CONTAINED IN THIS DOCUMENT IS PROVIDED ON AN “AS IS” BASIS. IBM makes no represen- tations or warranties, either express or implied, including but not limited to, warranties of merchantability, fitness for a particular purpose, or non-infringement, or that any practice or implementation of the IBM documentation will not infringe any third party patents, copyrights, trade secrets, or other rights. In no event will IBM be liable for damages arising directly or indirectly from any use of the information contained in this document. IBM Systems 294 Route 100, Building SOM4 Somers, NY 10589-3216 The IBM home page can be found at ibm.com®. Version 1.2 28 November 2018 User’s Guide OpenPOWER POWER9 Performance Monitor Unit Contents List of Figures .................................................................................................................. 5 List of Tables .................................................................................................................... 7 Revision Log .................................................................................................................... 9 About this Document ..................................................................................................... 11 1. Core Performance Monitoring Facilities ................................................................. 13 1.1 Essential Performance Monitor Functions ...................................................................................... 13 1.2 Definitions and Terminology ............................................................................................................ 14 1.3 Essential Performance Monitor Facilities ........................................................................................ 15 1.3.1 Performance Monitor Special Purpose Registers and Fields ................................................ 15 2. POWER9 Sampling Support .................................................................................... 19 2.1 Sampled Instruction Address Register ............................................................................................ 19 2.2 Sampled Data Address Register ..................................................................................................... 20 2.3 Continuous Sampling ...................................................................................................................... 20 2.4 Random Instruction Sampling ......................................................................................................... 21 2.4.1 Value Profiling Support .......................................................................................................... 21 2.4.1.1 ProbeNop ....................................................................................................................... 22 2.4.1.2 Synchronous PMU Interrupts ......................................................................................... 22 2.5 Random Event Sampling ................................................................................................................ 23 2.5.1 Random Event Sampling (RES) in a Branch Unit ................................................................. 23 2.5.2 Random Instruction and Event Selection .............................................................................. 24 3. Thresholding ............................................................................................................. 25 3.1 Floating-Point Counter and Threshold Operation ........................................................................... 25 3.1.1 Thresholding Operation ......................................................................................................... 26 3.1.2 Examples of the Ability to Change Events to Threshold ........................................................ 28 3.1.2.1 Loads .............................................................................................................................. 28 3.1.2.2 Stores ............................................................................................................................. 29 3.1.2.3 Branches ........................................................................................................................ 29 3.1.3 POWER9 Threshold Event Selection .................................................................................... 30 3.1.4 POWER9 Threshold Start/Stop Event Selection ................................................................... 30 4. POWER9 Core ........................................................................................................... 31 4.1 POWER9 Core Features ................................................................................................................. 31 4.2 Pipeline Structure ............................................................................................................................ 33 5. Core PMU Events ...................................................................................................... 34 5.1 IFU Events ...................................................................................................................................... 35 5.2 Branch Events ................................................................................................................................. 38 5.3 ISU Events ...................................................................................................................................... 40 Version 1.2 Contents 28 November 2018 Page 3 of 197 User’s Guide OpenPOWER POWER9 Performance Monitor Unit 5.4 VSU Events ..................................................................................................................................... 42 5.5 LSU Events ..................................................................................................................................... 43 5.6 Data Source Events ........................................................................................................................ 50 5.7 Translation Events ........................................................................................................................... 53 5.8 L2 and L3 Events ............................................................................................................................ 58 5.9 CPI Stack Events ............................................................................................................................ 65 5.10 Marked Events .............................................................................................................................. 72 5.11 MMU Events .................................................................................................................................. 80 5.12 Transactional Memory Events ....................................................................................................... 90 5.13 PMC Events .................................................................................................................................. 91 5.14 Metrics ..........................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    197 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us