{
  "schemaVersion": 1,
  "evidenceType": "deterministic-synthetic-example",
  "generatedAt": "2026-10-13T04:27:43.476Z",
  "nodeVersion": "v24.21.0",
  "method": "Pool disjoint observation means by sample count; aggregate contiguous non-overlapping window rates by elapsed duration.",
  "assumptions": [
    "All observations are exact constructed values, with no device or fio run.",
    "Latency groups use the same clock boundaries and units; every listed operation has a latency sample.",
    "Rate windows are contiguous and non-overlapping; every listed completion belongs to its window.",
    "The directional-runtime example assumes a common start and all 10000 completions inside the two-second common window."
  ],
  "limits": [
    "Means and counts cannot reconstruct percentiles or uncertainty.",
    "Matching duration alone does not prove matching start and end timestamps.",
    "No claim about fio versions other than the cited 3.41 source; this code does not parse arbitrary fio output."
  ],
  "article": "https://hesela.com/analyses/storage-latency-coordinated-omission/#fio-populations",
  "sources": [
    {
      "id": "fio-stat",
      "title": "fio 3.41 source: stat.c, add_ddir_lat_json and add_ddir_status_json; latency sample counts and directional runtime denominators.",
      "url": "https://github.com/axboe/fio/blob/fio-3.41/stat.c#L1410-L1600",
      "accessed": "2026-10-13"
    },
    {
      "id": "fio",
      "url": "https://fio.readthedocs.io/en/master/fio_doc.html",
      "accessed": "2026-10-13"
    },
    {
      "id": "cao2017",
      "title": "Zhen Cao, Vasily Tarasov, Hari Prasath Raman, Dean Hildebrand and Erez Zadok. On the Performance Variation in Modern Storage Stacks. FAST 2017, pp. 329-344, sections 3-5.",
      "url": "https://www.usenix.org/system/files/conference/fast17/fast17-cao.pdf",
      "accessed": "2026-10-13"
    }
  ],
  "artifacts": {
    "fio-populations.mjs": "5e7b2cfddfe40b46fe5515a40a20c49cd5bea956dbb8f40d33551d2d140e0070",
    "fio-populations.test.mjs": "e078315e107ed644128b7cd2f2576d6eadcd3b8092db1a605325da8419370e05",
    "build-fio-populations.mjs": "e246d4c468cd0c5305b443cdb641bb49a4a016abe1a33c3e6adb0a9465ea15f8"
  },
  "directionGroups": [
    {
      "label": "Read",
      "samples": 9000,
      "meanNs": 100000
    },
    {
      "label": "Write",
      "samples": 1000,
      "meanNs": 1000000
    }
  ],
  "windows": [
    {
      "label": "First interval",
      "completions": 1000,
      "durationMs": 1000
    },
    {
      "label": "Second interval",
      "completions": 90000,
      "durationMs": 9000
    }
  ],
  "results": {
    "pooledLatency": {
      "samples": 10000,
      "meanNs": 190000
    },
    "equalWeightMeanNs": 550000,
    "serialRate": {
      "completions": 91000,
      "durationMs": 10000,
      "iops": 9100
    },
    "equalWeightIops": 5500,
    "noSamples": {
      "samples": 0,
      "meanNs": null
    },
    "mismatchedRuntimes": {
      "readCompletions": 9000,
      "readRuntimeMs": 1000,
      "writeCompletions": 1000,
      "writeRuntimeMs": 2000,
      "summedDirectionalIops": 9500,
      "commonWindowMs": 2000,
      "commonWindowIops": 5000
    }
  }
}
