Linux uses an lru algorithm to manage memory suppose there


Question: Linux uses an LRU algorithm to manage memory. Suppose there is another page replacement algorithm called not frequently used (NFU) that gives each page its own counter that is incremented with each clock cycle. In this way, each counter tracks the frequency of page use, and the page with the lowest counter is swapped out when paging is necessary. In your opinion, how do these two algorithms (LRU and NFU) compare? Explain which one would work best under normal use, and define how you perceive "normal use."

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Linux uses an lru algorithm to manage memory suppose there
Reference No:- TGS02446066

Now Priced at $15 (50% Discount)

Recommended (94%)

Rated (4.6/5)