Least Recently Used
Full Form of LRU
What is LRU?
Least Recently Used (LRU) is a cache replacement algorithm widely used in computer systems to manage memory efficiently. When a cache is full and a new item needs to be stored, LRU discards the item that was accessed least recently. This algorithm is based on the principle that items used recently are more likely to be needed again. In India, LRU is a fundamental concept taught in courses on operating systems, computer architecture, and data structures in engineering colleges like IITs, NITs, and other universities. It is also relevant for competitive exams such as GATE, UGC NET, and campus placement interviews for roles in software development and system design. The algorithm is implemented in hardware (e.g., CPU caches) and software (e.g., database buffer pools, web browser caches). Its simplicity and effectiveness make it a popular choice despite having higher overhead than simpler algorithms like FIFO. Understanding LRU helps students grasp memory hierarchy principles, performance optimization, and resource management in modern computing systems. Exam questions often ask to simulate LRU replacement, calculate hit/miss ratios, or compare it with other algorithms like FIFO and Optimal Replacement.
LRU का फुल फॉर्म
सबसे हाल ही में उपयोग किया गया
Example
In a GATE exam problem on page replacement, the student correctly applied the LRU algorithm to determine that page 3 would be replaced when a new page fault occurred.