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

Author:

Titarenko Larysa12ORCID,Kharchenko Vyacheslav3ORCID,Puidenko Vadym34,Perepelitsyn Artem3ORCID,Barkalov Alexander1ORCID

Affiliation:

1. Institute of Metrology, Electronics and Computer Science, University of Zielona Gora, ul. Prof. Z. Szafrana, 2, 65-516 Zielona Gora, Poland

2. Department of Infocommunication Engineering, Faculty of Infocommunications, Kharkiv National University of Radio Electronics, Nauky Avenue 14, 61166 Kharkiv, Ukraine

3. Department of Computer Systems, Networks and Cybersecurity, National Aerospace University “KhAI”, 17, Chkalov Str., 61070 Kharkiv, Ukraine

4. Kharkiv Radio Engineering Professional College, Sums’ka Str., 18/20, 61057 Kharkiv, Ukraine

Abstract

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.

Funder

Ministry of Education and Science of Ukraine

Publisher

MDPI AG

Reference27 articles.

1. (1997). Embedded Intel486 Processor Hardware Reference Manual, Intel Corporation.

2. 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, Pearson Prentice Hall.

3. Adkins, A., Ammeson, B., Anouna, J., Garside, T., Hunker, L., and Mailand, S. (2023, May 23). Intel Core i7 Memory Hierarchy. Available online: http://web.cs.wpi.edu/~cs4515/d15/Protected/LecturesNotes_D15/Week3_TeamA_i7-Presentation.pdf.

4. Hardware Architectural Support for Caching Partitioned Reconfigurations in Reconfigurable Systems;Clemente;IEEE Trans. Very Large Scale Integr. (VLSI) Syst.,2016

5. Omran, S.S., and Amory, I.A. (2018, January 9–11). Implementation of LRU Replacement Policy for Reconfigurable Cache Memory Using FPGA. Proceedings of the 2018 International Conference on Advanced Science and Engineering (ICOASE), Kurdistan Region, Iraq.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3