{"title":"Hardware Implementation of Stack-Based Replacement Algorithms","authors":"Hassan Ghasemzadeh, Sepideh Mazrouee, Hassan Goldani Moghaddam,Hamid Shojaei, Mohammad Reza Kakoee","volume":16,"journal":"International Journal of Computer and Information Engineering","pagesStart":1152,"pagesEnd":1157,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/6084","abstract":"Block replacement algorithms to increase hit ratio\r\nhave been extensively used in cache memory management. Among\r\nbasic replacement schemes, LRU and FIFO have been shown to be\r\neffective replacement algorithms in terms of hit rates. In this paper,\r\nwe introduce a flexible stack-based circuit which can be employed in\r\nhardware implementation of both LRU and FIFO policies. We\r\npropose a simple and efficient architecture such that stack-based\r\nreplacement algorithms can be implemented without the drawbacks\r\nof the traditional architectures. The stack is modular and hence, a set\r\nof stack rows can be cascaded depending on the number of blocks in\r\neach cache set. Our circuit can be implemented in conjunction with\r\nthe cache controller and static\/dynamic memories to form a cache\r\nsystem. Experimental results exhibit that our proposed circuit\r\nprovides an average value of 26% improvement in storage bits and its\r\nmaximum operating frequency is increased by a factor of two","references":"[1] J. Handy, The Cache Memory Book, Academic Press, San Diego, pp.\r\n47-67, 1993.\r\n[2] H. Ghasemzadeh, S. Mazrouee and M. R. Kakoee, Modified Pseudo\r\nLRU Replacement Algorithm, 13th Annual IEEE International\r\nConference and Workshop on the Engineering of Computer Based\r\nSystems (ECBS), pp. 368-376, March 27-30 2006.\r\n[3] R. Pendse, Pipeline LRU Block Replacement Algorithm, Proc. 43rd\r\nMidwest Symp. On Circuits and Systems, Lansing MI, Aug. 8-11, 2002.\r\n[4] J. Jeong and M. Dubios, Cost-Sensitive Cache Replacement Algorithms,\r\n9th International Symposium on High-Performance Computer\r\nArchitecture (HPCA-9'03), 2002.\r\n[5] S. Jiang, X. Zhang, Making LRU Friendly to Weak Locality Workloads :\r\nA Novel Replacement Algorithm to Improve Buffer Cache Performance,\r\nIEEE Transactions on Computers, Vol. 54, No. 8, Aug. 2005.\r\n[6] R. Pendse, Pipeline LRU Block Replacement Algorithm, Proc. 43rd\r\nMidwest Symp. On Circuits and Systems, Lansing MI, Aug. 8-11, 2002.\r\n[7] D. Lee, et. Al., LRFU : a spectrum of policies that subsumes the least\r\nrecently used and least frequently used policies, IEEE Transaction on\r\nComputers, vol. 50, no. 12, pp. 1352-1361, 2001.\r\n[8] A.W. Wayne and J.L. Baer, Modified LRU Policies for Improving\r\nSecond-Level Behavior, proceeding 6th International Symposium on\r\nHigh-Performance Computer Architecture, pp. 49-60, 2000.\r\n[9] Yoon, J., Min, S.L., and Cho, Y., Buffer cache management: predicting\r\nthe future from the past, International Symposium on Parallel\r\nArchitectures, Algorithms and Networks (ISPAN'02), pp. 92-97, 2002.\r\n[10] H. Ghasemzadeh and S. O. Fatemi, Pseudo-FIFO Architecture of LRU\r\nReplacement Algorithm, Proc. 9th IEEE International Multi Topic\r\nConference (INMIC), December 23-25, 2005.\r\n[11] D. Lamet and J.F. Frenzel, Defect-Tolerant Cache Memory Design,\r\nIEEE Transactions on Computers, April 1993.\r\n[12] B. Beridegard, B. Nilsson and L. Philipson, VLSI Implementation of A\r\nVirtual Memory Paging Algorithm, VLSI: Algorithms and Architectures,\r\nElsevier Science Publishers B.V., pp. 167-174, 1985.\r\n[13] W. Luk and G. Brown, A Systolic LRU Processor and Its Top-Down\r\nDevelopment, Science of Computer Programming, Vol. 15, pp. 217-233,\r\n1990.\r\n[14] O. Fatemi, F. Idris and S. Panchanathan, FPGA Implementation of the\r\nLRU Algorithm for Video Compression, IEEE 1994 International\r\nConference on Acoustics, Speech, and Signal Processing, pp. 337-344,\r\nJune 1994.\r\n[15] K.A. Hurd, A 600MHZ 64b PA-RISC Microprocessor, ISSCC Digest of\r\nTechnical Papers, pp 94-95, February 2000.\r\n[16] K. Maruyama, mLRU Replacement Algorithm in terms of the Reference\r\nMatrix, IBM Technical Disclosur Bulletin, pp. 3101-3103, March 1975.\r\n[17] J.M. Rabaey, Digital Integrated Circuits, A Design Perspective, Prentice-\r\nHall Electronics and VLSI Series, pp. 332-381, 1996.\r\n[18] Weste N.H.E. and Eshraghian K., Principles of CMOS VLSI Design, A\r\nSystem Perspective, Second Edition, Addison-Wesely Publishers\r\nCompany, pp. 513-620, 1994.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 16, 2008"}