# Replica bursts: counts, capacity and completion time

Exact synthetic arithmetic, generated 2026-11-20. No device measurements,
random sampling, estimated confidence intervals or C3 implementation.

## Why this audit exists

C3 (Suresh et al., NSDI 2015), section 2.2 and Figure 1, describes
three clients with four requests each and servers labeled 4 and 10 ms.
It prints 60 ms for the equal allocation and 32 ms for an ideal allocation.
Hesela previously repeated both numbers without checking the completion model.
The publisher copy (printed page 515) and author copy (page 3) both carry that
32 ms label in the figure and paragraph; sources.json identifies both PDF hashes.
The source labels are retained in results.json separately from our calculation.
This audit corrects Hesela's unqualified statement, not the paper's empirical results.

## Explicit contract and independent answer

Twelve indivisible jobs arrive at time zero. Both servers start empty.
Every job is eligible at either server, takes exactly 4 ms on A or 10 ms on B,
and runs serially within that server. The two servers operate concurrently.
Dispatch and network overhead are zero; no retries, cancellations or new arrivals.
Completion means the end of service, not its start.

For k jobs on A the last completion is max(4*k, 10*(12-k)) ms.
All thirteen integer allocations are enumerated. The unique minimum is
36 ms at (9,3); the equal split (6,6) takes 60 ms.

A separate capacity proof avoids trusting that enumeration.
By 32 ms the servers can finish at most floor(32/4)+floor(32/10)=11 jobs.
The same bound holds through 35 ms. At 36 ms it becomes 12.
Equivalently, sort the potential completion slots 4,8,12,... and 10,20,30,...;
the twelfth slot is 36. An eleven-job control genuinely reaches 32 at (8,3).

Counting only waiting time would yield 32 for (9,3), but then the equal
split has maximum waiting time 50, not 60. This does not reconcile both labels
under one common definition. We do not infer the authors' intended convention.
Service variability, staggered arrivals or parallel service require another model.

## Local knowledge is a separate limitation

An intentionally simple comparison policy chooses the smaller
(local outstanding count + 1) * fixed service time; ties choose A.
Every client assigns its whole burst before service or feedback. The counter
tracks only that client's requests, including any future in-service request.
This policy is NOT C3, whose ranking and rate-control mechanisms differ.

Keep the same twelve jobs and 4/10 ms service times, but divide them equally
among 1, 2, 3, 4, 6 or 12 clients. The resulting total allocations are
(9,3), (10,2), (9,3), (8,4), (12,0), (12,0), respectively.
Thus exact local counts and correct service times do not reveal all assigned
work. One client obtains 36 ms; twelve one-job clients independently select A
and need 48 ms. This is a finite counterexample, not a general ranking of policies.
A serialized global-count control reaches (9,3) for all these partitions.

The homogeneous Poisson/FIFO/exponential-service model in Mitzenmacher (2001)
is another contract; its equilibrium results do not predict this finite burst.

## Reproduction

Python 3 standard library only; no dependencies, seed or private inputs.

```sh
python3 -B model.py --check
python3 -B -m unittest discover -s . -p test_model.py
python3 -B -O -m unittest discover -s . -p test_model.py
```

Use --write to regenerate results.json and SHA256SUMS after an intentional
source change. Tests enumerate 4096 labeled twelve-job assignments, compare
1920 small cases with an independent completion-slot oracle, retain all
optimal ties, validate inputs, and check trace conservation and scaling.

sources.json records exact source locators and the publisher PDF hash.
Third-party papers and figures are not redistributed in this package.
No field reliability, p99 improvement or current vendor-product behavior is asserted.
