Abstract

Virtual memory technique is used in modern OS which permits the execution of a program while it is partially available in memory thus providing an illusion of very large memory to the user and freeing the user from the concern of large program size. This uses a page replacement technique such as first in first out (FIFO), least recently used (LRU), optimal etc. to replace a page in memory when a frame is needed and no free frame is available in memory. Here page replacement policy severely affects the performance of virtual memory. It has been observed that LRU approximates optimal so LRU and its variants are quite common in use in operating system as a reasonable choice of page replacement algorithm. But LRU performs very poor by generating continuous page faults while accessing looping pattern if all the pages does not fit in the memory simultaneously. This paper presents a simple modified LRU algorithm called LRUL overcoming this problem using the concept of last use distance (LUD). It is observed that the new algorithm gives better results than LRU. General Terms Operating system, page replacement algorithm.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.