{
  "slug": "data-sieving",
  "term": "Data sieving",
  "aliases": [
    "I/O data sieving"
  ],
  "definition": "Data sieving serves a noncontiguous file request by transferring larger contiguous spans and extracting or replacing the requested portions in memory.",
  "note": "ROMIO's 1999 implementation bounds temporary buffers and processes large request extents in parts. Extra bytes in gaps can outweigh the benefit of fewer calls. Independent writes use locked read-modify-write to preserve gap contents against concurrent updates. [romio99]\n\nCollective I/O can combine complementary requests across processes; it is distinct from independently sieving each process's request. [romio99]\n\nExample: four 4 KiB ranges beginning at 0, 16, 32 and 48 KiB contain 16 KiB of useful data. One spanning read transfers 52 KiB: 3.25 times the useful bytes. With starts 1 MiB apart, the span becomes 3076 KiB, or 192.25 times the same useful bytes. The linked example calculates buffer-limited alternatives. [example]\n\nThese are logical transfer counts, not device I/O measurements or predicted speedups. Cache state, filesystem splitting, concurrency and copy costs remain outside the example. [example]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "related": [
    "disk-directed-io",
    "buffered-io",
    "collective-io",
    "two-phase-io"
  ],
  "citations": [
    {
      "id": "romio99",
      "title": "Thakur, Gropp and Lusk. Data Sieving and Collective I/O in ROMIO. Frontiers 1999, pp. 182-189, sections 3-5.",
      "url": "https://web.cels.anl.gov/~thakur/papers/romio-coll.pdf",
      "accessed": "2026-12-02"
    },
    {
      "id": "example",
      "title": "Hesela: bounded-span byte accounting, runnable example and limitations",
      "url": "https://hesela.dev/research/noncontiguous-io/README.md",
      "accessed": "2026-12-02"
    }
  ],
  "provenance": [
    "Historical implementation review plus a constructed byte-accounting example; not a measurement of a current MPI library."
  ]
}
