{
  "slug": "collective-io",
  "term": "Collective I/O",
  "aliases": [
    "collective file I/O",
    "collective MPI-IO"
  ],
  "definition": "Collective I/O is file access coordinated across a group of processes, allowing their requests to be considered together.",
  "note": "In MPI, the collective group comes from the communicator used to open the file, through a duplicate associated with its handle. Other arguments can differ unless the operation requires agreement. Matching collective operations must occur in the same order across the group. [mpi][order]\n\nParticipation does not guarantee aggregation: ROMIO can service a collective call with individual accesses when collective buffering is disabled or its heuristic chooses that path. Two-phase I/O is one implementation strategy, not another name for every collective operation. [hints]\n\nThe implementation may wait for every member to enter before making progress. A fast process can therefore wait for a late participant even when the storage device is idle. [progress]\n\nThe linked example separates file-read bytes, file-read calls and cross-rank payload. None alone predicts elapsed time. [example]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "related": [
    "mpi-file-view",
    "two-phase-io",
    "data-sieving",
    "disk-directed-io"
  ],
  "citations": [
    {
      "id": "mpi",
      "title": "MPI 4.1, Collective File Operations",
      "url": "https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node386.htm",
      "accessed": "2026-12-02"
    },
    {
      "id": "order",
      "title": "MPI 4.1, Correctness: ordering of collective calls",
      "url": "https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node172.htm",
      "accessed": "2026-12-02"
    },
    {
      "id": "hints",
      "title": "ROMIO users guide, Hints (2016): collective-buffering controls",
      "url": "https://ftp.mcs.anl.gov/pub/romio/users-guide/node6.html",
      "accessed": "2026-12-02"
    },
    {
      "id": "progress",
      "title": "MPI 4.1, Progress: collective file routines",
      "url": "https://www.mpi-forum.org/docs/mpi-4.1/mpi41-report/node385.htm",
      "accessed": "2026-12-02"
    },
    {
      "id": "example",
      "title": "Hesela: cyclic-read request and redistribution accounting",
      "url": "https://hesela.dev/research/collective-io/README.md",
      "accessed": "2026-12-02"
    }
  ],
  "provenance": [
    "MPI 4.1 semantics and the dated ROMIO guide are separate evidence scopes; library configuration is not an interface guarantee."
  ]
}
