Coordinated omission is a measurement error in load testing: when the server slows down, a closed-loop load generator waits for each response before sending the next request, so it stops sending during the slow period and records a handful of slow samples instead of the hundreds that real users would have suffered. The percentiles it prints look healthy while users time out.
We measured it. A test server answered every request in 10 ms except for one 2-second stall. Users arriving at 200 a second would have seen a p99 of 1,715 ms. Closed-model runs in k6, JMeter, hey and wrk reported a p99 between 12 and 18 ms for the same stall. Open-model runs in k6 and JMeter reported 1,718 and 1,765 ms.
Key Takeaways
- A closed-loop tool (each virtual user waits for its response) sends almost nothing while the server stalls. In our runs it sent 0 to 2 requests during a 2-second stall; an open-model run sent 395 to 400.
- In k6, hey and JMeter the slow samples do appear, but there are only two of them among about 5,000, so they land above the 99.9th percentile and only the max shows them. wrk dropped them as timeouts.
- k6’s arrival-rate executors and JMeter’s Open Model Thread Group measured the stall correctly: p95 522 and 546 ms against a true 515 ms, p99 1,718 and 1,765 ms against 1,715 ms.
- wrk corrects for the missing samples after the run, but its default 2-second timeout threw the two stalled responses away first. With
--timeout 5sit printed a p99 of 1.70 s. - In a closed-model test, the throughput chart is the tell: completed requests fell from about 178 a second to none for a full second during the stall.
What is coordinated omission?
The term describes what happens when the load generator and the system under test coordinate by accident: the server slows down, the generator waits, and the requests that would have arrived during the slow period are never sent, so they are never measured. The term comes from Gil Tene, who built HdrHistogram and wrk2. The latencies the tool records are real; the ones it omits are the problem.
The k6 documentation describes the same effect from the other side. In a closed model, “the target system’s response time can influence the throughput of the test. Slower response times means longer iterations and a lower arrival rate of new iterations”, and it adds that “in some testing literature, this problem is known as coordinated omission”. The JMeter best practices page warns that if you do not size the number of threads correctly, “you will face the ‘Coordinated Omission’ problem which can give you wrong or inaccurate results.”
The wrk2 README puts it most plainly: when a tool measures latency “from the sending of the first byte of the request” and each connection waits for its response before sending again, “high latency responses result in the load generator coordinating with the server to avoid measurement during high latency periods.”
How big is the error? One stall, six measurements
In our test the closed-model tools reported about a hundredth of the real p99. Users arriving at 200 a second would have seen a p99 of 1,715 ms through a 2-second stall, while four closed-model runs reported a p99 of 12 to 18 ms. The two open-model runs reported 1,718 and 1,765 ms, within 3% of the true value.
The test server is a small Node.js program on the same laptop as the load generators. It answers every request after 10 ms, except that any request in flight between 10 and 12 seconds into the run is held until the 12-second mark. Each tool ran for 30 seconds against a fresh copy of the server, aiming at about 200 requests a second. The “true” row is computed, not measured: 6,000 users arriving evenly at 200 a second, each given the latency the server’s own rule would give them. The other rows come from each tool’s raw per-request output (k6 CSV, hey CSV, JMeter CSV), with percentiles computed by one script.
| Run | Model | Samples | Sent during the stall | p95 | p99 | Max |
|---|---|---|---|---|---|---|
| True latency at 200 arrivals a second (computed) | open | 6,000 | 400 | 515 ms | 1,715 ms | 2,015 ms |
k6 1.7.1, constant-vus, 2 VUs | closed | 5,000 | 2 | 11.8 ms | 12.3 ms | 2,011 ms |
hey 0.1.5, -c 2 -q 100 | closed | 4,861 | 0 | 13.2 ms | 17.4 ms | 2,013 ms |
| JMeter 5.6.2, Thread Group, 2 threads | closed | 4,693 | 2 | 14 ms | 18 ms | 2,011 ms |
wrk 4.2.0, -t2 -c2 (printed summary) | closed | 4,970 | 2 | not printed | 16.41 ms | 24.30 ms |
k6 1.7.1, constant-arrival-rate 200/s | open | 6,000 | 400 | 522 ms | 1,718 ms | 2,017 ms |
JMeter 5.6.2, Open Model rate(200/sec) | open | 6,000 | 395 | 546 ms | 1,765 ms | 2,031 ms |
“Sent during the stall” is counted by the server: requests it received between the 10- and 12-second marks. hey shows 0 because both of its workers had sent their requests a few milliseconds before the stall began, and both waited it out.
The k6, hey and JMeter closed-model runs did record the stall: their max is about 2,011 ms. But the stall held two requests, one per connection, among roughly 5,000, so they sit above the 99.9th percentile. wrk did not record it at all, for a reason explained below. The table of percentiles, which is what most people read, says the service is fast.
The JMeter Open Model run used random (Poisson) arrivals rather than evenly spaced ones and opened a new connection for many of them, which may explain its slightly higher percentiles. k6’s own summary printed the same values as our script to rounding: p(99)=12.25ms for the closed run and p(99)=1.71s for the open one.
Why does a closed model hide slow responses?
A closed model ties the arrival of the next request to the completion of the last one, so the load falls exactly when the server is slowest. Two virtual users with no think time can only have two requests in flight; when both are stuck, the test sends nothing, and the 400 requests that 200 users a second would have sent never exist.
The k6 progress lines from the closed run show it. The test had completed 1,774 iterations at the 10-second mark, 1,778 at 11 seconds, still 1,778 at 12 seconds, and 1,956 at 13 seconds. For two seconds the test was waiting with the server, and the results contain two samples from the stall instead of about 400.

The chart shows the same two k6 runs from the server’s side. The open-model test kept sending 200 requests a second through the stall, and the server held all of them, which is why its percentiles saw the stall. The closed-model test sent 2 requests in the first second of the stall and none in the second.
Adding virtual users narrows the gap but does not remove it: each one still waits, so a stall longer than the pool can absorb produces the same silence. The error also scales with how long the stall lasts compared with the run. A 2-second stall in a 30-second test touched 6.7% of the open-model arrivals. The same stall in a one-hour soak test touches 0.06% of arrivals, so even the true p99 barely moves, and only a percentile above the 99.9th or a per-second view shows it.
How do you avoid coordinated omission?
Generate load with an open model, where requests start on a schedule whatever the server is doing, and give the tool enough virtual users or connections to keep that schedule through a stall. When a closed model is the right fit for the test, compensate for it, and read throughput over time next to the percentiles.
Use an arrival-rate executor in k6
k6 has two open-model executors, constant-arrival-rate and ramping-arrival-rate. This is the scenario from the table:
import http from 'k6/http';
export const options = {
scenarios: {
open: {
executor: 'constant-arrival-rate',
rate: 200,
timeUnit: '1s',
duration: '30s',
preAllocatedVUs: 600,
maxVUs: 1000,
},
},
};
export default function () {
http.get('http://127.0.0.1:18080/');
}
During the stall k6 needed one virtual user per waiting request: its progress line showed 393 of 600 VUs busy at the 12-second mark. Size preAllocatedVUs and maxVUs for the slowest moment you expect, not the average. When the pool runs dry, k6 skips iterations and counts them in dropped_iterations instead of sending them late, and the k6 vs Gatling slowdown test shows how much that can cost: with maxVUs: 100, k6 delivered 50 of 100 arrivals a second and dropped 1,010 iterations. The k6 scenarios guide covers the other executors.
Use the Open Model Thread Group in JMeter
JMeter’s Open Model Thread Group starts threads on a schedule. The run in the table used this schedule:
rate(200/sec) random_arrivals(30 sec) pause(4 sec)
The trailing pause lets requests that are still in flight finish before the schedule ends. The JMeter manual marks this thread group as experimental. The classic Thread Group with a Constant Throughput Timer is still a closed model: the timer only adds delays, so it cannot send more when responses are slow. The JMeter thread groups guide compares the types.
Know what wrk, hey and autocannon do
wrk 4 compensates after the run. Its stats_correct function takes the average interval between requests on a connection and, for every recorded latency longer than twice that interval, adds the samples a connection sending at that pace would have recorded. In our first run it had nothing to correct: wrk’s default timeout is 2 seconds, a response slower than the timeout is counted as a timeout and left out of the latency statistics, and our stalled responses took 2.01 s. The summary showed Socket errors: ... timeout 2 and a max of 24.30 ms. With --timeout 5s, the same test printed a p99 of 1.70 s, close to the true 1,715 ms. The wrk tutorial has more on its timeout handling.
hey has no correction: it records each request’s own duration. Its -q rate limit paces each worker but never sends while the worker waits, which is why it sent nothing during the stall. autocannon’s -R mode does apply a correction, but we found it back-fills with a 1 ms interval, which distorts its percentiles instead; the autocannon tutorial shows the numbers.
When a closed model is the right choice
A closed model is not a mistake. It answers a different question: how does the system behave with a fixed number of clients that each wait for a response? That is the right model for a pool of workers draining a queue, a mobile app with one request in flight per user, or a fixed set of internal clients. It is the wrong model for asking what latency the public will see when they arrive at a known rate. The error only bites when you read a closed-model test’s percentiles as an answer to the open-model question.
How to spot missing samples in a closed-model result
Look at throughput over time, not only percentiles. In a closed-model run, a server stall shows up as a dip in requests per second while the number of active users stays flat, and the max response time jumps while p95 and p99 stay low. A large gap between p99.9 and max is the same signal in a summary.
Three checks work with any tool:
- Compare the rate during a slowdown with the rate before it. A closed-model test sends as fast as the server answers, so its overall rate is set by the server. A sudden drop in completed requests with no change in users means the server stopped answering.
- Plot completed requests per second. k6 went from about 178 a second to none for a full second during the stall. A dip with flat users is a stall the percentiles will not show.
- Read the max and the 99.9th percentile. In the k6, hey and JMeter closed runs the max was about 2,011 ms while p99 was under 20 ms. One slow request among thousands is not noise if every connection hit it at the same moment.
Averages hide this even more than percentiles do; the percentiles guide explains why the tail matters.
Are LoadFocus tests closed-model?
LoadFocus runs a test with the number of virtual users you set for it, so its tests are closed-model in the sense used here. You set virtual users, duration and ramp-up for each run, and when an uploaded k6 script uses arrival-rate scenarios, LoadFocus’s script check warns that they run with a fixed number of users rather than a fixed request rate.
That makes the checks above the way to read a LoadFocus result. The LoadFocus load testing results include Hits/second and Throughput/second charts next to the 50th, 90th and 99th percentiles, and a test’s pass/fail thresholds can include a minimum throughput as well as a maximum P95 and P99. Use the Hits/second chart to spot a short stall: the line drops while the users stay flat, even when p99 does not move. The minimum-throughput threshold is checked against the run’s average rate, so it catches a sustained slowdown rather than a two-second one.
Frequently Asked Questions
What is coordinated omission in simple terms?
It is the gap a load test leaves when the server slows down and the test slows down with it. Each simulated user waits for its response before sending the next request, so during a stall almost nothing is sent and almost nothing slow is recorded. The percentiles then describe the fast periods and miss the slow one.
Does k6 suffer from coordinated omission?
k6’s default executors are closed-model and do: in our test, a 2-second stall left the p99 at 12 ms. Its arrival-rate executors (constant and ramping arrival rate) start iterations on a schedule and measured a p99 of 1,718 ms against a true 1,715 ms, as long as the virtual user pool was large enough.
Does JMeter suffer from coordinated omission?
A classic Thread Group does, with or without a Constant Throughput Timer, because each thread waits for its response. In our test it reported a p99 of 18 ms through a 2-second stall. The Open Model Thread Group schedules arrivals and reported 1,765 ms.
How do you fix coordinated omission?
Generate load with an open model at a fixed arrival rate, with enough virtual users to keep the schedule through a slowdown. If you must use a closed model, apply a correction such as wrk’s, read the max and the 99.9th percentile, and compare actual throughput with the planned rate.
Is a closed-model load test wrong?
No. It measures how a system behaves with a fixed number of clients that wait for responses, which matches worker pools and other systems with a fixed client count. It becomes misleading when its percentiles are read as the latency that users arriving at a known rate would see.
Sources
- Closed and open models, and the k6 docs’ description of coordinated omission: grafana.com/docs/k6/latest/using-k6/scenarios/concepts/open-vs-closed/, November 2026.
- Thread sizing and the “Coordinated Omission” warning: Apache JMeter best practices, November 2026.
- Open Model Thread Group (experimental) and the Constant Throughput Timer: Apache JMeter component reference, November 2026.
- Coordinated omission in wrk’s latency model and constant-rate measurement: github.com/giltene/wrk2, README, November 2026.
- hey records each request’s own duration (no correction): github.com/rakyll/hey,
requester/requester.goat v0.1.5, November 2026. - wrk’s
stats_correct, its 2,000 ms default timeout and timeouts excluded from latency statistics: github.com/wg/wrk,src/wrk.c,src/wrk.handsrc/stats.cat tag 4.2.0, November 2026. - Chart: requests per second counted from the test server’s own log for the two k6 runs.
- Test runs: k6 1.7.1, JMeter 5.6.2 (Java 11), hey 0.1.5 and wrk 4.2.0 against a local Node.js 23.11.1 test server on 127.0.0.1, Apple M1 Max, macOS 15.7, 23 November 2026. The current releases are k6 2.4.0 and JMeter 5.6.3; we did not repeat the runs on them. Timings show the pattern, not a benchmark.