A Study on Cache Coherent of CC-NUMA Multiprocessor System

Author
ZhangYi
Advisor
WangZuo
School
Chongqing University
Major
Computer Software and Theory
Classification
TP333 Memory
Degree
Master's thesis
Year
2008
Downloads
133
Citations
0

Request the full text

Abstract

Cache Coherent-Non Uniform Memory (CC-NUMA) system is one of the popular multiprocessor systems. Cache coherent problem is important to both traditional MIMD system and CC-NUMA system, because it impacts not only system performance but also the scalability. It’s introduced and analyzed that the existent protocol used to solve this problem and their ill effects to system performance and scalability. In view of the shortcomings, we design a Directory-Data Cache of Tow Level Directory architecture which is applied to CC-NUMA system.To detail, we add Directory Cache (Level One Directory) upon Directory Memorizer (Level Two Directory). The fullmap directory is applied to the former, and the limited directory is applied to the latter. It’s named as Tow Level Directory architecture. Meanwhile Data Cache is added upon shared Data Memorizer by word extending of Directory Cache. We name this architecture as Directory-Data Cache of Tow Level Directory architecture. Furthermore, Weight LRU is brought about to conquer the Directory Overflow problem.In the way of system performance and scalability, we analyze and compare Two Level Directory with fullmap directory and limited directory about the space complex. It’s proved the performance of Tow Level Directory is close to limited directory, while only suffered a litter cost about the space complex when comparing to fullmap directory. And the disadvantage of directory overflow is avoided. Lastly, we set up a test the hit rate of Weight LRU and compare it with classic LRU. We draw the conclusion that WLRU guarantees the high shared data is in cache and limited the rate of directory overflow, meanwhile only case a slight cache hit loss.Building study on Two Level Directory architecture, we logical design and simulate this cache structure by VHSIC Hardware Description Language (VHDL). First, we partition the Directory-Data Cache architecture into several modules in the view of function and assign their function. Second, after carefully analyze the relationship of modules, we describe the key technique within design and implement in detail. Third, we design and experiment on the modules. The last, by using experiment on Directory-Data cache of its performance, we drew the conclusion of the function and system performance.The result of simulation and test prove that Directory-Data Cache architecture implied to CC-NUMA system is effective in solving the problem between system performance, system scalability and directory memory overhead. It also guarantees the cache coherence. The result of logic synthesis shows that the hardware complex and the hardware cost of Directory-Data Cache architecture is very low. So this design fulfills the requirement of CC-NUMA system.

Table of contents

Abstract 4-5 ABSTRACT 5-9 1 Introduction 9-13 1.1 research sources and significance of the study 9-10 1.1.1 Study Source 9 1.1.2 Significance of the Research 9-10 1.2 research status 10-11 1.2.1 MIMD system development status 10-11 1.2.2 Typical CC-NUMA systems 11 1.3 The purpose of this study and research 11-13 1.3.1 The purpose of this study 11 1.3.2 The main content of this paper 11-12 1.3.3 papers organization and structure 12-13 2 typical MIMD architecture and Cache Coherence Protocol 13-25 2.1 Introduction 13 2.2 MIMD structure and classification 13-14 2.2.1 multiple computers multiple non- shared memory address space structure 13-14 2.2.2 multi-processor shared memory address space of a single structure 14 2.3 CC-NUMA characteristics of the structure 14-16 2.3.1 CC-NUMA Profile 14-15 2.3.2 CC-NUMA and NCC-NUMA, COMA, SC-NUMA difference between 15-16 2.4 Cache Coherence Protocol Profile 16-19 2.4.1 Cache Coherence origin 16-17 2.4.2 write-back , write-through strategy and tactics 17-18 2.4.3 Writing invalid protocol with write-update protocol 18 2.4.4 snooping and directory protocols 18-19 2.5 common directory coherence protocol scalability studies 19-24 2.5.1 consistency protocol scalability impact 19-21 2.5.2 full map (full map) directory 21-22 2.5.3 finite (limited) directory 22-23 2.5.4 chained (chained) directory 23-24 2.6 Chapter Summary 24-25 3 Cache directory-based directory structure and sharing of two weighted LRU algorithm 25-38 3.1 two ideas generated directory structure and the basic structure 25-27 3.1.1 two directory structures thinking of 25-26 3.1.2 The basic structure of two directory structures 26-27 3.2 two directory structures storage overhead analysis 27-29 3.3 based on two directories - Data Cache structure 29-33 3.3.1 directory - Cache data structures are proposed and the basic idea 29-31 four-way set-associative 3.3.2 directory - Data Cache structure 31-33 3.4 Cache shared the LRU replacement strategy weighted 33-37 3.4.1 The basic idea of ??shared weighted LRU 33-34 3.4.2 Weighted LRU shared hardware implementation 34-35 3.4.3 share weighted LRU performance analysis and the impact on scalability 35-36 3.4.4 weighted share the LRU Cache hit rate test 36-37 3.5 Summary 37-38 4 directory structure based on two CC-NUMA node consistency between operating 38-45 4.1 access remote data coherency operations caused 38 4.2 for consistency between nodes communicate special command 38-40 4.2.1 remote node requests the host node command word 39 4.2.2 host node in response to the remote node command word 39 4.2.3 host node node to the remote share request command word 39-40 4.2.4 remote shared node in response to the host node command word 40 4.3 host and remote node memory cache line state transition relations 40-43 4.3.1 host node directory entry memory state transition relations 40-41 4.3.2 host node directory entry memory state transition relations 41-43 4.4 Cache coherency operations specific operation example 43-44 4.4.1 of pollution remote cache line read 43-44 4.4.2 remote cache line writes 44 4.5 Chapter Summary 44-45 5 Catalog - Data Cache of the VHDL hardware implementation 45-52 5.1 directory - Data Cache design ideas 45-46 5.2 directory - Data Cache module design 46-47 5.3 directory - Data Cache functional simulation test 47-50 5.4 directory - Data Cache of the FPGA logic synthesis 50-51 5.5 Chapter Summary 51-52 6 Conclusion 52-54 6.1 This work review 52 6.2 Prospects for future research work 52-54 Thanks 54-55 References 55-57 Appendix 57-59

Related dissertations

  1. Architectural Level Leakage Power Optimization for Cache Memory in Microprocessors
  2. Research on Analysis and Optimization of Data Access for Memory Hierarchy
  3. Design and Implementation of High Speed Data Recorder Based on FPGA
  4. The Design and Implementation of a Delivery and Scheduling System for Video Files
  5. Research on the Technologies of Internet Traffic Localiztion
    YuJiang ·Jilin University ·2013 ·Master's thesis
  6. Research and Implementation of Scalable Server Cluster
    ZhangZuo ·South China University of Technology ·2013 ·Master's thesis
  7. Research on Compact Routing Technique in Named Data Networking
    LiuFeng ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Collaborative Filtering and Its Application in Recommender Systems
    LengYaJun ·Hefei University of Technology ·2013 ·Doctoral dissertation
  9. The Research and Realization of Scalable Co-Clustering Algorrithm Based on Mapreduce
    MaQiao ·Jiangxi Normal University ·2013 ·Master's thesis
  10. Research on Collaborative Filtering Recommender Algorithm Based on Clustering and Preference of Item Categories
    HuangYang ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  11. An Efficient Hardware Architecture Design of Texture Mapping Unit
    ZhaoGuoYu ·Tianjin University ·2012 ·Master's thesis
  12. Research on Key Technologies for the Client of Distributed File System
  13. The Design and Implementation of Realty Manage System for Beijing Aerospace Wanyuan Co.Ltd
    DengHao ·Shandong University ·2013 ·Master's thesis
  14. The Design and Implementation of Shandong Unicom Project Intent Management System
    HuQingLian ·Shandong University ·2013 ·Master's thesis
  15. Design and Implementation of Online Examination System of Shanghai Television Video University
    LiZuo ·Dalian University of Technology ·2013 ·Master's thesis
  16. Research on Distributed Lock Technology
    ChenWenWu ·South China University of Technology ·2013 ·Master's thesis
  17. Design and Implementation of Enterprise Knowledge Base Management System
    LinLeFeng ·Dalian University of Technology ·2013 ·Master's thesis
  18. Design and Research on a High-performance Deduplication System
    LuYongZuo ·Hunan University ·2013 ·Master's thesis
  19. Research on Digital Rights Management Based on Risk
    CuiNingNing ·Beijing Jiaotong University ·2014 ·Master's thesis
  20. A Study on Resource Indexing for Distributed Storage
    WuZhiXing ·Zhejiang University ·2013 ·Master's thesis