Keep both start events

Eight requests complete. Measured from actual dispatch, only one misses a 3 ms deadline. Measured from its planned send time, six miss. The completion events are identical. The difference is when the stopwatch starts.[2][3]

This is an original synthetic scheduling example, not a server benchmark. We plan eight logical requests at 0, 1, 2, 3, 4, 5, 6 and 7 ms. One FIFO server needs 1 ms of work per request. It cannot perform work during the half-open interval [2, 6). A request that finishes at 2 ms is complete; work can resume at 6 ms.[3]

The main load issuer waits for the previous response before sending its next request. It also respects the planned send time, so actual dispatch is the later of those two events. Requests r0 and r1 finish at 1 and 2 ms. Request r2 is dispatched at 2 ms but cannot finish until 7 ms. That completion releases r3, whose planned send time was 3 ms.[2][3]

  • Declare the start event: Actual send and intended send answer different questions.

Account for issuer delay

The later requests therefore leave at 7, 8, 9, 10 and 11 ms. Each finishes 1 ms after dispatch. A dispatch-relative timer reports that short interval correctly, but it starts after the issuer has already fallen behind its plan. For r3, completion at 8 ms minus dispatch at 7 ms is 1 ms; completion at 8 ms minus the planned send at 3 ms is 5 ms.[2]

Every row satisfies the same identity: schedule-relative duration equals issuer delay plus dispatch-relative duration. Both metrics retain all eight request IDs and use the same completion event. The 3 ms threshold is an illustrative inclusive deadline: exactly 3 ms meets it. There is no missing-request reconstruction or statistical estimate hidden in the comparison.[3][2]

All eight main requests. Times and durations are fictional milliseconds; the server pauses during [2,6).

RequestPlanned sendDispatchCompleteFrom dispatchFrom plan
r000111
r111211
r222755
r337815
r448915
r5591015
r66101115
r77111215
  • A duration greater than the illustrative 3 ms deadline misses; equality meets.
  • The two duration columns use each row’s same completion event. Planned times are intended demand, not observed arrivals.

Compare the declared controls

The independent-dispatch control sends each request at its planned time even while earlier work is unfinished. Both durations then agree and report six misses. Actual dispatch traffic has changed, so this is not a comparison under the same offered arrival stream. In this specific FIFO model the completion sequence happens to match the main arm; that equality is not a general property of servers.[2][3]

The no-pause control keeps the response-gated issuer. It completes every request 1 ms after both planned send and actual dispatch, so neither metric records a miss. Together, these controls isolate the interaction between response feedback, the authored pause and the chosen start event. The retained output contains all eight main rows, sixteen control-scenario rows and fourteen separate authored checks.[2][3]

  • Retain issuer delay: Keep the plan and actual dispatch alongside completion.

Declare the measurement boundary

Gil Tene and the wrk2 contributors describe why intended-send and actual-send latency can differ when a load generator slows with responses. Their explanation is background for the measurement boundary. Our download is an independent, tiny standard-library model; it does not run wrk2, reproduce its measurements or implement histogram correction.[1][3]

For a real evaluation, declare whether the objective begins at actual dispatch or at a predeclared demand schedule. Retain planned send, actual send and completion timestamps separately, with their clock domains. Planned demand is not evidence that a request arrived at the server. A fast-looking dispatch interval cannot, by itself, establish that the workload met its schedule.[1][4]

  • Choose the latency start event before interpreting a deadline count.

Sources

  1. wrk2 README — latency measurement technique, Gil Tene and contributors github.com
  2. Complete retained original output data.nodus-compute.ai
  3. MIT runnable proof, fixture and protocol data.nodus-compute.ai
  4. Source and saved-result provenance data.nodus-compute.ai
  5. Vector figure data.nodus-compute.ai