Research on Key Technologies of CC-NUMA Based Memory Architecture
- Author
- PanGuoTeng
- Advisor
- XieLunGuo
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP302.1 Overall design,system design
- Degree
- Doctoral dissertation
- Year
- 2007
- Downloads
- 166
- Citations
- 2
- CC-NUMA
- memory access latency
- Cache Coherence Protocol
- directory organization
- memory overhead
- Scalability
- memory scheduling algorithm
- simulation and verification
Abstract
Distributed Shared Memory(DSM) system provides a global shared address space, which trades off shared memory multi-processor and distribute memory system.With the advantages of programmability and scalability,DSM has become the preferred hardware platform for massive parallel high performance computer systems. CC-NUMA is an effective mechanism to improve the performance of DSM systems. The maintenance of cache coherence,which not only determines system correctness, but also greatly impacts system performance,has been the primary difficulty to implement CC-NUMA systems.Currently researches focus on the scalable and high performance implementation of directory-based cache coherence system.Processors in CC-NUMA systems communicate with each other through shared memory,so latency of remote memory access,especially with great number of processors,will dramatically impact the system performance.The key of effective implementation of CC-NUMA systems lies on improving the memory bandwidth, shortening memory access latency and reducing the gap between local and remote memory access latency.This dissertation is devoted to the implementation of effective CC-NUMA systems memory architecture.It researches the scalability of directory-based cache coherence, the optimization of directory protocols,the simulation and verification platform for CC-NUMA systems,and the technology of improving memory bandwidth and reducing access latency.The main work and contributions of the dissertation are as follows:1.A new scalable CC-NUMA architecture based on SMP nodes,called SCDSM,is proposed.A lock-free,high performance directory-based cache coherence protocol is implemented based on SCDSM.A FWB strategy is proposed to address the inconsistent problem between cache state and directory state when read request hits dirty cache block on the bus of SMP node.The strategy solves the difficult problem of compatibility of directory protocols and snooping protocols.A LMRDF strategy is proposed to decrease request sending delay caused by waiting the hit result on bus in CC-NUMA system based on SMP node.This technique improves the performance of SCDSM system by 10%-15%.2.A Markov Chains model is built for the distribution of shared data in CC-NUMA systems.We analyze the distributing pattern of shared data based on this model.It is proved that,the average number of cache copies of shared data is small in CC-NUMA systems.This theoretical analysis of distributing pattern for shared data in CC-NUMA systems can be helpful in proposing more effective directory organization methods.3.A two-level directory organization scheme based on directory cache is proposed to address the problem of directory memory overhead prohibiting the scalability of cache coherence protocol.This scheme can reduce the memory overhead of directory information and improve the scalability of the protocol.Simulation and analysis showed that the execution times of a number of parallel benchmarks were shortened to various degrees.4.Memory wall is the bottleneck of system performance.To reduce memory access latency is the challenge we have to face.Four memory scheduling algorithms with different constraint degrees are presented,the simulation and analysis showed that the greedy memory scheduling algorithm with conflict elimination of bank address and starvation avoidance strategy is effective.The DDR2 based memory controller is implemented on hardware.5.A distributed multi-node simulation and verify platform named CoSim is proposed to effectively verify the correctness of complex or large systems.To assist simulation tests and verification of cache coherence protocol,the CMCV model is proposed.A QSCV model similar to stream copy with Verilog hardware description language is built to evaluate the LMRF technical and the memory bandwidth of SCDSM system.In summary,the dissertation provides a feasible solution for a number of challenging problems of CC-NUMA systems,and these solutions have been implemented in engneering.It is believed that the research will make a nice groundwork for the further research and engineering on CC-NUMA based memory architecture.
Table of contents
Abbreviations Description 13-15
Summary 15-17
ABSTRACT 17-19
first chapter 19-31
1.1 Introduction 19-20
1.2 CC-NUMA System Overview 20-23
1.3 reduces memory access latency technology 23-24
1.3.1 prefetch 23-24
1.3.2 Multithreaded 24
1.3.3 Remote Cache and Web Cache 24
1.3.4 COMA 24
1.4 Cache coherence protocols 24-27
1.4.1 Cache protocol design issues to be considered 25
1.4.2 write strategy 25-26
1.4.3 write failures and write-update 26
1.4.4 snooping and directory protocols 26-27
1.5 content of this study 27-29
1.6 paper structure 29-31
Chapter Directory-based Cache Coherence Protocol 31-51
2.1 directory protocol design issues 31-34
2.1.1 protocol correctness 31
2.1.2 protocol performance 31-32
2.1.3 protocol complexity 32
2.1.4 data block size 32
2.1.5 Cache Controller Design 32-33
2.1.6 directory structure 33-34
2.2 directory protocol implemented several representatives systems 34-40
2.2.1 DASH 35
2.2.2 Alewife 35-36
2.2.3 FLASH 36-37
2.2.4 NUMAchine 37-38
2.2.5 Intergrity Superdome 38
2.2.6 Novascale 5160 38-39
2.2.7 Altix4000 39
2.2.8 system implementation Summary 39-40
2.3 directory protocol research status and progress 40-49
2.3.1 DASH protocol implemented 40-42
2.3.2 Origin 2000 protocol implemented 42-45
2.3.3 AlphaServer GS320 protocol implemented 45-46
2.3.4 Token Coherence 46-48
2.3.5 directory protocol analysis 48-49
2.4 Summary 49-51
Chapter SCDSM system model 51-73
3.1 SCDSM System Architecture Overview 51-52
3.2 processor behavior 52-54
3.3 protocol ideological 54-60
3.3.1 directory status 54-55
3.3.2 processor requests types and descriptions 55
3.3.3 protocol message classification and description 55-57
3.3.4 The basic protocol processing 57-60
3.4 processor behavior for special treatment 60-64
3.4.1 SMP nodes Cache Coherence Protocol on SCDSM system effects 61-63
3.4.2 Cache block state solution with the directory inconsistent state problem-FWB 63-64
3.5 protocol handling conflict 64-68
3.5.1 processor interface logic conflict handling 65-66
3.5.2 COHE request conflicts with the write-back request processing 66-68
3.6 LMRDF technology 68-70
3.7 Chapter Summary 70-73
The fourth chapter is based on two directories scalable directory protocol research 73-103
4.1 directory protocol scalability studies 73-80
4.1.1 Cache coherence protocols affect the scalability factor 73-74
4.1.2 directory structure scalability 74-80
4.2 shared data distribution pattern theoretical analysis 80-87
4.3 Cache of two directory directory-based organization programs 87-94
4.3.1 two directory structure of the program 88-89
4.3.2 two directories basic design idea and operation 89-90
4.3.3 Scalability analysis 90-92
4.3.4 Directory Cache design 92-94
4.4 architecture simulator and testing procedures 94-97
4.4.1 RSIM simulator 94-96
4.4.2 Parallel testing procedures 96-97
4.5 performance evaluation 97-101
4.5.1 simulation parameters 97-98
4.5.2 Simulation results and analysis 98-101
4.5.3 Simulation Summary 101
4.6 Chapter Summary 101-103
Chapter performance DDR2 memory controller design and implementation 103-125
5.1 Introduction 103
5.2 DDR2 Profile 103-105
5.3 fetch scheduling problem 105-109
5.3.1 DRAM dimensional structure 105
5.3.2 DDR2 SDRAM memory access request timing requirements 105-108
5.3.3 fetch scheduling problem description 108-109
5.4 fetch greedy heuristic scheduling algorithms 109-120
5.4.1 unrestricted fetch greedy heuristic scheduling algorithms 109-110
5.4.2 fetch address conflicts consider scheduling algorithm 110-112
5.4.3 Conflict Resolution with the physical address memory access scheduling algorithm 112-114
5.4.4 with the physical address conflict resolution and anti-starvation mechanisms fetch scheduling algorithm 114-118
5.4.5 fetch scheduling algorithm performance evaluation 118-120
5.5 DDR2 memory controller hardware implementation 120-124
5.5.1 module division 120-121
5.5.2 memory access control module structure and function 121-122
5.5.3 fetch request scheduling module design 122-124
5.6 Chapter Summary 124-125
Chapter distributed verification environment 125-141
6.1 Introduction 125
6.2 Distributed simulation and verification platform architecture 125-130
6.2.1 CoSim analog console 126-127
6.2.2 CoSim Agent 127
6.2.3 CoSim platform design and implementation 127-128
6.2.4 SCDSM CoSim simulator 128-130
6.3 CPU model 130-135
6.3.1 CMCV functional structure 130-132
6.3.2 CMCV principles and processes 132-135
6.4 functional simulation 135-136
6.5 Experimental and analytical 136-139
6.5.1 QSCV test procedures 136-137
6.5.2 LMRDF performance test 137-138
6.5.3 fetch bandwidth test 138-139
6.6 Summary 139-141
Chapter VII Conclusion 141-145
7.1 The main work and innovation 141-142
7.2 Next Job Outlook 142-145
Thanks 145-151
References 151-163
during the study period of academic achievements and participation in research work 163-164
Related dissertations
- Research and Implementation of the Cache Coherence Protocol for the Large Scale System of the SMP-based CC-NUMA Category
- The Research on IP Address Lookup and Packet Classification Algorithm
- Research and Implementation of Scalable Server Cluster
- Research on Compact Routing Technique in Named Data Networking
- Collaborative Filtering and Its Application in Recommender Systems
- The Research and Realization of Scalable Co-Clustering Algorrithm Based on Mapreduce
- Research on Collaborative Filtering Recommender Algorithm Based on Clustering and Preference of Item Categories
- The Design and Implementation of Realty Manage System for Beijing Aerospace Wanyuan Co.Ltd
- The Design and Implementation of Shandong Unicom Project Intent Management System
- Research on Distributed Lock Technology
- Design and Implementation of Enterprise Knowledge Base Management System
- Design and Research on a High-performance Deduplication System
- A Study on Resource Indexing for Distributed Storage
- Research of Availability and Consistency of Distribute Storage System
- Research and Implementation of a Large Scale Time-series Data Storage System
- Research on Dynamic Address Allocation Mechanism for Mobile Ad Hoc Networks
- Study on High-performance Small-molecule Organic Photovoltaic Cells
- Research on Automatic Parameter Identification and Verification of Steam Turbine and Its Governing System
- Explore and Research on Strategies of Winter Windproof in Traditional Villages and Dwellings of Western Hunan
- Design of FC-AE-1553Simulation and Verification System