{
  "schema_version": 1,
  "kind": "exact hypothetical scheduling",
  "assumptions": [
    "Serial work-conserving server at 1 MiB/ms.",
    "All low-priority commands arrive at zero.",
    "One high-priority request arrives at 0.5 ms.",
    "Priority is reconsidered at every command boundary.",
    "No overhead, hidden queue, seek, retries or parallelism.",
    "Bounds cover high-class completion delay, not a percentile."
  ],
  "formula": "T + (L + b_H)/R, with r_H <= R and a strict aggregate contract",
  "cases": [
    {
      "label": "one command",
      "low_work_MiB": [
        8
      ],
      "rate_MiB_per_ms": 1,
      "high_arrival_ms": "1/2",
      "high_work_MiB": 1,
      "bound_ms": "9",
      "display": {
        "wait_ms": "7.5",
        "response_ms": "8.5"
      },
      "wait_ms": "15/2",
      "response_ms": "17/2",
      "trace": [
        {
          "job": "L0",
          "start": "0",
          "end": "8"
        },
        {
          "job": "H",
          "start": "8",
          "end": "9"
        }
      ]
    },
    {
      "label": "four equal commands",
      "low_work_MiB": [
        2,
        2,
        2,
        2
      ],
      "rate_MiB_per_ms": 1,
      "high_arrival_ms": "1/2",
      "high_work_MiB": 1,
      "bound_ms": "3",
      "display": {
        "wait_ms": "1.5",
        "response_ms": "2.5"
      },
      "wait_ms": "3/2",
      "response_ms": "5/2",
      "trace": [
        {
          "job": "L0",
          "start": "0",
          "end": "2"
        },
        {
          "job": "H",
          "start": "2",
          "end": "3"
        },
        {
          "job": "L1",
          "start": "3",
          "end": "5"
        },
        {
          "job": "L2",
          "start": "5",
          "end": "7"
        },
        {
          "job": "L3",
          "start": "7",
          "end": "9"
        }
      ]
    },
    {
      "label": "two unequal commands",
      "low_work_MiB": [
        7,
        1
      ],
      "rate_MiB_per_ms": 1,
      "high_arrival_ms": "1/2",
      "high_work_MiB": 1,
      "bound_ms": "8",
      "display": {
        "wait_ms": "6.5",
        "response_ms": "7.5"
      },
      "wait_ms": "13/2",
      "response_ms": "15/2",
      "trace": [
        {
          "job": "L0",
          "start": "0",
          "end": "7"
        },
        {
          "job": "H",
          "start": "7",
          "end": "8"
        },
        {
          "job": "L1",
          "start": "8",
          "end": "9"
        }
      ]
    }
  ]
}
