Research and Implementation of the Cache Coherence Protocol for the Large Scale System of the SMP-based CC-NUMA Category

Author
PangZhengBin
Advisor
ZhouXingMing
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
239
Citations
1

Request the full text

Abstract

With the increasing requirements of high performance computing,the framework and implementation of high performance computer is becoming more challenge. Programmability,usability and system performance have become the object when designing a high performance computer system.The distributed shared memory multi-processor system becomes the main platform of high performance computing, which features easy programming and good scalability.As the popular scalable system approach,the CC-NUMA(Cache Coherent Non-Uniform Memory Access) is becoming the important architecture for high producity in high performance computing.There are many factors affecting CC-NUMA system performance,of which cache coherence protocol becomes the key for system scalability.Most existing CC-NUMA computers are small and with limited scale,due to the complex implementation of cache coherence.Usually,CC-NUMA clusters are used as high performance computers,which bring bad programmability.So,it is very important and necessary to design and develop a cache coherence protocol with good scalability and efficiency for the large scale CC-NUMA system.This paper researches the high efficiency implementation of the cache coherence protocol based on the Scalable Cache Coherence Multi-Processors(SCCMP),the large scale SMP-based CC-NUMA system.The main study includes designing the high efficiency scalable cache coherence protocol according to the architecture features, designing and implementing the scalable directory scheme,efficiently implementing the directory access,effectively supportting cache coherent message passing communications,and validating the protocol.Primary innovative work in this paper can be summarized as following:(ⅰ) We designed and implemented efficient HYbrid Scalable Cache Coherence (HYSCC) protocol,after analyzed the hierarchy and the structure features of the SCCMP system.HYSCC protocol efficiently fulfils needs of different hierarchy in SCCMP system and eases the designment and implementation of itself by taking the advantage of snooping bus protocol and directory character.HYSCC protocol ensures the system scalability based on our scalable directories.High efficiency is yielded by multiple virtual channels,concurrent unblocking process and compact massage type,HYSCC protocol supports special messages and process for the case that the dirty data become shared due to the sharement among processors in a SMP node,which reduces the dirty data written back complexity and simplifies the protocol designment in a SMP node.(ⅱ) We discussed the impacts of the distributed shared I/O accesses to the cache coherence,and provided special messages and cache coherence dealing procedures to support the cache coherent access with I/O attributes.Moreover,we proposed an effective method to concurrently process I/O accesses,and implemented a coherence maintenance mechanism for I/O attribute data in SCCMP system.(ⅲ) We did our research on the feasible and scalable directory scheme,and we proposed the Dir<sub>5</sub>NB+CCV directory scheme for the SCCMP system.The Dir<sub>5</sub>NB+CCV scheme is a combination of the modified limited pointer directory(Dir<sub>5</sub>NB) scheme and the combined coarse vector(CCV) directory scheme,which keeps both pointer representation and full-map vector representation advantages.By hybrid presentation effectively decreasing directory memory overheads,utilizing the advantage of Dir<sub>5</sub>NB scheme and CCV scheme,the Dir<sub>5</sub>NB+CCV scheme cuts down shared informantion inaccuracy,reduces excrescent invalidations and suits an efficient hardware implementation.(ⅳ) We proposed a dual storage module structure and dual directory cache(DC) structure to relieve the access collision and to improve directory performance.There is no special directory storage in SCCMP system,but the dual storage module structure has data and corresponding directory item accessed concurrently.To relievate memory access bottleneck,the dual directory cache structure is designed and implemented,which corresponding with the dual storage module structure and introducing cache hierarchy. This way can optimize directory access by utilizing program locality and relieve memory access pressure.Experiments show that with dual storage module and directory cache structure,the system performance is improved greatly.(ⅴ) We researched the effective way to integrate message passing communication paradigm into shared memory in SCCMP system.We proposed a hierarchical coherent communication model,provided communication interface in SCCMP node controller, effectively implemented a deadlock-free communication protocol and a coherent block data transfer mechanism to support the multi-domain MPI communication.(ⅵ) We designed the SCCMP node controller and implemented FPGA prototype for validation.The HYSCC protocol was validated on a 4-node FPGA prototype,and an ASIC chip of SCCMP node controller was fabricated.Experiments were done on a 64-node ASIC system.All tested applications,including NAS NPB benchmark,got correct results on the system.Memory-intensive applications,such as EP,SP,FT,MG, got good scalability.Communication tests showed that the maximum communication bandwidth was more than 1.3GB/s and the maximum communication bandwidth yielded by applications can be over 1.1GB/s.(ⅶ) Our research results are applicable to the large scale system of the SMP-based CC-NUMA category,and also have been successfully used in some important project.

Table of contents

Illustration Index 8-10 table index 10-11 Summary 11-13 ABSTRACT 13-15 The first chapter 15-39 § 1.1 Introduction 15-20 § 1.2 CC-NUMA and Cache Coherence Protocol 20-27 1.2.1 CC-UMA - scalable shared-memory multiprocessor architecture 20-23 1.2.2 Cache Coherence Protocol 23-27 § 1.3 Current CC-NUMA system implementation 27-30 § 1.4 SCCMP - a large-scale SMP-based CC-NUMA systems 30-34 1.4.1 SCCMP Profile 30-32 1.4.2 SCCMP System Features 32-33 1.4.3 SCCMP System Cache Coherence implementation requirements 33-34 § 1.5 Content and innovative research work 34-37 1.5.1 research 34-35 1.5.2 main job 35-37 § 1.6 paper structure 37-39 Chapter Cache Coherence implementation techniques and analysis 39-51 § 2.1 Cache coherence protocol performance impact factor 39-40 § 2.2 Cache coherence protocol design disciplines 40-45 2.2.1 Research directory structure to achieve scalability 40-42 2.2.2 Efficient implementation of research protocols 42-44 2.2.3 Cache coherency protocol verification 44-45 § 2.3 SMP-based system to achieve 45-48 § 2.4 integrated messaging communication 48-49 § 2.5 Chapter Summary 49-51 Chapter HYSCC-SCCMP System Cache Coherence Protocols 51-81 § 3.1 Processor Cache coherence protocols 51-52 § 3.2 protocol optimization techniques 52-57 3.2.1 Access time analysis 52-54 3.2.2 Forwarding and non-blocking treatment 54-55 3.2.3 HYSCC protocol deadlock avoidance 55-57 § 3.3 HYSCC protocol design 57-64 3.3.1 directory state is defined 58-60 3.3.2 Basic packet command and directory manipulation table 60 3.3.3 basic protocol processing 60-64 § 3.4 of the bus snooping features supported 64-70 3.4.1 bus snooping protocol of 64-65 3.4.2 HYSCC protocol implementation strategy 65-66 3.4.3 HYSCC protocol 66-70 § 3.5 to I / O attribute access support 70-78 3.5.1 I / O access Cache Coherence Protocol on the impact 71-72 3.5.2 I / O access protocol design 72-76 3.5.3 I / O access to achieve data consistency maintenance 76-78 § 3.6 Summary 78-81 Chapter SCCMP System directory storage and access optimization 81-109 § 4.1 scalable system implementation requirements 81-82 § 4.2 data sharing characteristics of parallel applications general analysis 82-88 § 4.3 directory information storage optimization 88-101 4.3.1 Basic directory represents 88-92 4.3.2 Dir_5NB CCV directory structure 92-101 § 4.4 directory access optimization 101-104 4.4.1 locality principle 101 4.4.2 catamaran parallel access memory and dual Cache directory structure to achieve 101-103 4.4.3 Directory Cache impact on performance 103-104 § 4.5 Testing and Analysis of Results 104-106 § 4.6 SCCMP system directory performance analysis 106 § 4.7 Chapter Summary 106-109 Chapter Cache Coherence messaging communication to achieve 109-127 § 5.1 SCCMP system efficiently supports MPI and OpenMP hybrid programming application mode 109-112 § 5.2 SCCMP system message communication model 112-117 5.2.1 Descriptor-based messaging 113-115 5.2.2 hardware communication structure 115-117 5.2.3 Cache Consistency Maintenance Engine 117 § 5.3 Consistency block data transfer 117-122 5.3.1 Consistency block data transfer to achieve 118-120 5.3.2 Block Transfer Protocol deadlock avoidance 120-122 § 5.4 Testing and Analysis of Results 122-126 5.4.1 application tests 122 5.4.2 Analysis of experimental results 122-126 § 5.5 Chapter Summary 126-127 Chapter VI prototype system implementation and performance evaluation 127-141 § 6.1 application test set 127-128 § 6.2 SCCMP system node controller structure 128-129 § 6.3 FPGA Implementation of Prototype System 129-134 6.3.1 FPGA prototype system 129-133 6.3.2 FPGA prototype system test 133-134 § 6.4 ASIC prototype system implementation 134-140 6.4.1 ASIC prototype system 134-135 6.4.2 ASIC prototype system test 135-136 6.4.3 ASIC system test result analysis 136-140 § 6.5 Chapter Summary 140-141 Chapter VII Conclusion 141-145 § 7.1 Work Summary 141-142 § 7.2 Research Prospects 142-145 Thanks 145-147 PhD papers published during 147-148 PhD research projects and participation during the awards 148 national patent term 148-149 References 149-159 abbreviations 159-160

Related dissertations

  1. Research on Key Technologies of CC-NUMA Based Memory Architecture
  2. SMP cluster - based virtual shared storage system
    LiuHaiMing ·Institute of Computing Technology ·2001 ·Master's thesis
  3. The Design and Research of a Smart Mold Based on Shape Memory Polymers
    ZhangLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  4. Research on Technologies for MPI Parallel Code Generation and Communication Optimization
  5. Design and Implementation of Unified Payment Platform the Store on the Net
    MouZuoZuo ·Jilin University ·2012 ·Master's thesis
  6. Research of thread scheduling strategy of multi processor system
  7. The Construction and Low-complexity Decoding Algorithms of Low-density Parity-check Codes
  8. A Research on Indian Policemen of Shanghai International Settlement(1883-1930)
    YangZuoZuo ·East China Normal University ·2013 ·Master's thesis
  9. Design and implementation of frame relay protection monitoring platform software system based on aCoral
  10. The Characteristics and Effects of a Reducing Sludge Composited Uncoupler on Treatment Efficiency
    FengZuoChi ·Harbin Institute of Technology ·2013 ·Master's thesis
  11. Research on Treatment of Simulated Domestic Wastewater in a Submerged Membrane Bioreactor
    ZhangNanNan ·Shandong University ·2012 ·Master's thesis
  12. Influence Mechanism of Microbial Metabolites on Membrane Fouling in MBR
  13. Biocharacteristics of Terminase Large Subunit Encoded by Streptococcus Suis Phage SMP
    MaoZiWei ·Shanghai Jiaotong University ·2013 ·Master's thesis
  14. Parallel Simulation of3-D Shallow Water Flow with Free Surface
    ZhouYang ·Shanghai Jiaotong University ·2013 ·Master's thesis
  15. Proving and Testing the Functional Correctness of Distributed Systems
    LvYi ·Institute of Computing Technology ·2004 ·Doctoral dissertation
  16. Improving the Performance of Software DSM Systems
    ShiWeiSong ·Institute of Computing Technology ·2000 ·Doctoral dissertation
  17. Distributed memory parallel numerical computation system of the communication library
    XiongYuQing ·Institute of Computing Technology ·2000 ·Doctoral dissertation
  18. Study of FDTD Parallel Computing and ADI-FDTD Method
  19. Design and Implementation of Cluster System Based on HVIA-NET
  20. Design and Research of Multicore Processor
    LiJingMei ·Harbin Engineering University ·2010 ·Doctoral dissertation