Hardware-Based Implementation of Algorithms for Data Replacement in Cache Memory of Processor Cores
Larysa Titarenko, Vyacheslav Serhiiovych Kharchenko, Вадим Олексійович Пуйденко et al. · Computers · 2024
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.
Cited by 3 works. doi:10.3390/computers13070166
Authors
- Larysa Titarenko
- Vyacheslav Serhiiovych Kharchenko
- Вадим Олексійович Пуйденко
- Артём Евгеньевич Перепелицын
- Alexander A. Barkalov
References
- Reverse engineering of cache replacement policies in Intel microprocessors and their evaluation
- Implementation of LRU Replacement Policy for Reconfigurable Cache Memory Using FPGA
- Foundations of Embedded Systems
- Method of QoS evaluation of FPGA as a service
- Method of creation of FPGA based implementation of artificial intelligence as a service
- Decision Tree-Based Adaptive Reconfigurable Cache Scheme
- IOb-Cache: A High-Performance Configurable Open-Source Cache
- Hardware Architectural Support for Caching Partitioned Reconfigurations in Reconfigurable Systems
- PAC-PLRU: A Cache Replacement Policy to Salvage Discarded Predictions from Hardware Prefetchers
- The Minimizating of Hardware for Implementation of Pseudo LRU Algorithm for Cache Memory