{
  "slug": "dulo",
  "term": "DULO",
  "aliases": [
    "DUal LOcality",
    "dual-locality caching"
  ],
  "definition": "DULO is a buffer-cache replacement scheme that combines recent access history with disk-block sequentiality to shape the requests reaching a hard disk.",
  "note": "At comparable recency, DULO favors retaining scattered blocks and evicting longer block sequences, aiming to leave more sequential work for the disk. Sequences depend on disk placement and recent accesses, not merely neighboring application addresses. [dulo2005]\n\nIts simulation compares against CLOCK under the label LRU. The Linux 2.6.11 prototype is an adaptation within the inactive list, not an exact implementation of the standalone design. [dulo2005]\n\nComparison requires the actual victim-selection rules and backend workload, not a policy label alone. CAR independently describes CLOCK as an LRU approximation. [car2004]\n\nWorked example: In the papers' eight-block cache illustration, both policies fetch 16 blocks across 20 demand references. Traditional replacement has 10 demand misses, while the dual-locality alternative has 7. Four scattered rereads are exchanged for one four-block fetch. At an assumed 9.5 ms per positioning event, modeled totals are 95.0 and 66.5 ms, not measured runtimes. [dulo2007] [accounting]\n\nSequence formation: The 2007 design checks block distance and consecutive fetch timestamps in both recent access histories, with a 128-block sequence cap. Spatial proximity alone is insufficient. These are historical policy parameters, not a universal HDD layout rule. [dulo2007]",
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "Pure random input provides no sequential requests for the policy to preserve.",
      "citationIds": [
        "dulo2005"
      ]
    }
  ],
  "related": [
    "clock-replacement",
    "cache-pollution",
    "diskseen"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-30",
  "citations": [
    {
      "id": "dulo2005",
      "title": "Jiang et al. DULO: An Effective Buffer Cache Management Scheme to Exploit Both Temporal and Spatial Locality. FAST 2005, sections 3, 4.1.1, 4.2.2.",
      "url": "https://www.usenix.org/event/fast05/tech/full_papers/jiang/jiang.pdf",
      "accessed": "2026-11-08"
    },
    {
      "id": "car2004",
      "title": "Bansal and Modha. CAR: Clock with Adaptive Replacement. FAST 2004, sections I-II.",
      "url": "https://www.usenix.org/legacy/events/fast04/tech/full_papers/bansal/bansal.pdf",
      "accessed": "2026-11-08"
    },
    {
      "id": "dulo2007",
      "title": "Ding, Jiang and Chen. A Buffer Cache Management Scheme Exploiting Both Temporal and Spatial Localities. ACM TOS 3(2), 2007, Table I and section 3.3.",
      "url": "https://ranger.uta.edu/~sjiang/pubs/papers/ding07_DULO.pdf",
      "accessed": "2026-11-30"
    },
    {
      "id": "accounting",
      "title": "Hesela. DULO illustrative request accounting: executable example, denominators and limits.",
      "url": "https://hesela.dev/research/dulo-accounting/README.md",
      "accessed": "2026-11-30"
    }
  ],
  "provenance": [
    "Historical HDD simulations and an adapted kernel prototype, not a modern SSD or current-Linux performance claim. [dulo2005]",
    "The executable packet reconstructs the papers' introductory example only, not the complete DULO algorithm, private workload traces or a timing benchmark. [accounting]"
  ]
}
