Research on Cache Replacement Strategies

Author
WangChaoYu
Advisor
LiJingMei
School
Harbin Engineering University
Major
Computer Software and Theory
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2012
Downloads
159
Citations
0

Request the full text

Abstract

Cache is an effective means to compensate for the huge difference in speed between theCPU and the storage system. With the limit of costs and production technology, the gap ofcapacity between the cache and storage system has a significant increase. It is a efficient wayof reducing the CPU idle time and improving CPU utilization as well as enhancing computerperformance by developing the potential storage performance.After deeply studying the data types and data access patterns changes in cache, the rootcauses of traditional replacement algorithm was summed up. A new cache replacement policyto solve the deficiencies identified through the introduction of simplified IRR model as thekey of replacement to enhance the ability of capture high-frequency data, cancel the queuecapacity constraints, improving the adaptability of the different data access patterns.Based on the strategy according to different application environment, two new cachereplacement algorithms are proposed-Aging Algorithm and Adapter Clock algorithm. Thoughintroducing the age record data for historical information, the aging algorithm can enhance theability to capture high-frequency data. Meanwhile, the flexibility of the algorithm can beenhanced by adding the capacity queue. Adapter Clock absorbed the idea of the Clockalgorithm, use the hand of the clock and flag record historical information of the date, whilesimplifying the organizational structure of the algorithm reduces the computational and thenumber of comparisons, the same competitive way to set up the collection capacity, andenhance the flexibility and adaptability of the algorithm.Certification program through the introduction of a cycle sequencing technology as aninput, shielding the impact of the computer’s performance, the certification program focusedon the algorithm itself. The test results are eventually shown in the form of a comparison chart,more intuitive and image demonstration of the performance of the new strategy. Theexperimental results show that: compared with the traditional replacement algorithm, the newstrategy to enhance the ability to capture high-frequency data, and enhance the flexibility ofthe algorithm to improve the cache hit rate, which has a better application prospects.

Table of contents

Summary 5-6 Abstract 6-9 Chapter 1 Introduction 9-15 background and significance of 1.1 topics 9 1.2 research status Status 1.2.1 foreign studies 9-12 10 1.2.2 domestic research status 10-12 <br / > the main thesis of 1.3 organizational structure 12 1.4 papers 12-15 Chapter 2 studies 15-25 2.1 cache structure 15-17 importance of cache replacement strategy 2.2 17 2.3 cache performance enhancing methods 17-21 2.3.1 reduce missing consideration 18-19 2.3.2 hit the block to reduce the time 19-20 2.3.3 upgrade cache hit rate 20-21 2.3 .4 operation and maintenance cost reduction algorithms in data cache 21 2.4 correlation analysis 21-22 2.5 data Access interval 22-23 2.6 Summary 23-25 ?? Chapter 3 analyzes the existing cache replacement algorithm 25-33 3.1 Recency to replace a key factor in the replacement algorithm 25-27 3.1.1 LRU cache replacement algorithm class 25-27 3.1.2 LFU class cache replacement algorithm 27 3.2 Frecency to replace a key factor in the replacement algorithm 27-30 3.2.1 LRFU algorithm 27-28 3.2.2 LIRS algorithm 28-29 3.2.3 ARC algorithm 29-30 3.2.4 2Q algorithm 30 3.3 improved cache replacement strategy 30-31 3.4 Summary 31-33 <br / > Chapter 4 algorithm design nbsp new strategy based ; 33-43 4.1 Aging algorithm 33-36 4.1.1 Aging algorithm is the basic principle 33-34 4.1.2 Aging algorithm running mode 34-36 4.1.3 algorithm complexity analysis 36 4.2 Adapter Clock algorithm 36-39 4.2.1 Adapter Clock algorithm basic principle 36-38 4.2.2 Adapter Clock algorithm running mode 38-39 4.2.3 algorithm complexity analysis 39 4.3 cache hit rate prediction techniques 39-42 4.3.1 stack processing technology 40-41 4.3.2 looping sequence concept 41-42 4.4 Summary 42-43 Chapter 5 experimental validation program design 43-55 5.1 test environment setup 43 -44 5.2 authentication scheme 44-47 5.3 performance evaluation results 47-54 5.3.1 algorithm performance under cyclic access patterns 48-51 5.3.2 algorithm performance under the overall probability of access patterns 51-52 5.3.3 algorithm performance in the area of ??access patterns 52-54 5.3.4 algorithm performance in mixed access mode 54 5.4 Summary 54-55 conclusion 55-57 reference literature 57-61 study published papers and obtained a master's degree during the research 61-63 Thanks 63

Related dissertations

  1. Design and Implementation of High Speed Data Recorder Based on FPGA
  2. The Design and Implementation of a Delivery and Scheduling System for Video Files
  3. Research on the Technologies of Internet Traffic Localiztion
    YuJiang ·Jilin University ·2013 ·Master's thesis
  4. An Efficient Hardware Architecture Design of Texture Mapping Unit
    ZhaoGuoYu ·Tianjin University ·2012 ·Master's thesis
  5. Research on Key Technologies for the Client of Distributed File System
  6. Design and Implementation of Online Examination System of Shanghai Television Video University
    LiZuo ·Dalian University of Technology ·2013 ·Master's thesis
  7. Research on Digital Rights Management Based on Risk
    CuiNingNing ·Beijing Jiaotong University ·2014 ·Master's thesis
  8. Research of Protocol Adaption and Cache Management of Cloud Storage Gateway
  9. Evaluate the Performance of Storage System by Mathematical Modeling Methods
    DiaoYing ·Harbin Engineering University ·2013 ·Doctoral dissertation
  10. Research and Design of Storage Organization and Index on Main Memory Database
    LiuZheYi ·Hunan University ·2013 ·Master's thesis
  11. Research and Implementation of Memory Optimization Based on Parallel Computing Engine Spark
    FengLin ·Tsinghua University ·2013 ·Master's thesis
  12. Energy-Efficient Management for Memory System Based on Access Patterns of Applications
    ZhangTieFei ·Zhejiang University ·2013 ·Doctoral dissertation
  13. Software Optimization Techniques for Small Instruction Caches
    ChenChen ·Zhejiang University ·2014 ·Master's thesis
  14. Key Techniques Research of Memory in Homogeneous General Purpose Stream Processor
  15. The Simulation and Implementation of Processor Register Level for OpenRISC
    TangJianQiu ·Hunan University ·2013 ·Master's thesis
  16. Research on Power Optimization of Cache Architecture Design
    XiangXiaoYan ·Zhejiang University ·2013 ·Doctoral dissertation
  17. The Analysis and Design of Low_power Reconfigurable Cache in Embeded System
    LiuXiaoFeng ·Hunan University ·2013 ·Master's thesis
  18. The Design and Implementation of Embedded Flash Accelerator
    WangZuoBo ·Zhejiang University ·2014 ·Master's thesis
  19. A Starting System of Multiple Incremental Virtual Machines Based on Shadow Cache
  20. The Implementation and Optimization of MPEG-4AAC Codec Based on the DM642Platform