Hardware-Based Implementation of Algorithms for Data Replacement in Cache Memory of Processor Cores

被引:1
作者
Titarenko, Larysa [1 ,2 ]
Kharchenko, Vyacheslav [3 ]
Puidenko, Vadym [3 ,4 ]
Perepelitsyn, Artem [3 ]
Barkalov, Alexander [1 ]
机构
[1] Univ Zielona Gora, Inst Metrolog Elect & Comp Sci, Ul Prof Z Szafrana 2, PL-65516 Zielona Gora, Poland
[2] Kharkiv Natl Univ Radio Elect, Fac Infocommunicat, Dept Infocommunicat Engn, Nauky Ave 14, UA-61166 Kharkiv, Ukraine
[3] Natl Aerosp Univ KhAI, Dept Comp Syst Networks & Cybersecur, 17 Chkalov Str, UA-61070 Kharkiv, Ukraine
[4] Kharkiv Radio Engn Profess Coll, Sumska Str 18-20, UA-61057 Kharkiv, Ukraine
关键词
digital automata; processor cores; cache memory; replacement policies; algorithms for data replacement; algorithms; LRU; PLRU; indicators of complexity; delays; reliability; adaptive algorithms;
D O I
10.3390/computers13070166
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Replacement policies have an important role in the functioning of the cache memory of processor cores. The implementation of a successful policy allows us to increase the performance of the processor core and the computer system as a whole. Replacement policies are most often evaluated by the percentage of cache hits during the cycles of the processor bus when accessing the cache memory. The policies that focus on replacing the Least Recently Used (LRU) or Least Frequently Used (LFU) elements, whether instructions or data, are relevant for use. It should be noted that in the paging cache buffer, the above replacement policies can also be used to replace address information. The pseudo LRU (PLRU) policy introduces replacing based on approximate information about the age of the elements in the cache memory. The hardware implementation of any replacement policy algorithm is the circuit. This hardware part of the processor core has certain characteristics: the latency of the search process for a candidate element for replacement, the gate complexity, and the reliability. The characteristics of the PLRUt and PLRUm replacement policies are synthesized and investigated. Both are the varieties of the PLRU replacement policy, which is close to the LRU policy in terms of the percentage of cache hits. In the current study, the hardware implementation of these policies is evaluated, and the possibility of adaptation to each of the policies in the processor core according to a selected priority characteristic is analyzed. The dependency of the rise in the delay and gate complexity in the case of an increase in the associativity of the cache memory is shown. The advantage of the hardware implementation of the PLRUt algorithm in comparison with the PLRUm algorithm for higher values of associativity is shown.
引用
收藏
页数:22
相关论文
共 27 条
[1]  
Abel A, 2014, INT SYM PERFORM ANAL, P141, DOI 10.1109/ISPASS.2014.6844475
[2]  
Adkins A., Intel Core i7 Memory Hierarchy
[3]  
[Anonymous], 1997, Embedded Intel486 Processor Hardware Reference Manual, P334
[4]   Hardware Architectural Support for Caching Partitioned Reconfigurations in Reconfigurable Systems [J].
Antonio Clemente, Juan ;
Gran, Ruben ;
Chocano, Abel ;
del Prado, Carlos ;
Resano, Javier .
IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2016, 24 (02) :530-543
[5]  
Barkalov A., 2019, Studies in Systems, Decision and Control, V195
[6]  
Brey B.B., 2009, The Intel Microprocessors: 8086/8088, 80186/80188, 80286, 80386, 80486, Pentium, Pentium Pro Processor, Pentium II, Pentium III, Pentium 4, and Core2 with 64-Bit Extensions: Architecture, Programming, and Interfacing, P925
[7]   A Heterogeneity-Aware Replacement Policy for the Partitioned Cache on Asymmetric Multi-Core Architectures [J].
Fang, Juan ;
Kong, Han ;
Yang, Huijing ;
Xu, Yixiang ;
Cai, Min .
MICROMACHINES, 2022, 13 (11)
[8]  
Grund Daniel., 2010, 10th International Workshop on Worst-Case Execution Time Analysis (WCET 2010), WCET '10, P23
[9]   Multi-step LRU: SIMD-based Cache Replacement for Lower Overhead and Higher Precision [J].
Inoue, Hiroshi .
2021 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2021, :174-180
[10]  
Ke Zhang, 2011, 2011 Proceedings of 11th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGrid 2011), P265, DOI 10.1109/CCGrid.2011.27