Data sieving
Data sieving serves a noncontiguous file request by transferring larger contiguous spans and extracting or replacing the requested portions in memory.
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. [1]
Collective I/O can combine complementary requests across processes; it is distinct from independently sieving each process's request. [1]
Example: 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. [2]
These are logical transfer counts, not device I/O measurements or predicted speedups. Cache state, filesystem splitting, concurrency and copy costs remain outside the example. [2]
Relations
Citations
- Thakur, Gropp and Lusk. Data Sieving and Collective I/O in ROMIO. Frontiers 1999, pp. 182-189, sections 3-5.
- Hesela: bounded-span byte accounting, runnable example and limitations
Sources & caveats
- Historical implementation review plus a constructed byte-accounting example; not a measurement of a current MPI library.