{
  "slug": "clock-pro",
  "term": "CLOCK-Pro",
  "aliases": [
    "CLOCK-Pro replacement"
  ],
  "definition": "CLOCK-Pro is an adaptive page-replacement policy combining CLOCK reference bits with bounded history of evicted pages.",
  "note": "Three hands manage hot pages, resident cold victims and cold-page test periods. Eviction can discard a cold page's data while retaining its metadata for a later reuse test. A nonresident history match still requires a page fetch. [clockpro]\n\nThe cold-page target increases after reuse within a test period and decreases when a test expires without reuse; these observations include resident and nonresident cold pages. [clockpro]\n\nFor m resident pages, Section 4.2 permits at most m nonresident cold records: at most 2m tracked identities, not 2m payload pages or a byte bound. [clockpro]\n\nA test period follows hand movement, not a wall-clock timeout. Resident hits set reference bits; exact access order is not maintained. The reuse-distance reasoning is approximate, not an exact LRU stack-distance measurement. [clockpro]",
  "status": "research",
  "advantages": [
    {
      "text": "Retained history lets replacement react to reuse after eviction.",
      "citationIds": [
        "clockpro"
      ]
    }
  ],
  "limitations": [
    {
      "text": "The historical Linux 2.4.21 prototype does not establish present-day implementation behavior or universal speedups.",
      "citationIds": [
        "clockpro"
      ]
    }
  ],
  "related": [
    "clock-replacement",
    "ghost-cache-entry",
    "cache-pollution",
    "adaptive-replacement-cache",
    "lirs-replacement",
    "reuse-distance"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-07",
  "citations": [
    {
      "id": "clockpro",
      "title": "Jiang, Chen and Zhang. CLOCK-Pro: An Effective Improvement of the CLOCK Replacement. USENIX ATC 2005, sections 4.1-4.4, footnotes 3-4 and 5.2.",
      "url": "https://www.usenix.org/legacy/events/usenix05/tech/general/full_papers/jiang/jiang.pdf",
      "accessed": "2026-11-07"
    },
    {
      "id": "hesela",
      "title": "Hesela: cache-history matches versus resident hits.",
      "url": "https://hesela.com/analyses/sieve-cache-eviction-traces/#history",
      "accessed": "2026-10-24"
    }
  ],
  "provenance": [
    "Primary-source review, not a reproduction or deployment recommendation."
  ]
}
