Research on Compressed Cache Technology for Performance Optimization

Author
TianXinHua
Advisor
ZhangMinXuan
School
National University of Defense Science and Technology
Major
Electronic Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Doctoral dissertation
Year
2007
Downloads
205
Citations
0

Request the full text

Abstract

With the continuous development of semiconductor technology, the microprocessor and main memory speed gap widening, modern processor chip set level or multi-level cache to alleviate the increasingly serious memory access pressure. With the continuous expansion of the capacity of the chip, multi-core and multi-thread structure is becoming the mainstream of contemporary processor designs. These structures through the development of thread-level parallelism, which greatly improves the throughput of the processor computing and memory access throughput capacity of processor, memory subsystem, but also serious challenges. Processor designers need fixed chip area trade-offs and compromise, or to increase the number of cores or the number of threads to achieve higher computing power, or to increase chip Cache capacity to improve processor memory access, so that these two The capacity balance each other, to avoid any kind of ability to become a performance bottleneck. Compression technology will be applied to the on-chip cache data saved, can significantly increase the effective cache capacity and reducing cache misses, relieve the processor computing power of its memory access of the contradiction between the pressure and the trade-offs to the computing power tilt. Compressed cache technology, however, will also have a negative impact to the performance of the processor, because the processor memory access latency data decompression delay overhead, latency increases cache hit. In this paper, in order to enhance the system performance goals, from simplified coding algorithm to reduce the solution compression delay, optimize compressed cache hierarchy, improve several aspects the compressed cache replacement strategies, compressed cache performance optimization techniques, in-depth research, mainly made the following findings: (Frequent Pattern Compression, FPC) algorithm to simplify common mode originally applied to the L2 cache compression compression and decompression process decomposition algorithm was proposed and designed based on simple common mode compression (Simple Frequent Pattern Compression, S-FPC) the coding algorithm decompression processes, reduce L2 to decompress compressed cache row delay overhead of a processor cycle, and the algorithm can be applied to the L1 data cache compression . Compression coding algorithm simplified simulation test and evaluation, and a detailed description of the S-FPC compression coding algorithm implemented in hardware. 2. Proposed and designed a unified simple common mode Compression (S-FPC) the the compression cache hierarchy UCCH (Unified Compressed Cache Hierarchy) coding. UCCH structure in the L1 data cache and L2 cache to a unified coding to save data, can significantly improve the chip L1 data cache and L2 cache effectively capacity. In UCCH structure, L1 data cache compression combined with a part of the cache line prefetch function, can take advantage of the prefetch technologies significantly reduce the efficiency advantage of the cache miss, but it does not incur the usual prefetch cache technology may produce pollution disadvantage of increasing demand for memory bandwidth, and do not need to add additional prefetch buffer. UCCH structure design significantly improved compression cache performance. 3. Proposed a novel modified compression based LRU cache replacement policy MLRU-C (ModifiedLRU Replacement Policy for Compressed Cache), used to improve L2 compression cache replacement behavior. MLRU-C replacement strategy for the use of compressed cache tag additional resources, construct a shadow tag mechanisms, to identify the mechanism of traditional LRU replacement policy errors often occur several cache replacement behavior, and logged to an error the record sheet MRT (Mistake Record Table), and then based on this record table LRU replacement error promptly corrected. Simulation results show that, MLRU-C can effectively improve the L2 the compressed cache replacement behavior, reducing the failure rate of the cache L2 compression. 4 compression cache technology multithreaded processor performance, and verified through simulation UCCH structure capable of improving the performance of the multi-threaded processor. Multi-threaded processors have multiple threads running at the same time sharing the entire chip cache hierarchy, destruction from the L1 data cache L2 cache data locality, and increase the efficiency of a cache miss, and L1-L2-main memory The bus between the transmission bandwidth pressure remarkable growth Thus, although the multi-thread processor reduces the sensitivity of pairs of the memory access latency, but significantly increased the sensitivity of the capacity of the cache hierarchy and access bandwidth. UCCH structure can significantly increase the effective capacity of L1 data cache and L2 cache, directly between L1-L2-main memory in compressed format to transfer data at the same time, can significantly reduce the demand for transmission bandwidth between the L1-L2-main memory bus , so UCCH structures can improve the SMT processor memory access performance.

Table of contents

Abstract 11-13 ABSTRACT 13-15 first chapter 15-27 1.1 research background and significance 15-18 1.1.1 memory wall 15-16 1.1.2 Pin bandwidth bottlenecks 16-17 1.1.3 computing power and the ability to fetch balanced design 17-18 1.2 for performance optimization compression cache technology into 18-21 1.2.1 several related terms 18-19 1.2.2 for performance optimization of compressed cache technology into several 19-21 1.3 compressed cache performance optimization 21-24 1.3.1 compression cache performance gains conditions 22 1.3.2 optimized compressed cache hierarchy 22-24 1.3.3 improve the compressed cache replacement strategy 24 1.4 of this paper mainly work 24-25 1.5 paper structure 25-27 storage compression technology 27-42 2.1 storage compression compression algorithm research 27-31 2.1.1 matches the text string-based dictionary compression algorithm 28-29 2.1.2 compression algorithm based on value locality dictionary 29-30 2.1.3 to eliminate compression algorithm based on the sign bit redundant 30-31 2.2 compression storage structure design 31-40 2.2.1 main memory and on-chip L2/L3 cache to compressed structures 32-35 2.2.2 L1 the compression data cache structure 35-40 2.3 Summary 40-42 Chapter encoding the compressed cache hierarchy based on the unified S-FPC UCCH 42-67 3.1 performance-oriented optimization of compressed cache hierarchy design motivations and ideas 42-44 3.2 common mode coding (S-FPC) 44-47 3.2.1 simplified FPC compression algorithms the S-FPC 44-45 3.2.2 Cache sub-block select 45-46 3.2.3 S-FPC compression algorithm compression performance assessment 46-47 3.3 compression cache hierarchy design 47-53 3.3.1 compressed cache hierarchy 47-48 3.3.2 L1 compression data cache data layout and access 48-51 3.3.3 L2 the compressed cache data layout and access 51-53 3.4 S-FPC compression algorithm hardware 53-60 3.4.1 L1 data cache and the processor core compression / decompression realize 53-56 3.4.2 L2 the compression cache with L1 compression cache between the realization of the polymerization / split 56-60 3.5 the compressed cache performance simulation results and assessment 60-65 3.5.1 simulation environment and test procedures 60-62 3.5.2 simulation results and analysis 62-65 3.6 Summary 65-67 - fourth modified compression based LRU cache replacement the strategy MLRU-C 67-86 4.1 Introduction 67-72 4.1.1 basic terminology 67-69 4.1.2 compressed cache replacement behavior and the behavior of traditional cache replacement 69-70 4.1.3 the compressed cache replacement behavior description 70-72 4.2 modified compression based LRU cache replacement the strategy MLRU-C 72-77 4.2.1 LRU replacement policy error replacement behavior 73 4.2.2 LRU replacement policy error detection mechanisms replacement behavior - the shadow tag mechanism 73-76 4.2.3 based on LRU error correction compression cache replacement policy (MLRU-C, the Modified LRU Replacment Policy for Compressed Cache) 76-77 4.2.4 MLRU-C replacement strategies hardware overhead 77 4.3 experimental simulation and evaluation 77-84 4.3.1 Cache emulator modify 78-80 4.3.2 the compressed cache replacement strategy simulation 80-82 4.3.3 Simulation results and performance assessment 82-84 4.4 Related Research 84 4.5 Summary 84-86 The fifth chapter the use of compressed cache technology to improve multi-threaded processor performance 86-102 5.1 multi-threading technology overview 86-90 5.1.1 multicore processor (CMP) 86-87 5.1.2 multi-threaded (MT) processor 87-89 5.1.3 development instruction-level and thread-level parallelism various methods 89-90 520 multi-threaded memory access characteristics and cache hierarchy design 90-93 5.2.1 multi-threaded memory access characteristics 90-92 5.2.2 multithreaded cache hierarchy design 92-93 5.3 The use of compressed cache technology to improve multi-threaded processor performance 93-94 5.4 Test and Evaluation 94-101 5.4.1 simulation environment to establish 94-96 5.4.2 simulation results and assessment 96-101 5.5 Summary 101-102 Chapter VI Conclusion 102-105 6.1 work summarizes 102-103 the the 6.2 future research direction 103-105 Acknowledgements 105-106 the References 106-115 the author achieved academic achievements during the study period 115

Related dissertations

  1. Mounted Head General Control System of New SMT Machine Based on FPGA
  2. Evaluation of Curative Effects of Vamt, Smt and Vats in Treatment of Spontaneous Pneumothorax
    MaZhenJian ·University of Jinan ·2013 ·Master's thesis
  3. Bounded Model Checking for Concurrent Behavior Based on Scheduler
    ZhangHaiTao ·Tianjin University ·2012 ·Master's thesis
  4. Reflow Soldering Process Simulation Modeling and Finite Element Analysis Based on the Analysis of the Heating Mechanism
    SongWei ·Northeastern University ·2012 ·Master's thesis
  5. The Application of the Motherboard’s Dynamic Quality Management Based on SPC Method
    ShenYueZhong ·Shanghai Jiaotong University ·2009 ·Master's thesis
  6. The Research of SMT Manufacturing Enterprise’s Material Information Tracking System under the Supply Chain Globalize Background
    JiXiaoWei ·Tianjin University ·2012 ·Master's thesis
  7. Design and Implementation of Boolean Program Repair Reverse Conversion Tool
    ZhangLing ·Sun Yat-sen University ·2012 ·Master's thesis
  8. The Design of Encryption System Based on Electronic SMT Virtual Manufacturing Software
    ZhanMingTao ·Southwest Jiaotong University ·2012 ·Master's thesis
  9. Research on Vision Inspection Techniques for Surface Mounted of Precise Electronics
  10. Research on Control and Detection Technology of Surface Mount Assembly Equipment
    LiuZhiWei ·South China University of Technology ·2013 ·Master's thesis
  11. Verilog Combinational Equivalence Checking Based on SMT Constraint Solver
    ZengHaiLin ·Jilin University ·2012 ·Master's thesis
  12. SMT Reflow Soldering Machine3D Intelligent Software System
    ZuoMing ·Southwest Jiaotong University ·2012 ·Master's thesis
  13. Design and Research on the PCB Efficient Transport Mechanism of the High Speed Surface Mounting Machine
    YuJie ·Wuhan University of Technology ·2012 ·Master's thesis
  14. The Improvement of OEE in SMT Equipment
    ZongYongFei ·Shanghai Jiaotong University ·2012 ·Master's thesis
  15. Research and Development on Double Freedom Motor of SMT Surface Mounting Machine Bondhead
    YinGaoMin ·Guangdong University of Technology ·2013 ·Master's thesis
  16. Assembly of the Mobile Navigation, Bluetooth and Multi-Media System for GM-Holden
    LiAiHua ·Tianjin University ·2012 ·Master's thesis
  17. The Distribution of Phosphorus Fractions in the Sediments in Taihu Lake and the Range of Dredging
    SongZuoWen ·Northeast Forestry University ·2013 ·Master's thesis
  18. Primary Study on Medicgo Sativa Transformation of the Selenium-hyperaccumulation Gene Smtl from Astragalus Bisulatus
    LiJing ·Inner Mongolia Agricultural University ·2012 ·Master's thesis
  19. Molecular Cloning and Expression of SMT Genes in Dioscorea Zingiberensis and Producing SMT Low-expression Transgenic Plants
    JinLiang ·Hubei University ·2012 ·Master's thesis
  20. Research on Torsional Vibrations in Shanghai Maglev Track Inspection Vehicle’s Driveline
    LiXiangHua ·Shanghai Jiaotong University ·2007 ·Doctoral dissertation