The Study of Performance Testing Technique Based on Hardware Performance Monitoring
- Author
- ZouWen
- Advisor
- WangZhengHua
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP306 Adjustment,testing,calibration
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 117
- Citations
- 1
- Performance Testing
- hardware performance monitoring
- Hardware counter
- Low-level interface
- cache characteristic parameters
- Testing procedures
Abstract
In recent years, a variety of high-performance computers are emerging and are widely used and continuously improve the peak performance of the machine. But the actual application of sustained performance did not improve as the machine's peak performance proportionately increased both the widening gap. Program performance optimization is one of the effective ways to solve the problem. Program performance optimization process, we must first find out the main reason of the impact of program performance, and then targeted to improve the application code and data structures. Performance testing is to understand program behavior, and understanding of software / hardware resource utilization and program performance of the play, an important role on the identify program performance bottleneck,. In addition, an objective evaluation of program performance is also inseparable from the the program performance tests. This paper focuses on the performance tests, in order to reduce the test system overhead and provide reliable, accurate and rich performance data for the purpose of in-depth study of performance testing technology based on hardware performance monitoring. Hardware performance monitor (Hardware Performance Monitoring) function; majority of high-performance microprocessors have it during the execution of a program, the use of the built-in processor hardware performance monitoring counters (Hardware Performance Monitoring Counters, hereinafter referred to as hardware counters), The processor internal operation of the on-site monitoring, surveillance and statistical machine (processor) internal closely related to the performance events, performance data, analysis and program performance for the efficacy of the architecture components optimized to provide guidance. This paper first analyzes the basic principles of performance testing technology status and hardware performance monitoring. On this basis, the processor used in a variety of hardware performance monitoring techniques are reviewed; This article also focuses on the the Pentium4 processor hardware monitoring ability, and analysis of the problems of the processor hardware monitoring and a variety of processors hardware performance monitoring capabilities were analyzed and compared. Based in the study of Intel P6 family of processors based on Intel Pentium4 processor and AMD's Athlon64 processor hardware counters control mechanisms, analyze test the lack of tools has been proposed and designed to achieve hardware-based counter-based Windows2000 operating system and Intel Pentium4 processor hardware counters on the ground floor access interface, the interface to the hardware performance data obtained during the program execution, and also provides the underlying support for the further development of performance testing tools. In order to overcome some of the problems existing in the various cache characteristic parameters of the test method, this paper presents a the cache feature parameters based on hardware performance monitoring performance data acquisition method. Get cache hits, designed and implemented a test program first hardware-based performance monitoring; Secondly number of markers counter for time performance data, design, and another test program; final two test procedures in Pentium3 and Pentium4 processor verification. Finally, the paper summarizes the results of research projects to explore the direction of future research work.
Table of contents
Directory 4-6
the
diagram directory 6-7
summary 7-8
ABSTRACT 8-10
first chapter 10-18
1.1 Background 10-12
1.1.1 computer architecture classification 10
1.1.2 high-performance microprocessor development 10-11
1.1.3 performance gap is huge 11-12
1.1.4 Performance Test 12
1.2 Performance Test Technical Research 12-15
1.3 research significance 15
1.4 this study 15-16
1.5 paper structure 16
1.6 This article research 16-18
Chapter II processor hardware performance monitoring features 18-31
2.1 Introduction 18
2.2 performance events and event monitoring 18-20
the 2.2.1 performance monitoring hardware 18-19
2.2.2 performance events of the Profiles 19-20
2.3 performance data collection methods and performance monitoring hardware advantages 20-21
2.4 Alpha ProfileMe 21
2.5 of Pentium4 hardware performance monitor characteristics 21-27
2.5.1 Pentium4 event detection and counter 22-24
2.5.2 the Pentium4 non-inferred event count tagging mechanism 24-25
2.5.3 Pentium4 precise event sampling-based features 25-27
2.6 microprocessor hardware performance monitoring capabilities compare 27
example 2.7 using the hardware performance monitoring data to improve performance 27-29
2.8 hardware performance monitor existing analysis 29-30
2.9 This chapter Summary 30-31
Chapter processor hardware performance monitoring control of critical technology analysis 31-42
3.1 Introduction 31
3.2 Pentium4 performance monitoring to control the key technical analysis 31-38
3.2.1 Pentium4 performance monitoring usage patterns 31-32
3.2.2 Performance Counters 32-33
3.2.3 Performance Event Selection and Configuration 33-35
3.2.4 DS retention mechanism 35-37
3.2.5 precise event-based sampling control 37
3.2.6 hardware counter access 37-38
3.3 P6 family processor performance monitoring control key technical analysis 38-39
3.3.1 Event selection and counting 39
3.4 Athlon64 processor performance monitoring control key technical analysis 39-41
3.4.1 Event selection and counting 40-41
3.4.2 the number of markers counter 41
3.5 This chapter Summary 41-42
performance test based on hardware performance monitoring tools to achieve 42-53
4.1 Introduction 42
4.2 Background 42-44
4.3 Pentium4 underlying hardware performance monitoring device access interface 44-50
4.3.1 hardware counter the underlying driver 44-46
4.3.1.1 underlying driven composition 44-45
4.3.1.2 main function to achieve 45-46
4.3.2 event interface 46-48
4.3.2.1 event interface set 46-47
4.3.2.2 internal signal event index 47-48
4.3.3 event count 48-50
4.3.3.1 event to count implementation process 48-49
4.3.3.2 to achieve the main function 49-50
4.4 Multiplexing 50-52
4.5 This chapter summarizes 52-53
Chapter the CACHE characterized based on hardware performance monitoring parameters to obtain Method 53-63
5.1 Introduction 53-54
5.2 Related work 54-55
5.3 based on hits 55-56
5.3.1 test program design and analysis 55
5.3.2 test procedures to achieve 55-56
5.4 method based on the number of labeled counter 56-58
5.4.1 test program design ideas 57
5.4.2 test program Design and Implementation 57-58
5.4 test results analysis 58-62
5.5 This chapter summarizes 62-63
the
sixth chapter Summary and Outlook 63-65
6.1 Full-text work summarizes 63-64
6.2 Research Prospects 64-65
Acknowledgements 65-66
the
Appendix A: papers published for Master during 66-67
the
Appendix B: participate in research projects during the study for master 67-68
the
References 68-70
Related dissertations
- Design and Implementation of the Core System Performance Testing in a Commercial Bank
- Research on Performance Analysis and Measurement Technology for Flexible Gyroscope
- Research and Implementation of the AAA Module in IPTV Platform
- The Research and Design of Private Network Intelligent Managent System
- The Testing System of Solar Cell Based on Bluetooth Transmission
- Research on the Mix Proportion Design and Construction Technology of Fiber-reinforced Asphalt Chip in Hot and Humid Area of Southern China
- Structural Optimization and Signal Detection of MEMS Gyroscope Used in Rotating Bombs
- Circuit Design and Realization of High Definition Color CCD Digital Camera
- Theoretical Analysis and Experimental Research on the Rollingmill Hgcsystem
- Study on PCL-based Eco-friendly Plasticizer
- Properties Study and Preparation of Organic Silicon Buffer Clay
- GP3130R3Gyro Total Station Performance Testing and Data Processing
- A Testing on the OAO on the Performance of Hong Kong Stock Issued
- Research on Perforance Model Based on Single-Cpu Firewall
- On the Web Server Performance Testing
- Design and Implementation of Several Security and Performance Testing Tool for VPN
- Research and Implementation of Comperhensive Performance Testing Model Based on Student Access Featuers
- Performance Testing and Analysis on Qaaws System
- Research on Software Testing Technology of Seismic Data Management Platform
- Campus Management Information System Research and Development