Research on Cache Shared Multi-Core Processor Key Technology

Author
DuJianJun
Advisor
WuZhongFu
School
Chongqing University
Major
Computer Software and Theory
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Doctoral dissertation
Year
2011
Downloads
247
Citations
1

Request the full text

Abstract

The development of modern semiconductor technology such as Very Large Scale Integration (VLSI) is hard to satisfy the demand of microprocessors performance improvement. So the multi-core processors on new architecture replace the traditional single-core processors by exploring the thread level parallelism and become the main development tendency of high performance microprocessor. The emergence of multi-core technology enables the performance of microprocessors has been improved significantly, meanwhile it makes a higher demand on storage system design and technological advances. Cache has been the principal component of the processor and also been a key factor to decide system performance. Since the speed gap between processor and main memory has been more prominent in multi-core structure, the research that how to design the storage system structure and improve the efficiency of cache by scheduling policy has become very hot. At the same time, the research of multi-core processor simulator is also being kept in the innovation and development. Therefore, the thesis is focus on multi-core processors structure, M5 simulating system and technological optimizations of cache hierarchy.Firstly, analyze a variety of typical multi-core processor architecture and classify multi-core processors based on cache structure. Because the cache shared Chip Multi Processor (CMP) with high resource utilization, strong scalability, low energy consumption, it has been the main trend of multi-core architecture. So the thesis chooses the structure of cache shared CMP as the study target.Secondly, the problems at cache hierarchy caused by multi-core design have been discussed and analyzed. The multi-level and distributed cache structure in multi-core processor need to keep data consistency that guaranteed by bus snooping or directory-based cache coherence protocol. Then the proposals are summarized that include how to alleviate cache thrashing, fair scheduling of cache resource reference the idea of Completely Fair Scheduler (CFS), and cache replacement policies. After that, the cache memory related technology such as Extended Set-index Cache (ESC) approach, the design of Corporative Cache (CC) and Dynamic Spill-Receive (DSR) for private cache, and the new 3D-Stacked storage system are all studied an analyzed.Thirdly, based on the research of multi-core architecture and storage system structure, a new performance evaluation model Executing and Transport Analysis Model (ETAM) has been proposed. ETAM is an Executing-Transport-based model using the queue theory for processor memory hierarchy analysis. Added the cross-access and queue delay factors, it can be used to evaluate multi-core processor performance with different memory sharing levels. The preliminary performance estimation can help to adjust the memory hierarchy design. More importantly, a CMP experimental simulation platform has been successfully established under Linux environment by using the latest M5 simulating system. The prototype of CMPs core is Alpha21264. The cache replacement polices including pseudo LRU, FIFO and random election are all implemented by modifying the M5 resource code. Then, use SPEC CPU2006 benchmarks to test the simulating speed and performance of M5 system. The experimental results show that the modular M5 simulating system has the benefits such as flexibility, high speed and easy to use.Fourthly, the Dead Block phenomena and the conflict contamination at cache level are discussed. Then, a new shared cache management policy Homologous Promotion & Insertion Policy (HPIP) is proposed. Different to Least Recently Reused Insertion Policy (LIP) and Bimodal Insertion Policy (BIP), HPIP uses dynamic insertion approach. When a data block need to be installed, it always chooses the lowest priority position as victim and calculates the insertion position according to which core the block belongs to. That means different core’s block will be inserted at different position. The dynamic insertion makes the threads on different cores run in pseudo independently, that try to reduce the conflict pollution and the time that Dead Blocks remain in cache. Furthermore, HPIP employ the linear or exponent calculation to decide the promotion on a hit, through that make the logical priority more accurately reflect the hit situations rather than the access situations. The experiments on M5 simulating system show that HPIP improves average throughput, weighted speedup and harmonic fairness metric in some degree compared to the traditional LRU, it also reduces L2 cache miss rate.Finally, to explore the adaptive policy selection mechanism for shared cache, a new scheme Adaptive Policy Election (APE) has been proposed. Since different applications as well as different phases of the same application have different cache demand characteristics, APE use the Policy Selection (PSEL) counter to select between two component policies. Compared with Dynamic Insertion Policy (DIP) mechanism that monitors overall cache performance as to be unaware of the characteristics of individual applications, Thread-Aware DIP (TADIP) mechanism faces the difficulty of hardware implementation issues. So APE first time introduces the fixed number of a processor cores as the indicator for design of sampling and monitoring. While the logical structure of MRM (Miss Rate Monitor) has been designed, how many Set Dueling (SD) should be selected and how to choose are all answered. APE not only adjusts the grain size of monitoring, but also reduces the cost of the hardware design and implementation. The experiments on M5 simulating system show that although the adaptive policy selection mechanisms make the CMPs performance metrics in a corresponding increase, simultaneously the harmonic fairness sacrificed. Further research and work should be carried on.

Table of contents

Summary 3-5 ABSTRACT 5-11 1 Introduction 11-33 1.1 research background 11-23 1.1.1 VLSI and microprocessor technology trends 11-15 1.1.2 multicore processors and challenges 15-20 1.1.3 multinucleated architecture, processor cache technology 20-23 1.2 Related research status at home and abroad 23-29 1.2.1 NoC the multinucleated interconnect communication structure 23 -25 1.2.2 multicore processors Cache storage optimization technology the 25-27 1.2.3 Distributed Cache data Prospective Technical 27-29 1.3 papers major research and innovation 29-31 1.4 papers organizational structure 31-33 2 multi-core processor architecture analysis 33-39 <br / > 2.1 SMT, CMP and CMT the 33-35 2.2 multicore processors structural system of classification the 35-38 2.2.1 isomorphic with heterogeneous CMP 35 -37 2.2.2 shared and private secondary cache CMP 37-38 2.3 Chapter Summary 38-39 multicore processors Cache storage layer technology 39-62 3.1 Cache work the 39-42 3.2 distributed memory consistency mechanism 42-46 3.2.1 based on listener Snoop-Based coherence protocol 43-45 3.2.2 directory-based coherence protocol Directory-Based are found; the 45-46 3.3 the Cache jitter and fairness 46-48 3.3.1 Cache jitter problems 46 3.3.2 the Cache allocation fairness analysis 46-48 3.4 Cache replacement strategy and scheduling 48-52 3.4.1 traditional single-core processor Cache replacement algorithm 48-49 3.4.2 multicore processors Cache scheduling management strategy 49-50 3.4.3 completely fair scheduler CFS cache fair scheduler 50-52 3.5 Research and Analysis of the Cache layer technology 52-60 3.5.1 extension the group index cache ESC 52-55 the 3.5.2 cache collaborative CC and dynamic overflow and receiving DSR the 55-58 3.5.3 three-dimensional stacked 3D-Stacked Storage 58-60 3.6 Chapter Summary 60-62 performance evaluation model and M5 test 62-92 4.1-based implementation - Send relations analysis model 62-68 4.1.1 ETAM single-core processor Cache layer analysis model 62-64 4.1.2 the extended EETAM multicore processors analysis model 64-67 4.1.3 model parameter assessment 67-68 4.2 modular simulation systems the M5 and test benchmark 68-77 4.2.1 M5 module based simulation system platform the 68-72 4.2.2 M5-ALPHA processor chip and structural 72-76 4.2.3 benchmark assembly SPEC CPU 2006 76-77 the the 4.3 M5 simulation system testing experimental range from 77-90 4.3.1 Pseudo-the LRU replacement algorithm simulation 77-80 4.3.2 test experiments and results analysis 80-90 4.4 Chapter Summary 90-92 the shared Cache derivative insert with enhance policy HPIP scheduling design 92-118 < br /> 5.1 cache abnormal behavior the 92-94 5.1.1 \pollution 93-94 5.2 the LIP replacement algorithm analysis and optimization 94-100 5.2.1 LIP LRU cache replacement algorithm 94-95 5.2.2 based the LIP algorithm's performance optimization 95-98 5.2.3 Experimental results and analysis 98-100 5.3 multicore processors derivative insert Promotion Strategy HPIP cache scheduling design 100-117 5.3.1 Cache scheduling selection, insertion, and enhance the decomposition 100-101 5.3.2 shared cache independent pseudo-thread the HPIP algorithm design 101-106 5.3.3 multithreading Cache scheduling instance contrast the experimental processor performance with shared cache efficiency 106-108 5.3.4 nbsp oriented shared cache fairness experiments and analysis the 114-117 5.4 Chapter Summary 117-118 thread-aware dynamic; 108-114 5.3.5 to adaptive mechanism nbsp insert TADIP; 118-144 6.1 applications based on the Cache demand characteristics classification 118-120 6.2 the shared cache TADIP adaptive mechanism 120 - 126 6.2.1 dynamically insert selection mechanism DIP the independent mechanism TADIP-I 120-123 6.2.2 thread 123-124 6.2.3 thread feedback the TADIP-F mechanism 124-126 6.3 adaptive strategy selection mechanism APE design are found; 126-136 6.3.1 based nuclear number, the APE and monitoring module MRM design 126-131 6.3.2 complementary the sampling packet options are found competition Cache; 131-133 6.3.3 the dedicated the competitive grouping SD the quantitative analysis and argumentation 133-136 6.4 simulation and analysis 136-142 6.5 Chapter Summary 142-144 7 Summary and Outlook 144-148 7.1 summary of the work the 144-146 7.2 follow-up Outlook 146-148 Acknowledgements 148-150 Reference 150-160 the Appendix 160 A. of PhD during published or accepted papers 160 B. author during the PhD participate in scientific research nbsp academic activities; 160 C. of participation during the PhD 160

Related dissertations

  1. Research and Implementation of Relevant Technology in Colleges and Universities Teaching Administration System
    LiQingSheng ·Yanshan University ·2012 ·Master's thesis
  2. Design and Implementation of Vectorized FFTs on the YHFT-Matrix
  3. Research of STM Conflict Management Based on Signature
    HaoYu ·Northeastern University ·2013 ·Master's thesis
  4. The Research and Realization of the High-Speed Signaling Data Collection System Based on Netio Technology of Multi-Core Processor
  5. Research and Realization of Network Management System Based on the CN56xx Series Network Processor
    ShenJingNie ·WRI ·2012 ·Master's thesis
  6. Design and Implementation of Traffic Control Gateway Based on Cavium Multi-Core Processing Platform
  7. Parallel Simulation of Large Scale Computer Systems
  8. Software Design of Video Surveillance Server Based on Tilera Multi-Core Processor
    ZhouSiZhong ·Zhejiang University ·2013 ·Master's thesis
  9. Collision Culling with Massive Bodies on Multi-core Processor
  10. Study on Search Results Clustering Algorithm Based on Multi-Core Technology
    LinShuo ·Guangxi University ·2012 ·Master's thesis
  11. Design and Implementation of Dispatching Module Based on Multi-core Processor Platform
    MaZuo ·Beijing Jiaotong University ·2012 ·Master's thesis
  12. Research on Stream Programming Framework and Language for Multi-core Processor Base on X10
  13. Research and Design of Multi-core Processor System Based on FPGA
    ZhuDan ·Yanshan University ·2013 ·Master's thesis
  14. Research of Multi-core Processor Scheduling Algorithm Based on Task Clustering and Duplication
    ZhaoLinXiang ·Hunan University ·2012 ·Master's thesis
  15. The Research of Linux2.6System Multicore Scheduling Based on the EDF
    JiaFeng ·Chengdu University of Technology ·2012 ·Master's thesis
  16. The Research of Energy-Aware Scheduling Algorithm for Multi-core processor
    QiuZuoZuo ·Wuhan University of Technology ·2012 ·Master's thesis
  17. Multi core processor and inter core communication module design research
    QuanHeng ·Fudan University ·2012 ·Master's thesis
  18. Research on Key Techniques of Task Scheduling Based on Multi-core Distributed Environment
    GengXiaoZhong ·Jilin University ·2013 ·Doctoral dissertation
  19. The Design and Implementation of E-Learning Platform Based on Mobile Environment
  20. Software Design of JPEG XR Image Encoder Based on Tilera Multi-core Processor
    LiuZhiYuan ·Zhejiang University ·2013 ·Master's thesis