Least Recently Plus Five Least Frequently Replacement Policy (LR+5LF)

Least Recently Plus Five Least Frequently Replacement Policy (LR+5LF)

Adwan AbdelFattah1 and Aiman Abu Samra2
1Computer Science Department, The Arab American University of Jenin, Palestine
2Computer Engineering Department, The Islamic University of Gaza, Palestine
 
Abstract: In this paper we present a new block replacement policy, in which we proposed a new efficient algorithm for combining two important policies Least Recently Used (LRU) and Least Frequently Used (LFU). The implementation of the proposed policy is simple. It requires limited calculations to determine the victim block. We proposed our models to implement LRU and LFU policies. The new policy gives each block in cache two weighing values corresponding to LRU and LFU policies. Then a simple algorithm is used to get the overall value for each block. A comprehensive comparison is made between our Policy and LRU, First In First Out (FIFO), V-WAY, and Combined LRU and LFU (CRF) policies. Experimental results show that the LR+5LF replacement policy significantly reduces the number of cache misses. We modified simple scalar simulator version 3 under Linux Ubuntu 9.04 and we used speccpu2000 benchmark to simulate this policy. The results of simulations showed, that giving higher weighing to LFU policy gives this policy best performance characteristics over other policies. Substantial improvement on miss rate was achieved on instruction level 1 cache and at level 2 cache memory.

Keywords: Cache memory, replacement policy, LRU, LFU, and miss rate.

Received January 29, 2010; accepted September 20, 2010

Read 3239 times Last modified on Thursday, 27 October 2011 05:53
Share
Top
We use cookies to improve our website. By continuing to use this website, you are giving consent to cookies being used. More details…