How lru technique is implemented, Software Engineering

Assignment Help:

How LRU technique is implemented

The LRU policy is more difficult to execute but has been more attractive on the assumption that the least recently used page is a better candidate for removal than the least recently used page is a better candidate for removal than the least recently loaded page as in FIFO. The LRU algorithm can be executed by associating a counter with every page that is in the major memory. When a page is referenced, its associated counter is set to zero. At fixed interval of time, the counters associated with all pages presently in memory are incremented by 1. The least recently used page in the page with the highest count. The counters are often known as aging registers, as their count indicates their age, that is how long ago their associated pages have been referenced.

 


Related Discussions:- How lru technique is implemented

Difference between module coupling and module collection, Q. What is the di...

Q. What is the difference between module coupling and module collection? List different types of coupling and cohesion. Ans : Cohesion is the property of a single module as we

Define entity and relationship diagram, State Entity and relationship diagr...

State Entity and relationship diagram. ERD depicts linkage between data objects. The ERD is the notation that is used to execute the data modelling activity. The primary

C++, how to save image of a dialog box by using c++

how to save image of a dialog box by using c++

Why software change occurs, Why software change occurs? Software change...

Why software change occurs? Software change happens because of the following reasons. New needs emerge when the software is used. The business environment changes. Errors need

State the testing and debugging, State the Testing and Debugging Testin...

State the Testing and Debugging Testing is process of verifying if the application matches needs and reporting bugs; Testing is usually done by an independent testing team wher

Determine the steps of structured requirements definition, Determine the di...

Determine the different steps of Structured Requirements Definition Step 1: Make a user level data flow diagram. This step is meant for gathering requirements with intera

What are the advantages and disadvantages of big-bang, What are the advanta...

What are the advantages and disadvantages of big-bang? Advantages: This approach is easy. Disadvantages: It is hard to debug. It is not simple to isolate errors while testin

Hatley pirbhai, what is hatley pirbhai extension and what is its use

what is hatley pirbhai extension and what is its use

What are the main approaches in debugging, What are the common approaches i...

What are the common approaches in debugging? Brute force method: The memory dumps and run-time tracks are checked and program with write statements is loaded to get clues to er

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd