{
  "schema_version": 1,
  "generated": "2026-11-20",
  "kind": "constructed analytic examples",
  "methods": {
    "ps": "E[T] = E[S]/(1-rho); E[T | S=x] = x/(1-rho)",
    "fcfs": "E[T] = E[S] + lambda E[S^2]/(2(1-rho))",
    "load": "rho = lambda E[S]; lambda converted from requests/s to requests/ms"
  },
  "assumptions": [
    "Independent Poisson arrivals and iid positive service requirements",
    "One constant-capacity server; stationary regime; rho < 1",
    "Unlimited admission; no abandonment, interruptions or switching overhead",
    "PS: continuous equal sharing among all present jobs",
    "FCFS: nonpreemptive first-come-first-served; finite second moment"
  ],
  "limitations": "Not device measurements, a finite trace, p99 or a completion guarantee.",
  "generator_sha256": "5ab8a1aa21d27b130663f865878571025782826d51c7d6c90e7d698003b26c95",
  "rows": [
    {
      "id": "constant-200",
      "service": "Always 1 ms",
      "distribution": [
        {
          "probability": "1",
          "service_ms": "1"
        }
      ],
      "arrivals_per_second": 200,
      "exact": {
        "mean_service_ms": "1",
        "second_moment_ms2": "1",
        "utilization": "1/5",
        "ps_mean_response_ms": "5/4",
        "fcfs_mean_response_ms": "9/8",
        "ps_conditional_mean_slowdown": "5/4"
      },
      "mean_service_ms": 1.0,
      "second_moment_ms2": 1.0,
      "utilization": 0.2,
      "ps_mean_response_ms": 1.25,
      "fcfs_mean_response_ms": 1.125,
      "ps_conditional_mean_slowdown": 1.25
    },
    {
      "id": "mixture-200",
      "service": "99% at 0.5 ms; 1% at 50.5 ms",
      "distribution": [
        {
          "probability": "99/100",
          "service_ms": "1/2"
        },
        {
          "probability": "1/100",
          "service_ms": "101/2"
        }
      ],
      "arrivals_per_second": 200,
      "exact": {
        "mean_service_ms": "1",
        "second_moment_ms2": "103/4",
        "utilization": "1/5",
        "ps_mean_response_ms": "5/4",
        "fcfs_mean_response_ms": "135/32",
        "ps_conditional_mean_slowdown": "5/4"
      },
      "mean_service_ms": 1.0,
      "second_moment_ms2": 25.75,
      "utilization": 0.2,
      "ps_mean_response_ms": 1.25,
      "fcfs_mean_response_ms": 4.21875,
      "ps_conditional_mean_slowdown": 1.25
    },
    {
      "id": "constant-800",
      "service": "Always 1 ms",
      "distribution": [
        {
          "probability": "1",
          "service_ms": "1"
        }
      ],
      "arrivals_per_second": 800,
      "exact": {
        "mean_service_ms": "1",
        "second_moment_ms2": "1",
        "utilization": "4/5",
        "ps_mean_response_ms": "5",
        "fcfs_mean_response_ms": "3",
        "ps_conditional_mean_slowdown": "5"
      },
      "mean_service_ms": 1.0,
      "second_moment_ms2": 1.0,
      "utilization": 0.8,
      "ps_mean_response_ms": 5.0,
      "fcfs_mean_response_ms": 3.0,
      "ps_conditional_mean_slowdown": 5.0
    },
    {
      "id": "mixture-800",
      "service": "99% at 0.5 ms; 1% at 50.5 ms",
      "distribution": [
        {
          "probability": "99/100",
          "service_ms": "1/2"
        },
        {
          "probability": "1/100",
          "service_ms": "101/2"
        }
      ],
      "arrivals_per_second": 800,
      "exact": {
        "mean_service_ms": "1",
        "second_moment_ms2": "103/4",
        "utilization": "4/5",
        "ps_mean_response_ms": "5",
        "fcfs_mean_response_ms": "105/2",
        "ps_conditional_mean_slowdown": "5"
      },
      "mean_service_ms": 1.0,
      "second_moment_ms2": 25.75,
      "utilization": 0.8,
      "ps_mean_response_ms": 5.0,
      "fcfs_mean_response_ms": 52.5,
      "ps_conditional_mean_slowdown": 5.0
    }
  ],
  "finite_batch": {
    "kind": "constructed deterministic finite batch",
    "method": "T = x + sum(min(x, r_i))",
    "assumptions": [
      "No future arrivals; all other work is present at time zero",
      "Ideal equal sharing, constant unit capacity, no overhead or interruptions",
      "Service requirements and remaining work are full-rate milliseconds"
    ],
    "limitations": "Not a stationary M/G/1 mean or a device measurement.",
    "rows": [
      {
        "id": "unequal",
        "tagged_service_ms": "1",
        "other_remaining_ms": [
          "1/4",
          "7/4"
        ],
        "other_job_count": 2,
        "total_other_remaining_ms": "2",
        "completion_ms_exact": "9/4",
        "completion_ms": 2.25
      },
      {
        "id": "equal",
        "tagged_service_ms": "1",
        "other_remaining_ms": [
          "1",
          "1"
        ],
        "other_job_count": 2,
        "total_other_remaining_ms": "2",
        "completion_ms_exact": "3",
        "completion_ms": 3.0
      }
    ]
  }
}
