Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Cache replacement policies
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===== {{anchor|CLOCK-Pro}}Clock-Pro ===== The LRU algorithm cannot be implemented in the critical path of computer systems, such as [[operating system]]s, due to its high overhead; [[Page replacement algorithm#Clock|Clock]], an approximation of LRU, is commonly used instead. Clock-Pro is an approximation of [[LIRS caching algorithm|LIRS]] for low-cost implementation in systems.<ref>{{cite journal |last1=Jiang |first1=Song |last2=Chen |first2=Feng |last3=Zhang |first3=Xiaodong |date=2005 |title=CLOCK-Pro: An Effective Improvement of the CLOCK Replacement |url=http://web.cse.ohio-state.edu/hpcs/WWW/HTML/publications/papers/TR-05-3.pdf |journal=Proceedings of the Annual Conference on USENIX Annual Technical Conference |publisher=USENIX Association |pages=323β336}}</ref> Clock-Pro has the basic Clock framework, with three advantages. It has three "clock hands" (unlike Clock's single "hand"), and can approximately measure the reuse distance of data accesses. Like LIRS, it can quickly evict one-time-access or low-[[Locality of reference|locality]] data items. Clock-Pro is as complex as Clock, and is easy to implement at low cost. The buffer-cache replacement implementation in the 2017 version of [[Linux]] combines LRU and Clock-Pro.<ref>{{cite web |date=2017-12-30 |title=Linux Memory Management: Page Replacement Design. |url=https://linux-mm.org/PageReplacementDesign |access-date=2020-06-30}}</ref><ref>{{cite web |date=2005-08-16 |title=A CLOCK-Pro page replacement implementation |url=https://lwn.net/Articles/147879/ |access-date=2020-06-30 |publisher=[[LWN.net]]}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)