Closed-loop load
A closed-loop load model uses a fixed client population whose next request follows completion of a previous request, optionally after think time.
The model fits when that feedback matches the application, such as a fixed set of users who each wait for a reply and think before the next request. A longer response also slows future arrivals, which changes the question compared with independent demand. [1]
With one outstanding request per client, N bounds the total queued and executing requests, not their response times. NSDI 2006 reported much lower mean response times in its closed-model case studies and significant differences even at N = 1000. Those comparisons depend on the studied load, service demands and scheduling; the population bound alone is not a universal latency comparison. [1]
Many load testers are closed-loop by construction because worker threads block on each request, so each thread is exactly one potentially outstanding request. In an ISCA 2016 comparison, closed-loop runs with 4, 8 and 12 connections showed far fewer outstanding requests than an open-loop run at 80% utilization, which biased tail latency low. [3]
Counterexample: One client issues one request at time zero, with 1 ms of normal service. Adding a 59,999 ms service pause makes its response time 60,000 ms while only one request is outstanding. Any larger pause extends the response without increasing the population. This constructed example uses Hesela's existing timing model; it is not a measured storage latency. [4]
Think time: For a steady-state fixed population, N = X x (R + Z), where X is achieved completions per second and R and Z are mean response and think time in seconds. With N = 32, R = 2 ms and Z = 2 ms, X = 8,000/s and average in-flight occupancy X x R = 16, not 32. These are illustrative inputs, not a prediction that a device sustains that rate. [5]
Relations
Advantages
- One outstanding request per client bounds this closed population's queued and executing requests by N. It does not guarantee timely completion or prevent a stalled test. [1]
Limitations
- NSDI 2006 found less benefit from favoring short jobs in its closed workloads; compare scheduling policies under the arrival model and parameter range relevant to the application. [1]
Citations
- Schroeder, Wierman and Harchol-Balter. Open Versus Closed: A Cautionary Tale. USENIX NSDI 2006, sections 1-5.
- Zhang, Meisner, Mars and Tang. Treadmill: Attributing the Source of Tail Latency through Precise Load Testing and Statistical Inference. ISCA 2016
- Hesela deterministic FIFO timing model: closed mode with durationMs=1, intervalMs=1, serviceMs=1 and pauseMs=59999.
- MIT 6.826, Principles of Computer Systems (2006), Handout 10: Performance, printed page 9, Servers with finite load.
Further reading
Sources & caveats
- schroeder is the NSDI 2006 paper by Schroeder, Wierman and Harchol-Balter (Carnegie Mellon University), read in sections 1 to 5.
- treadmill is the ISCA 2016 paper by Zhang, Mars and Tang (University of Michigan) and Meisner (Facebook), read in sections 1 and 2 from an author-hosted copy.
- The order of magnitude and the MPL of 1000 come from schroeder. 4, 8 and 12 connections and 80% utilization come from treadmill, Figure 1.
- The single-client stall and N=32 think-time examples are explicit Hesela constructions, not values reported by NSDI 2006 or ISCA 2016. A count bound does not become a response-time guarantee.