Study on L2 Cache Replacement Arithmetic for CMP Architecture
- Author
- JiangHaiTao
- Advisor
- WangZuo
- School
- Chongqing University
- Major
- Computer Software and Theory
- Classification
- TP301.6 Algorithm Theory
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 193
- Citations
- 2
Abstract
The past 40 years, there is a huge gap between the processor and the memory access speed the memory wall problem becomes more serious, the most important one of the bottlenecks for affect system performance. Modern computer architecture is widely used in the Cache to alleviate the speed gap between the two. In a typical CMP (Chip Multi-Processor) architecture, a plurality of processor cores sharing Secondary Cache to improve the utilization of L2 Cache and to avoid the replication of storage hardware resources. But A processor cores branch error loaded the missing write to the shared L2 Cache useless data lead to an error on the path, resulting in two Cache pollution, reducing check the occupancy rate of the secondary cache space, an increase of two Cache miss rate, causing the thread allocation of storage resources is not balanced, and even lead to thread starvation. Cache replacement algorithm is the key to ensure efficiency. How the smallest possible overhead to improve Cache hit rate, cause the processor to obtain the highest possible performance, Cache study is an important topic. This thesis is a detailed study of the common CMP Cache allocation of resources and their shared Cache replacement policy. Through a detailed analysis of the pseudo-LRU algorithm, improved the pseudo LRU algorithm, proposed FPLRU algorithm, detailed design and implementation of a branch buffer (BIB), the BIB to record the information of the predicted path, so as soon as possible the error path data swapped out from the secondary Cache, increasing the possibility of the use of data locality. Benchmark experimental results show that FPLRU algorithm is compared with the pseudo-LRU algorithm Cache failure rate more significantly reduced. CMP structure shared L2 Cache Cache failure to increase system performance degradation due to resource competition, when multiple threads running. In order to study the changes of L2 Cache thread, a failure prediction the L2 Cache failure Shared-Cache simulation technology, mainly by cyclic sequence and stack processing technology analysis and forecasting L2 Cache mandatory Cache Cache capacity of the shared data failure and Cache capacity failure of private data. The use of experimental verification of the validity of the model, the results show that the model can accurately predict the failure of L2 Cache. In addition, the paper has done a lot of analysis and research on the SimpleScalar simulator and CMP-SIM simulator Cache simulation and implementation mechanism, CMP-SIM simulator and benchmark experiments. Finally, the algorithm with the detailed assessment.
Table of contents
Chinese Abstract 4-5
Abstract 5-9
1 Introduction 9-19
1.1 of the problem and research significance 9-13
1.1.1 of the problem 9-11
1.1.2 Significance of the Research 11-13
1.2 research status 13-17
1.2.1 CMP architecture development status 13-16
1.2.2 Cache technology development status 16-17
1.3 The purpose of this study and research 17-19
1.3.1 The purpose of this study 17
1.3.2 The main content of this paper 17-19
2 multi-core processors Cache research 19-29
2.1 Cache hierarchy 19
2.2 Cache replacement policy importance 19-20
2.3 Cache to improve performance of the method 20-23
2.3.1 fewer mistakes consideration 21
2.3.2 reduce hit time 21-22
2.3.3 reduce the miss rate 22-23
2.4 Cache Replacement Policy 23-26
2.4.1 Cache single-core processor scheduling algorithm 23-24
2.4.2 Multi-Core Cache scheduling algorithm and management strategies 24-26
2.5 Cache Fair scheduling algorithm 26-28
2.6 Chapter Summary 28-29
3 FPLRU replacement algorithm and its simulation results 29-43
3.1 compares the PLRU 29-31
3.2 branch information buffer BIB 31-32
3.3 FPLRU replacement algorithm structure 32-33
3.3.1 processor cores 32
3.3.2 two Cache 32-33
3.3.3 branch prediction information buffer BIB 33
3.3.4 FPLRU unit 33
3.4 FPLRU replacement process 33-35
3.5 test tools and test procedures 35-40
3.5.1 SimpleScalar and CMP-SIM Simulator 35
3.5.2 CMP-SIM structure 35-36
3.5.3 CMP-SIM in Cache management strategies 36-38
3.5.4 benchmark 38-40
3.6 FPLRU algorithm simulation and results 40-42
3.6.1 L2 Cache hit rate on the impact 40-41
3.6.2 Cache performance analysis 41-42
3.7 Chapter Summary 42-43
4 Shared-Cache shared L2 Cache behavior analysis 43-54
4.1 stack processing technology 43-44
4.2 cycle sequencing technique 44-45
4.3 analysis strategy 45-49
4.3.1 Calculation forced failure 46-47
4.3.2 Calculation of private data capacity failure 47-49
4.3.3 Calculation shared data capacity failure 49
4.4 Shared-Cache experimental 49-53
4.4.1 dgemm results 50-51
4.4.2 Block dgemm results 51-52
4.4.3 sparse matrix-vector multiplication results 52-53
4.5 Chapter Summary 53-54
5 Conclusion 54-56
5.1 main job 54-55
5.2 Follow-up studies 55-56
Thanks 56-57
References 57-61
Appendix 61-63
Related dissertations
- Research on Shared L2Cache Management Mechanism Based on CMP
- Service Based Proactive Storage at Caching-Enable Base Stations
- Novel Polishing Pad Application in CMP Process
- Optical Surface Error Evaluation Method Based on Fractal Theory
- The Research on Rare Earth Polishing Powder's Polishing Efficiency and Polishing Mechanism
- Study on the Chemical Modification of Liaoning Poplar's CMP
- Research on Cache Mechanism for P2P Based Spatial Vector Data Indexing Network
- A Cache Replacement Algorithm Based on Byte Hit Ratio
- Design and implementation of distributed cloud storage gateway
- Study and Design of Video-on-Demand System with Advertising Spots and P2P Technology
- Research of Caching and Scheduling Mechanism in Streaming Media System Based on Bittorrent
- Research of Mapping Methods for3D-Mesh-oriented CMP Networks on Chip
- Key Fabrication Technology and Process for200mm BESOI
- BEM Based Coupling Capacitance Extraction Method For Rectangle CMP Dummy Fills
- Research on the Key Technology of Multi-core Chip Design Based on High Density Computing
- Analysis and Optimization of Lithography Effects Caused by Dummy Fill
- Investigation on Molybdenum Based Film as Copper Diffusion Barrier and Its Chemical Mechanical Polishing
- Chemical Mechanical Polishing and Cleaning Technique of Silicon Microchannel Array
- Investigation on Chemical Mechanical Planarization for the Functional Photoelectric Materials ZnO Thin Film
- The Mechanism Research of Ultrasound Fine Atomization Chemical Mechanical Polishing