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

What is exception, What is Exception? Ans) An event that causes suspensi...

What is Exception? Ans) An event that causes suspension of normal program implementation. Types contain addressing exception, operation exception, data exception, overflow excep

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

what is hatley pirbhai extension and what is its use

Srs, why srs is also called black box specificaton

why srs is also called black box specificaton

What are the objectives of software design, What are the objectives of soft...

What are the objectives of software design? Objectives of software design                         The objective of the design phase is to plan a solution of the difficulty

Black box and white box testing, I am not properly understanding the basis ...

I am not properly understanding the basis difference between black box testing and white box testing. Please explain in simple way and with some example so that I can easily under

State the advantages of prototyping, State the Advantages of Prototyping ...

State the Advantages of Prototyping Advantages of prototyping outperform problems of prototyping. Hence overall, it's a beneficial approach to develop prototype. End user can'

What is integration testing and system testing, What is the difference in w...

What is the difference in writing the test cases for Integration testing and system testing? Integration testing is done at module level when lots of modules are integrated wit

What is top-down testing, An integration testing methods that tests the hig...

An integration testing methods that tests the high-level components first using stubs for lower-level known as components that have not yet been integrated and that stimulate the n

What are the various types of coupling, What are the various types of coupl...

What are the various types of coupling? i. Data coupling - The data coupling is possible by parameter passing or data interaction. ii. Control coupling - The modules share r

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