Performance Analysis and Optimizations of Microprocessors

Author
ZhangFuXin
Advisor
HuWeiWu
School
Institute of Computing Technology
Major
Computer System Architecture
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Doctoral dissertation
Year
2005
Downloads
586
Citations
3

Request the full text

Abstract

With the ever-increasing design complexity and limited design time, it is a question for each designer: how to efficiently perform analysis and optimizations of the target system? This paper tries to answer this question via studies of the performance analysis environment and the methodology needed by a realistic high performance microprocessor (the godson-2 processor [HZL05]) design.At the core of performance analysis environment are the models of target processors and workloads. Accuracy, speed and flexibility are the key requirements of these models. RTL models dictate the logic behavior of microprocessors, but they are too slow, and baring too much details to be flexible enough. This thesis proposes a way to model hardware in high level programming languages and successfully uses it to build a signal-level simulator, which is called ICT-godson. ICT-godson has the same logic behavior with the Godson-2 RTL model, but it can run 10x faster.ICT-godson partially solves the speed problem, but since it bears all the details it is still limited in flexibility. We go further to build a more high-level model, which is called Sim-godson. Sim-godson is a performance model of the godson-2 processor written in C. The adoption of execution-driven organization, highly efficient data structures and algorithms, and modular design ensures its speed and flexibility. Sim-godson can simulate around 500K cycles per second and this is comparable to the fastest public detailed simulators. Sim-godson supports fast evaluation of large workloads. It can accurately predict the performance of SPEC CPU2000 in an hour. Sim-godson supports both user mode simulation and full-system simulation so that we can choose a conventional mode for different purposes. And this is also useful for isolating the effect of the operating system and extern I/O. We establish a systematical validation flow for Sim-godson, which is effective in controlling the model error.To best meet the requirements of different design stages and design purposes, a performance analysis environment should be composed of a set of tools. Besides ICT-godson and Sim-godson, the environment established by this thesis includes the RTL model and FPGA emulation platform, and some other software tools. RTL and FPGA are used to validate high-level models while software tools are used for tasks such as workload analysis.This thesis implements a multi-facet data collection scheme in both ICT-godson and Sim-godson. They can present different views of target processor’s behaviors and help designer to find bottlenecks. To better understanding the behavior of high-performance microprocessors, we further investigate several methods for bottleneck analysis. These methods can systematically decide the effects each bottleneck and their interactions have on the performance.

Table of contents

Abstract 3-4 English summary 4-9 List of Figures 9-11 table directory 11-13 <br / > Chapter Introduction 13-25 1.1 processor performance analysis technology 13-18 1.1.1 Workload representation and analysis 13-14 1.1.2 Performance modeling technology 14-17 1.1.3 silicone is optimization technology 17-18 1.2 typical performance analysis environment introduction 18 - 22 1.2.1 Alpha microprocessor performance analog 18-19 1.2.2 PowerPC microarchitecture structure to explore the environment 19-20 1.2.3 Simplescalar 20 1.2.4 SIMOS 20-21 1.2.5 Intel Pentium 4 performance analysis and validation 21 1.2.6 Performance Analysis Environment / tools 21-22 1.3 Background 22-23 1.4 In this paper the contribution of 23 the dissertation organizations 1.5 23 - 25 Godson-2 performance analysis environment 25-29 the godson simulator of 2.1 ICT- 25-26 2.2 Sim, godson simulator 26 2.3 RTL simulation environment 26-27 2.4 FPGA simulation environment 27 2.5 silicon optimization tools 27-29 <br / > Design and Optimization of Chapter III of ICT-godson simulator 29-37 3.1 hardware modeling 29-31 3.1.1 C / C hardware modeling problems 29-30 3.1.2 System C modeling speech 30 3.1.3 ICT-godson modeling 30-31 3.2 Performance Analysis of the functional design 31-34 3.2.1 data collection 31-32 3.2.2 debug 32-33 3.2.3 visualization 33-34 3.2.4 Batch 34 3.3 designed to accelerate 34-37 3.3.1 to eliminate the register copy 34 3.3.2 main loop to cut and code partition 34-35 3.3.3 data structures and algorithms replace 35-37 Chapter IV Sim -godson simulator design and 37-57 4.1 The basic design 37-40 4.1.1 the MIPS system architecture supports 37-38 <br / > 4.1.2 Godson-2 micro-architecture to achieve 38-40 4.2 system-wide simulation and 40-42 4.2.1 SIMOS 40-41 < br /> 4.2.2 Sim, godson and SIMOS fusion 41-42 4.3 rapid assessment support 42-50 4.3.1 Simpoint implementation and assessment 43-48 4.3.2 SMARTS implementation and assessment 48-50 4.4 simulator validation 50-57 4.4.1 verification process 50 -51 4.4.2 micro-benchmarks 51-54 4.4.3 SPEC CPU2000 54-57 Chapter RTL and FPGA simulation environment is 57-61 5.1 Godson RTL simulation environment 57-58 5.1.1 the RTL and the cross-validation of the ICT-godson 5.1.2 the RTL Cross-validation with the Sim-godson 57-58 5.2 Godson-2 FPGA emulation environment 58-61 5.2.1 FPGA for performance analysis of the feasibility study 58-60 5.2.2 FPGA performance analysis purposes 60-61 Chapter VI performance analysis method 61-67 6.1 Parameter Sensitivity Analysis 61-62 6.2 of PB design 62-63 6.3 interact with the cost analysis 63-65 6.4 various methods of comparison and evaluation of 65-67 Chapter VII of the Godson-2 performance analysis and optimization 67-105 7.1 processor behavior measurement and representation 67-76 7.1 .1 event counting statistics 68-70 7.1.2 water level throughput analysis 70-73 7.1.3 according to the instruction statistics 73-75 7.1.4 data distribution statistics 75-76 7.2 performance bottleneck analysis 76-81 7.2.1 parameter sensitivity analysis 77-80 7.2.2 interact with the cost analysis 80-81 7.3 made and assessment of the optimization program 81-88 7.3.1 the Load speculation 81-83 7.3.2 Godson 28 memory access optimization 83-88 7.4 workload analysis 88-94 7.4.1 related studies 90 7.4.2 instruction locality and critical basic block 90-91 7.4.3 program operating characteristics change over time 91-94 7.5 compiler the impact 94-98 7.5.1 compiler and performance compiler options 94-96 7.5.2 machine optimization 96-97 7.5 .3 link-level optimization 97-98 7.6 operating system, 98-105 7.6.1 operating system on the SPEC CPU2000 98-99 < br /> 7.6.2 the TLB analysis and optimization 99-105 Conclusion to Chapter VIII 105-109 8.1 This work summary 105-106 <br / 8.2 The next step 106-109 References 109-120 Chinese Reference 120-121 thank 121 - 122 of resume 122-123

Related dissertations

  1. Research in the Performance Prediction Model under Different Frequencies
    LiuZuoZuo ·Northeastern University ·2010 ·Master's thesis
  2. The Follow-up Study and Performance Analysis of Rural Credit Union Funds
  3. The Empirical Analysis of the E-banking Performance of Commercial Banks Based on DEA
    LiLing ·Anhui University ·2014 ·Master's thesis
  4. Research of Training Requirement Analysis at CJ Company
    LiXiangLiang ·Northwestern University ·2013 ·Master's thesis
  5. The Case Study on Hongda High-tech Acquiring Baijin
  6. Research on the Shareholding Cooperative System Reform of Rural Collective Assets of Lin’an City
    FanQingQing ·Zhejiang Forestry University ·2013 ·Master's thesis
  7. The Design of Control System for Building Hot Water Supply
    HouGengChao ·Hunan University ·2013 ·Master's thesis
  8. Reaearch on Modeling and Optimization Strategy in Industry Multi-service Real-time Networks
    LuLi ·Zhejiang University ·2013 ·Doctoral dissertation
  9. The design of control system of ARM_Linux based on Distributed
  10. Design and Experimental Research of Greenhouse Environment Computer Control System
  11. Closed-loop Subspace Identification and Optimal Test Signal Design
    LinWenYi ·Zhejiang University ·2014 ·Master's thesis
  12. Configuration Synthesis and Perforance Analysis of a6-dof Master Robot
    JiShuFang ·Hebei University of Technology ·2013 ·Master's thesis
  13. Modeling, Optimation and Control of Reconfigurable Modular Robot
    WuWenQiang ·South China University of Technology ·2013 ·Doctoral dissertation
  14. The Design of Quadruped Robot with Series-parallel Connection Leg
    FangYang ·Yanshan University ·2013 ·Master's thesis
  15. Design and Implementation of the ICS Server
  16. Research on the Method of Building Service Chain Based on Performance Model and Its Automation
  17. Analysis Performance Deterioration and Design of UHF RFID Tag in the Environment
  18. Research on Instruction Dynamic Mapping Algorithm of EDGE Architecture
    GaoJun ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Design and Implementation of32-bit RISC Microprocessor Based on FPGA
    ZhengYongGui ·Hebei University of Technology ·2012 ·Master's thesis
  20. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis