Least Recently Used
Define Least Recently Used(LRU)?
Expert
Least Recently Used (LRU): use the past to predict the future.
Replace the page which hasn't been referenced for the longest time
Strange but true: for some placement policies, like FIFO, adding up more memory can sometimes cause paging performance to be worse. It is called "Belady's Anomaly" .
Implementing LRU: need hardware support to keep track of which pages have been utilized recently .
+ Keep a register for each of the page, store system clock in that register onto each memory reference.
+ To select page for placement, scan through all pages to search the one with the oldest clock.
+ Hardware costs would have been unaffordable in the early days of paging; also, costly to scan all pages throughout replacement.
Property Preservation: To use abstraction to show that a property holds on a concrete program, any abstractions must be property preserving. Property preservation enables you to take the results of checking the property on the abstracted program and t
Liveness Properties: A liveness property asserts that something good eventually happens, and is used mainly to ensure progress. Liveness properties prevent: starvation: Processes not getting the resources they need (e.g., CPU time, lock
Normal 0 false false
Explain how does the caffeine effect the growth of the plant?
What is the nineteenth amendment? Why did Wilson support it?
Applications of Bluetooth: This is wireless control of communication between a cell phone & a hands free headset or car kit. It is the most popular use. Wireless networking among PCs in a confi
18,76,764
1935307 Asked
3,689
Active Tutors
1419985
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!