Analysis and Implementation of Cache Coherence Protocols for CMP
- Author
- ChenShiKun
- Advisor
- FangLiang
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 662
- Citations
- 5
Abstract
Advances in IC processing allow for more microprocessor design options. The increasing gate density and cost of wires in advanced integrated circuit technologies require that we look for new ways to use their capabilities effectively. So comes CMP.In a chip multiprocessor system, multiple CPUs may simultaneously read and write the same memory locations. A memory model for a shared-memory system is an architectural specification of how memory operations of a program will appear to execute to the programmer. The memory model affects the ease of programming and the performance of the system as well. In a chip multiprocessor system, each CPU core has its own cache. Cache coherence is a prerequisite for achieving correct memory behavior in systems that allow the caching of shared data. It is an important part of the overall scheme for supporting a memory model. To enable higher performance, current cache coherence protocols allow transactions to be split and allow multiple outstanding requests. This complicates the implementation of coherence protocol by introducing transient states, so as the specification of the protocol.In this project, we address the constraints to the implementation of cache coherence imposed by a memory model. A scheme which satisfies a sequentially consistency memory model is given for snooping protocols. The implementations of MSI and MESI are introduced and a "non-full division" to partition the read miss in the case that message is not served by all CPUs simultaneously is proposed and proved to be feasible. A cache simulator written in c langue is prepared, and some DSP programs were executed to estimate the implementation of the protocol. Based on the analysis of the statistics obtained through the runs of the programs, some directions or instructions which may optimize the design of CMP system are given.
Table of contents
List of Figures 6-7
table directory 7-8
summary 8-9
ABSTRACT 9-10
The first chapter the the 10-14 the
§ 1.1 subject background and significance 10
§ 1.2 Research 10-12
1.2.1 high performance processor development Overview 10-11
Configuring memory consistency model 11-12
1.2.3 cache coherence protocol research 12
§ 1.3 topic work and research contents are found; the 12-13
§ 1.4 This paper is structured 13-14
Chapter II memory consistency model 14 -26
§ 2.1 memory consistency model the cache coherency the 14-16
§ 2.2 hardware memory consistency model 16-20
2.2.1 sequential consistency model 16-18
2.2.2 processor consistency model 18-19
2.2.3 Weak consistency model 19 - 20
2.2.4 release consistency model 20
§ 2.3 programmer-centric memory consistency model 20-25
2.3.1 DRFO 21-22
2.3.2 A memory consistency framework 22-23
2.3.3 LC consistency model 23-25 ??
§ 2.4 compute-centric consistency model 25
§ 2.5 Chapter Summary 25-26
Chapter cache coherence protocol analysis 26-53 the
§ 3.1 cache consistency 26
3.1.1 Coherence nbsp cache; the
§ 3.2 cache coherence protocol 26-31
3.2.1 cache protocol overview the 3.2.2 directory-based cache coherence protocol 26-27
27-28
3.2.3 based on listener The cache coherence protocol 28-31
§ 3.3 cache coherence protocol design and implementation of storage conformance requirements 31-34
3.3.1 writes Atomic requirements 31
3.3.2 value propagation requirements the 31-34
§ 3.4 bus listening coherence protocol Realization 34-39
3.4.1 correctness requirements 34-35
3.4.2 basic cache coherency design the 35-39 an optimization
§ 3.5 snooping protocol implementations 39-52
3.5.1 system model 40-41
3.5.2 MSI protocol implementation the 41-44
3.5.3 MESI protocol implementation 44-52
§ 3.6 Chapter Summary 52-53
Chapter the cache coherency simulator and simulation results are analyzed 53-68
§ the 4.1 simulator achieve Important 53-57
4.1.1 architecture simulator Overview 53-54
4.1.2 of this article cache simulator analysis 54-57
§ 4.2 simulation results analysis to § 4.3 Chapter Summary 57-67
67-68
Chapter Summary 68-70 < br /> Acknowledgements the 70-71 papers published during the study for master
to References 71-72
72-74
Related dissertations
- Study of Some Key Problems of High Performance Computer
- Desing and Implementation of Alarm Subsystem of Mobile Network Management System
- Key Techniques Research of Memory in Homogeneous General Purpose Stream Processor
- Optimizations of Memory Subsystem for Chip Multiprocessor Systems
- A Power Model Combined of Architectural Level and Gate Level for Multicore Processors
- Co-simulation Based Fault Injection Technologies Analysis and Design
- Research on Calibration and Traceability of Key Indicators for Satellite Navigation Simulator
- The Design and Implementation of a High Definition VOD Simulation System
- Design and Realization of the Hardware Simulator in Optical Transmission Equipment Based on the TL1Protocol
- Research on Simulator Based on Voltage Source Inverter for Permanent Magnet Direct Drive Wind Generator System
- Digital PV Array Simulator Research and Development Based on S3C2440
- Controller Program Design and Implementation of Motive Target Simulation
- The Researching and Implementation for Simulating Models of Cooperative Vehicles Kinematic Behaviour Based on Discrete Time
- Key Techniques Research of Virtual Reality System about the Surrounding Forklift Operation Training
- Design and Implementation of OGRE-based Crane Training Simulator
- The Research and Design of Control System Simulator for Hot Blast Stove
- System Design and Simulation about the Accelerating Cooling Process Control of the Medium Heavy Plate
- Research on Embedded Systems Simulation Platform Based on SPARC
- Design and implementation of MTK mobile phone platform middleware
- The Design and Fulfillment of General Performance Test Simulator in Banking Business System in China Construction Bank