Skip to content

Results

Failures through a middlebox and a proxy

The measured numbers of this page are a study of redis 7.4 and kernel 6.17.0. The data comes from data file topologies-2026-10-17.json of 2026-10-17, on redis 7.4 and kernel 6.17.0. The oldest data of this page is 37 days old at this build, on 2026-11-23. The age limit of this data is 30 days, from 2026-12-07. The subject is code of this repository, thus a change of the code can change the numbers.

Catalogs
T03 · T02 · TOX
Date
2026-10-17
Kernel
Linux 6.17 · HZ 1000
Cells
46
Runs
506 runs
39 hold7 measured

These are the results of step 3 of the testing program, from 2026-10-17. In step 3, the harness puts a chain of hops between the client and a stock Redis 7.4. A hop is a router or a proxy. Three new catalogs use the chain: T03 through a NAT router, T02 through HAProxy, and TOX with Toxiproxy as the subject. Each cell has 11 runs in 2 fresh environments, and each environment starts with one warm-up run that the verdict does not count.

CI started the cells on the hosted runners of GitHub. The kernel is Linux 6.17, with HZ 1000. The full run of the catalogs at main, 39074841434, did the 46 cells with each other catalog, in 12 shards.

Of the 46 cells, 39 hold against the prediction of the algebra, and 7 are measurements only. Each of these 7 cells measures what HAProxy or Toxiproxy does. The program has no machine document for these two proxies yet, thus the algebra cannot predict them. No cell fails, and no run of the 506 is void.

The first run of step 3, on 2026-10-16, was on a development VM with Linux 6.6 at HZ 250. It had 42 cells, and 5 of them failed. The section what the first run found keeps what its runs showed.

  • O03 decides all three forms. A keepalive at 4 s keeps the flow in a router that forgets at 5 s, thus nothing detects anything in 15 s. At 6 s, the router forgets the flow 4.9998 s to 5.051 s after the last segment. Then a reset-both router resets the flow at the forget, with a median of 5.039 s. A reset-next router resets the first probe (6.305 s), and a silent-drop router lets the keepalive give up (9.322 s). These are the times of the algebra.
  • The server side obeys the same border. At tcp-keepalive 6, a reset-both router resets the two ends at 5.027 s. A reset-next router drops the probe of Redis, and Redis gets ETIMEDOUT at 12.44 s. Under none, the stack of the router resets the probe at 6.24 s. After 8 s idle, a request under recreate starts the flow again, and each run got its reply.
  • A fault at the router gives the time of the direct pair. The router puts each fault on its device toward one side. The client meets what the rules of the fault let through, as on the direct pair. A host unreachable from the router ends a request at 3.12 s, and a black hole at 6.176 s. An idle connection behind a black hole ends at 11.34 s. A reset from the router ends a request at 122 µs. Each cell has the band of the same fault on the network failures.
  • The conntrack of a router still acts behind its own black hole. Conntrack sees each segment before the rules of the fault drop it. Thus each retransmission of the client refreshes the flow. The router forgets the flow 5 s after the last retransmission before a longer wait. At tcp_retries2 = 8, a reset-both router then resets the two ends at 11.602 s, before the give-up of the client. Idle, a reset-both router resets at 5.035 s. A plain NAT router lets a late probe into the black hole, thus the keepalive gives up at 9.399 s.
  • The idle timeouts of HAProxy ignore TCP keepalive. With a client keepalive of 2 s, timeout client 5s closes the connection at 5.003 s. With a probe from Redis each 2 s, timeout server 5s also closes at 5.003 s. Thus a keepalive that satisfies O03 for a middlebox at layer 4 does nothing for a proxy at layer 7. In this run, O03 had no clause for the idle timer of a proxy. Since SYS-31, O03 reads the document HAPROXY_TCP as a middlebox, and only data refreshes it.
  • The client learns of a dead server only through HAProxy. A black hole at Redis reaches the client as an EOF at 6.112 s. That is when the keepalive of HAProxy gave up on Redis: its socket gave up at 6.105 s. On the leg of the client, the socket of HAProxy gave up at 6.111 s, and the keepalive of the client took 11.318 s.
  • Toxiproxy changes resets and timeouts into normal closes. A reset at the server reaches the client through Toxiproxy as an EOF at 0.437 ms. On the direct pair, the same reset is ECONNRESET at 0.096 ms, as the algebra predicts. A black hole at the server reaches the client as an EOF at 6.573 s. That is the give-up of the retransmissions of Toxiproxy itself, at tcp_retries2 = 3 in its namespace. Thus a client behind Toxiproxy gets no reset and no timeout from the far end.
  • reset_peer on a live connection sends a FIN, not a reset. The documentation says “Simulate TCP RESET”. But in the source, the close with linger 0 applies only to a connection that starts after the toxic. The catalog predicts the FIN from the source, and each of the 11 runs ended with EOF in its band, with a median of 512 µs.
  • Each band through Toxiproxy includes its own time. Its documentation gives no time of its own. Thus a calibration cell measured it: a 99th percentile of 0.38 ms toward Redis and 0.35 ms toward the client. Each band adds that time for each crossing. Thus limit_data closes in its band, at a median of 0.913 ms. The 51 slices of slicer, 10 ms apart, take 641.6 ms: approximately 2.6 ms more for each slice than its delay. The toxic bandwidth at 100 KB/s moves 500,011 bytes in 5.014 s.
  • No run is void, and each warm-up is in its band. The runners shrink the hash table of conntrack to 16384 buckets. Thus a listing of the table is short, and the longest time of a segment through the router was 0.315 ms.
ClientharnessNAT routerconntrackidle 5 sRedis7.4123
  1. the NAT router, toward the client: a black hole, a reset of the next segment, an ICMP unreachable and a drop in one direction.
  2. The NAT router: it forgets each flow that is idle for 5 s, with one of the forms reset-both, reset-next, silent-drop, recreate and none.
  3. Redis: netem delay 100ms on each segment that it sends.

The router is the router image of the harness: a NAT with conntrack. It forgets an established flow when the flow is idle for 5 s, the 350 s of a cloud NAT divided by 70. Its form tells what a late packet meets after the forget. The prediction of each cell comes from the machine documents of conntrack and of Linux TCP. The law O03 decides if the forget occurs at all: each idle flow must get a refresh before each middlebox on its path forgets it.

On a chart of T03, a diamond on the bottom row is the time when the router forgot the flow. It counts from the last segment that the client received, as each detection of an idle cell does.

DV-12 is the case of a broken O03: the client holds a connection that the router forgot. Its window is the time from the forget to the detection. The table puts a keepalive of the client on each side of the border of O03, for each of the three forms. The router forgets at 5 s.

Form
Window
Keepalive 4 s
O03 holds
Keepalive 6 s
O03 does not hold
reset-both
0
= 0 s
measured 186 µs
holdssilent
11 runs
holds5.039 s
4.999 s to 5.132 s
reset-next
K − Ix
= 1 s
measured 1.277 s
holdssilent
11 runs
holds6.305 s
5.998 s to 6.514 s
silent-drop
K + P·I − Ix
= 4 s
measured 4.307 s
holdssilent
11 runs
holds9.322 s
8.998 s to 9.705 s

K = 6 s is the keepalive idle time of the client, I = 1 s its interval, and P = 3 its count of probes. Ix = 5 s is the idle timeout of the router. At 4 s, the latest refresh is at 4.064 s, before the earliest forget at 5 s. At 6 s, the latest refresh is at 6.512 s, after the forget. The measured window is the median, over the counted runs, of the time from the forget to the detection.

client idle, reset-both, keepidle 4 s
holds
Prediction
silent for 15 s
Median
none
Runs
11 counted · 2 warm-ups

The algebra predicts that no TCP timer fires in a window of 15 s. The harness measured silence in 11 of 11 counted runs.

The router forgets a flow that is idle for 5 s. Its form is reset-both. When it forgets the flow, it sends a reset to the two ends. The observer is the client.

The client sets tcp_keepalive_time = 4, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE. O03 holds: the latest refresh is at 4.064 s, and the earliest forget of the router is at 5 s.

Nothing detected the fault in the 11 counted runs, each of 15 s. 2 warm-up runs (in the table).

client idle, reset-both, keepidle 6 s
holds
Prediction
5 s to 5.131 s
Median
5.039 s
Runs
11 counted · 2 warm-ups
5 s5.05 s5.1 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • The router forgets the flow
  • Median

The algebra predicts ECONNRESET from the expiry of the flow, 5 s to 5.131 s after the last segment that the observer received. Each counted run ended with ECONNRESET.

The router forgets a flow that is idle for 5 s. Its form is reset-both. When it forgets the flow, it sends a reset to the two ends. The observer is the client.

The client sets tcp_keepalive_time = 6, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE. O03 does not hold: the latest refresh is at 6.512 s, and the earliest forget of the router is at 5 s.

11 of the 11 counted runs are in the band of 4.999 s to 5.132 s. The median is 5.039 s, and its interval is 5.002 s to 5.05 s. 2 warm-up runs (in the table).

client idle, reset-next, keepidle 4 s
holds
Prediction
silent for 15 s
Median
none
Runs
11 counted · 2 warm-ups

The algebra predicts that no TCP timer fires in a window of 15 s. The harness measured silence in 11 of 11 counted runs.

The router forgets a flow that is idle for 5 s. Its form is reset-next. It answers the next packet from the client with a reset, and it drops a late packet from the server. The observer is the client.

The client sets tcp_keepalive_time = 4, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE. O03 holds: the latest refresh is at 4.064 s, and the earliest forget of the router is at 5 s.

Nothing detected the fault in the 11 counted runs, each of 15 s. 2 warm-up runs (in the table).

client idle, reset-next, keepidle 6 s
holds
Prediction
5.999 s to 6.513 s
Median
6.3055 s
Runs
11 counted · 2 warm-ups
5 s5.5 s6 s6.5 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • The router forgets the flow
  • Median

The algebra predicts ECONNRESET from a reset, 5.999 s to 6.513 s after the last segment that the observer received. Each counted run ended with ECONNRESET.

The router forgets a flow that is idle for 5 s. Its form is reset-next. It answers the next packet from the client with a reset, and it drops a late packet from the server. The observer is the client.

The client sets tcp_keepalive_time = 6, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE. O03 does not hold: the latest refresh is at 6.512 s, and the earliest forget of the router is at 5 s.

11 of the 11 counted runs are in the band of 5.998 s to 6.514 s. The median is 6.305 s, and its interval is 6.042 s to 6.488 s. 2 warm-up runs (in the table).

client idle, silent-drop, keepidle 4 s
holds
Prediction
silent for 15 s
Median
none
Runs
11 counted · 2 warm-ups

The algebra predicts that no TCP timer fires in a window of 15 s. The harness measured silence in 11 of 11 counted runs.

The router forgets a flow that is idle for 5 s. Its form is silent-drop. It drops each late packet, in each direction. The observer is the client.

The client sets tcp_keepalive_time = 4, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE. O03 holds: the latest refresh is at 4.064 s, and the earliest forget of the router is at 5 s.

Nothing detected the fault in the 11 counted runs, each of 15 s. 2 warm-up runs (in the table).

client idle, silent-drop, keepidle 6 s
holds
Prediction
8.999 s to 9.704 s
Median
9.3216 s
Runs
11 counted · 2 warm-ups
5 s6 s7 s8 s9 s10 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • The router forgets the flow
  • Median

The algebra predicts ETIMEDOUT from keepalive, 8.999 s to 9.704 s after the last segment that the observer received. Each counted run ended with ETIMEDOUT.

The router forgets a flow that is idle for 5 s. Its form is silent-drop. It drops each late packet, in each direction. The observer is the client.

The client sets tcp_keepalive_time = 6, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE. O03 does not hold: the latest refresh is at 6.512 s, and the earliest forget of the router is at 5 s.

11 of the 11 counted runs are in the band of 8.998 s to 9.705 s. The median is 9.322 s, and its interval is 9.219 s to 9.531 s. 2 warm-up runs (in the table).

The client has no keepalive. It stays idle for 8 s, after the latest forget, and then it sends its request into a forgotten flow.

client in flight after 8 s idle, reset-next
holds
Prediction
0 s to 1 ms
Median
116 µs
Runs
11 counted · 2 warm-ups
0 µs200 µs400 µs600 µs800 µs1000 µs

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ECONNRESET from a reset, 0 s to 1 ms after the send of the request. Each counted run ended with ECONNRESET.

The router forgets a flow that is idle for 5 s. Its form is reset-next. It answers the next packet from the client with a reset, and it drops a late packet from the server. The observer is the client.

The client is idle for 8 s before it sends its request. O03 does not hold: nothing refreshes the flow.

11 of the 11 counted runs are in the band of −1 ms to 2 ms. The median is 116 µs, and its interval is 105 µs to 121 µs. 2 warm-up runs (in the table).

client in flight after 8 s idle, silent-drop, tcp_retries2 = 3
holds
Prediction
3 s to 6.416 s
Median
6.168 s
Runs
11 counted · 2 warm-ups
3 s4 s5 s6 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ETIMEDOUT from the give-up of the retransmissions, 3 s to 6.416 s after the first retransmission of the RTO timer. Each counted run ended with ETIMEDOUT.

The router forgets a flow that is idle for 5 s. Its form is silent-drop. It drops each late packet, in each direction. The observer is the client.

The client sets tcp_retries2 = 3. The client is idle for 8 s before it sends its request. O03 does not hold: nothing refreshes the flow.

11 of the 11 counted runs are in the band of 2.999 s to 6.417 s. The median is 6.168 s, and its interval is 6.152 s to 6.2 s. 2 warm-up runs (in the table).

client in flight after 8 s idle, recreate
holds
Prediction
0 s to 1 ms
Median
219 µs
Runs
11 counted · 2 warm-ups
0 µs200 µs400 µs600 µs800 µs1000 µs

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back 0 s to 1 ms after the send of the request, and that nothing detects the fault. Each counted run got its reply.

The router forgets a flow that is idle for 5 s. Its form is recreate. It lets a late packet from the client through, and the flow starts again. The observer is the client.

The client is idle for 8 s before it sends its request. O03 does not hold: nothing refreshes the flow.

11 of the 11 counted runs are in the band of −1 ms to 2 ms. The median is 219 µs, and its interval is 205 µs to 248 µs. 2 warm-up runs (in the table).

The observer is the socket of Redis. Its keepalive comes from tcp-keepalive of Redis, thus each probe comes to the router from the outside of the NAT.

server idle, reset-both, tcp-keepalive 6 s
holds
Prediction
5 s to 5.131 s
Median
5.0272 s
Runs
11 counted · 2 warm-ups
5 s5.05 s5.1 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • The router forgets the flow
  • Median

The algebra predicts ECONNRESET from the expiry of the flow, 5 s to 5.131 s after the last segment that the observer received. Each counted run ended with ECONNRESET.

The router forgets a flow that is idle for 5 s. Its form is reset-both. When it forgets the flow, it sends a reset to the two ends. The observer is the socket of Redis.

Redis sets tcp-keepalive 6 and timeout 0. O03 does not hold: the latest refresh is at 6.512 s, and the earliest forget of the router is at 5 s.

11 of the 11 counted runs are in the band of 4.999 s to 5.132 s. The median is 5.027 s, and its interval is 5.012 s to 5.037 s. 2 warm-up runs (in the table).

server idle, reset-next, tcp-keepalive 6 s
holds
Prediction
11.999 s to 12.704 s
Median
12.4397 s
Runs
11 counted · 2 warm-ups
6 s8 s10 s12 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • The router forgets the flow
  • Median

The algebra predicts ETIMEDOUT from keepalive, 11.999 s to 12.704 s after the last segment that the observer received. Each counted run ended with ETIMEDOUT.

The router forgets a flow that is idle for 5 s. Its form is reset-next. It answers the next packet from the client with a reset, and it drops a late packet from the server. The observer is the socket of Redis.

Redis sets tcp-keepalive 6 and timeout 0. O03 does not hold: the latest refresh is at 6.512 s, and the earliest forget of the router is at 5 s.

11 of the 11 counted runs are in the band of 11.998 s to 12.705 s. The median is 12.44 s, and its interval is 12.222 s to 12.628 s. 2 warm-up runs (in the table).

server idle, none, tcp-keepalive 6 s
holds
Prediction
5.999 s to 6.513 s
Median
6.2398 s
Runs
11 counted · 2 warm-ups
5 s5.5 s6 s6.5 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • The router forgets the flow
  • Median

The algebra predicts ECONNRESET from a reset, 5.999 s to 6.513 s after the last segment that the observer received. Each counted run ended with ECONNRESET.

The router forgets a flow that is idle for 5 s. Its form is none. It is a plain NAT router. A late packet from the client starts the flow again. The stack of the router answers a late packet from the server with a reset. The observer is the socket of Redis.

Redis sets tcp-keepalive 6 and timeout 0. O03 does not hold: the latest refresh is at 6.512 s, and the earliest forget of the router is at 5 s.

11 of the 11 counted runs are in the band of 5.998 s to 6.514 s. The median is 6.24 s, and its interval is 6.063 s to 6.388 s. 2 warm-up runs (in the table).

server idle, reset-both, tcp-keepalive 4 s
holds
Prediction
silent for 15 s
Median
none
Runs
11 counted · 2 warm-ups

The algebra predicts that no TCP timer fires in a window of 15 s. The harness measured silence in 11 of 11 counted runs.

The router forgets a flow that is idle for 5 s. Its form is reset-both. When it forgets the flow, it sends a reset to the two ends. The observer is the socket of Redis.

Redis sets tcp-keepalive 4 and timeout 0. O03 holds: the latest refresh is at 4.064 s, and the earliest forget of the router is at 5 s.

Nothing detected the fault in the 11 counted runs, each of 15 s. 2 warm-up runs (in the table).

The router puts the fault on its device toward one side, as rules of its own namespace. A reject answers from the router: a reset with the address of the target, or an ICMP error from the address of the router. A plain NAT router passes each segment that the rules let through, thus each fault gives the band of the direct pair. A reset-both router that forgets the flow while the fault holds resets the two ends from its own stack, past the rules.

client idle, blackhole at the router, keepidle 5 s, none
holds
Prediction
10.999 s to 11.704 s
Median
11.3403 s
Runs
11 counted · 2 warm-ups
6 s8 s10 s12 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • The router forgets the flow
  • Median

The algebra predicts ETIMEDOUT from keepalive, 10.999 s to 11.704 s after the last segment that the observer received. Each counted run ended with ETIMEDOUT.

The fault is a black hole at the NAT router toward the client. The observer is the client.

The client sets tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 10.998 s to 11.705 s. The median is 11.34 s, and its interval is 11.184 s to 11.551 s. 2 warm-up runs (in the table).

client idle, blackhole at the router, keepidle 6 s, none, the router forgets the flow
holds
Prediction
8.999 s to 9.704 s
Median
9.3986 s
Runs
11 counted · 2 warm-ups
5 s6 s7 s8 s9 s10 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • The router forgets the flow
  • Median

The algebra predicts ETIMEDOUT from keepalive, 8.999 s to 9.704 s after the last segment that the observer received. Each counted run ended with ETIMEDOUT.

The fault is a black hole at the NAT router toward the client. The observer is the client.

The client sets tcp_keepalive_time = 6, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 8.998 s to 9.705 s. The median is 9.399 s, and its interval is 9.195 s to 9.497 s. 2 warm-up runs (in the table).

client idle, blackhole at the router, keepidle 6 s, reset-both, the router forgets the flow
holds
Prediction
5 s to 5.131 s
Median
5.0354 s
Runs
11 counted · 2 warm-ups
5 s5.05 s5.1 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • The router forgets the flow
  • Median

The algebra predicts ECONNRESET from the expiry of the flow, 5 s to 5.131 s after the last segment that the observer received. Each counted run ended with ECONNRESET.

The fault is a black hole at the NAT router toward the client. The observer is the client.

The client sets tcp_keepalive_time = 6, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 4.999 s to 5.132 s. The median is 5.035 s, and its interval is 5.025 s to 5.042 s. 2 warm-up runs (in the table).

client in flight, blackhole at the router, tcp_retries2 = 3, none
holds
Prediction
3 s to 6.416 s
Median
6.176 s
Runs
11 counted · 2 warm-ups
3 s4 s5 s6 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ETIMEDOUT from the give-up of the retransmissions, 3 s to 6.416 s after the first retransmission of the RTO timer. Each counted run ended with ETIMEDOUT.

The fault is a black hole at the NAT router toward the client. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 2.999 s to 6.417 s. The median is 6.176 s, and its interval is 6.144 s to 6.192 s. 2 warm-up runs (in the table).

client in flight, rst at the router toward the client
holds
Prediction
0 s to 1 ms
Median
122 µs
Runs
11 counted · 2 warm-ups
0 µs200 µs400 µs600 µs800 µs1000 µs

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ECONNRESET from a reset, 0 s to 1 ms after the send of the request. Each counted run ended with ECONNRESET.

The fault is a reset of the next segment, at the NAT router toward the client. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of −1 ms to 2 ms. The median is 122 µs, and its interval is 104 µs to 134 µs. 2 warm-up runs (in the table).

client in flight, unreachable-host at the router toward the client, tcp_retries2 = 3
holds
Prediction
3 s to 3.329 s
Median
3.12 s
Runs
11 counted · 2 warm-ups
3 s3.1 s3.2 s3.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts EHOSTUNREACH from the give-up of the retransmissions, 3 s to 3.329 s after the first retransmission of the RTO timer. Each counted run ended with EHOSTUNREACH.

The fault is an ICMP host unreachable from the NAT router toward the client, for each segment of the observer. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 2.999 s to 3.33 s. The median is 3.12 s, and its interval is 3.12 s to 3.121 s. 2 warm-up runs (in the table).

client in flight, unreachable-net at the router toward the client, tcp_retries2 = 3
holds
Prediction
3 s to 3.329 s
Median
3.12 s
Runs
11 counted · 2 warm-ups
3 s3.1 s3.2 s3.3 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ENETUNREACH from the give-up of the retransmissions, 3 s to 3.329 s after the first retransmission of the RTO timer. Each counted run ended with ENETUNREACH.

The fault is an ICMP net unreachable from the NAT router toward the client, for each segment of the observer. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 2.999 s to 3.33 s. The median is 3.12 s, and its interval is 3.12 s to 3.12 s. 2 warm-up runs (in the table).

client in flight, unreachable-port at the router toward the client, tcp_retries2 = 3
holds
Prediction
3 s to 6.416 s
Median
6.16 s
Runs
11 counted · 2 warm-ups
3 s4 s5 s6 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ECONNREFUSED from the give-up of the retransmissions, 3 s to 6.416 s after the first retransmission of the RTO timer. Each counted run ended with ECONNREFUSED.

The fault is an ICMP port unreachable from the NAT router toward the client, for each segment of the observer. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 2.999 s to 6.417 s. The median is 6.16 s, and its interval is 6.144 s to 6.2 s. 2 warm-up runs (in the table).

client in flight, unreachable-admin at the router toward the client, tcp_retries2 = 3
holds
Prediction
3 s to 6.416 s
Median
6.185 s
Runs
11 counted · 2 warm-ups
3 s4 s5 s6 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts EHOSTUNREACH from the give-up of the retransmissions, 3 s to 6.416 s after the first retransmission of the RTO timer. Each counted run ended with EHOSTUNREACH.

The fault is an ICMP admin unreachable from the NAT router toward the client, for each segment of the observer. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 2.999 s to 6.417 s. The median is 6.185 s, and its interval is 6.152 s to 6.2 s. 2 warm-up runs (in the table).

client in flight, simplex-to-server at the router toward the client, tcp_retries2 = 3
holds
Prediction
3 s to 6.416 s
Median
6.2 s
Runs
11 counted · 2 warm-ups
3 s4 s5 s6 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ETIMEDOUT from the give-up of the retransmissions, 3 s to 6.416 s after the first retransmission of the RTO timer. Each counted run ended with ETIMEDOUT.

The fault drops each segment to the server, at the NAT router toward the client. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 2.999 s to 6.417 s. The median is 6.2 s, and its interval is 6.152 s to 6.2 s. 2 warm-up runs (in the table).

client in flight, simplex-to-client at the router toward the client, tcp_retries2 = 3
holds
Prediction
3 s to 6.416 s
Median
6.176 s
Runs
11 counted · 2 warm-ups
3 s4 s5 s6 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ETIMEDOUT from the give-up of the retransmissions, 3 s to 6.416 s after the first retransmission of the RTO timer. Each counted run ended with ETIMEDOUT.

The fault drops each segment to the client, at the NAT router toward the client. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 2.999 s to 6.417 s. The median is 6.176 s, and its interval is 6.16 s to 6.192 s. 2 warm-up runs (in the table).

client in flight, netem delay 100 ms at the router toward the client
holds
Prediction
100 ms to 101 ms
Median
100.2 ms
Runs
11 counted · 2 warm-ups
100 ms100.5 ms101 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back 100 ms to 101 ms after the send of the request, and that nothing detects the fault. Each counted run got its reply.

The target applies netem delay 100ms to each segment that it sends. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 99 ms to 102 ms. The median is 100.2 ms, and its interval is 100.2 ms to 100.3 ms. 2 warm-up runs (in the table).

client in flight, netem delay 100 ms at the router toward the target
holds
Prediction
100 ms to 101 ms
Median
100.2 ms
Runs
11 counted · 2 warm-ups
100 ms100.5 ms101 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back 100 ms to 101 ms after the send of the request, and that nothing detects the fault. Each counted run got its reply.

The target applies netem delay 100ms to each segment that it sends. The observer is the client.

The client sets tcp_retries2 = 3, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 99 ms to 102 ms. The median is 100.2 ms, and its interval is 100.2 ms to 100.2 ms. 2 warm-up runs (in the table).

client in flight, blackhole at the router, tcp_retries2 = 8, reset-both, the router forgets the flow
holds
Prediction
11.426 s to 11.738 s
Median
11.6017 s
Runs
11 counted · 2 warm-ups
11.4 s11.5 s11.6 s11.7 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ECONNRESET from the expiry of the flow, 11.426 s to 11.738 s after the send of the request. Each counted run ended with ECONNRESET.

The fault is a black hole at the NAT router toward the client. The observer is the client.

The client sets tcp_retries2 = 8, tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE.

11 of the 11 counted runs are in the band of 11.425 s to 11.739 s. The median is 11.602 s, and its interval is 11.578 s to 11.62 s. 2 warm-up runs (in the table).

ClientharnessHAProxy3.2.25TCP modeRedis7.41234
  1. The client: a black hole.
  2. HAProxy, toward the client: the idle timeout timeout client 5s and a black hole.
  3. HAProxy, toward the target: the idle timeout timeout server 5s and a black hole.
  4. Redis: a black hole.

HAProxy 3.2.25 runs in TCP mode between the client and Redis. It ends each connection of the client and opens its own connection to Redis, thus each leg has its own sockets and its own timers. Each socket of HAProxy has kernel keepalive (option clitcpka and option srvtcpka), at 3 s idle and 3 probes 1 s apart. Its namespace sets tcp_retries2 = 3.

In the run of 2026-10-17, there was no machine document for HAProxy. Thus the harness measured these cells, and the algebra did not predict them.

Since SYS-31, the document HAPROXY_TCP gives timeout server a band: 4.989 s to 5.011 s after the last data. The timeout client cell stays a measurement. HAProxy sends its FIN to the client after the FIN of Redis, and the machine document of Redis does not give that FIN.

client idle, keepalive 2 s, HAProxy timeout client 5 s
measured
Prediction
no band
Median
5.0032 s
Runs
11 counted · 2 warm-ups
5.002 s5.004 s5.006 s

  • Counted run
  • Warm-up, not counted
  • Median

This cell has no band, and the algebra does not predict it. HAProxy has no machine document yet. Its documentation gives an idle timeout to each side, and a keepalive probe carries no data. Thus the client side closes at 5 s, with or without the keepalive probes of the client. The harness measures the time from the last segment that the observer received to the end of the connection, or to the last data. Each counted run ended with EOF.

HAProxy closes a connection that is idle for 5 s on its side toward the client (timeout client 5s). The observer is the client.

The client sets tcp_keepalive_time = 2, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE. HAProxy sets timeout client 5s and timeout server 30s. The namespace of HAProxy has tcp_retries2 = 3, tcp_keepalive_time = 3, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3.

The median is 5.003 s from the last segment that the observer received, and the counted runs measured 5.001 s to 5.006 s. 2 warm-up runs (in the table).

client idle, keepalive 2 s, HAProxy timeout server 5 s, Redis tcp-keepalive 2 s
measured
Prediction
no band
Median
5.0028 s
Runs
11 counted · 2 warm-ups
5 s5.002 s5.004 s5.006 s

  • Counted run
  • Warm-up, not counted
  • Median

This cell has no band, and the algebra does not predict it. HAProxy has no machine document yet. Its documentation gives an idle timeout to each side, and a keepalive probe carries no data. Thus the server side closes at 5 s, with or without the keepalive probes of Redis. The harness measures the time from the last segment that the observer received to the end of the connection, or to the last data. Each counted run ended with EOF.

HAProxy closes a connection that is idle for 5 s on its side toward the target (timeout server 5s). The observer is the client.

The client sets tcp_keepalive_time = 2, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE. Redis sets tcp-keepalive 2 and timeout 0. HAProxy sets timeout client 30s and timeout server 5s. The namespace of HAProxy has tcp_retries2 = 3, tcp_keepalive_time = 3, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3.

The median is 5.003 s from the last segment that the observer received, and the counted runs measured 5.001 s to 5.006 s. 2 warm-up runs (in the table).

Linux TCP predicts each socket that detects the black hole with its own keepalive. A client behind a black hole at Redis gets only what HAProxy sends, thus that cell is a measurement only.

client idle, keepalive 5 s, blackhole at HAProxy toward the client
holds
Prediction
10.999 s to 11.704 s
Median
11.318 s
Runs
11 counted · 2 warm-ups
11 s11.2 s11.4 s11.6 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ETIMEDOUT from keepalive, 10.999 s to 11.704 s after the last segment that the observer received. Each counted run ended with ETIMEDOUT.

The fault is a black hole at HAProxy toward the client. The observer is the client.

The client sets tcp_keepalive_time = 5, tcp_keepalive_intvl = 2 and tcp_keepalive_probes = 3, and its socket has SO_KEEPALIVE. HAProxy sets timeout client 30s and timeout server 30s. The namespace of HAProxy has tcp_retries2 = 3, tcp_keepalive_time = 3, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3.

11 of the 11 counted runs are in the band of 10.998 s to 11.705 s. The median is 11.318 s, and its interval is 11.166 s to 11.53 s. 2 warm-up runs (in the table).

HAProxy toward the client idle, blackhole at the client
holds
Prediction
5.999 s to 6.256 s
Median
6.1112 s
Runs
11 counted · 2 warm-ups
6 s6.1 s6.2 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ETIMEDOUT from keepalive, 5.999 s to 6.256 s after the last segment that the observer received. Each counted run ended with ETIMEDOUT.

The fault is a black hole at the client. The observer is the socket of HAProxy toward the client.

HAProxy sets timeout client 30s and timeout server 30s. The namespace of HAProxy has tcp_retries2 = 3, tcp_keepalive_time = 3, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3.

11 of the 11 counted runs are in the band of 5.998 s to 6.257 s. The median is 6.111 s, and its interval is 6.084 s to 6.129 s. 2 warm-up runs (in the table).

server idle, tcp-keepalive 5 s, blackhole at HAProxy toward the target
holds
Prediction
7.999 s to 8.704 s
Median
8.3845 s
Runs
11 counted · 2 warm-ups
8 s8.2 s8.4 s8.6 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ETIMEDOUT from keepalive, 7.999 s to 8.704 s after the last segment that the observer received. Each counted run ended with ETIMEDOUT.

The fault is a black hole at HAProxy toward the target. The observer is the socket of Redis.

Redis sets tcp-keepalive 5 and timeout 0. HAProxy sets timeout client 30s and timeout server 30s. The namespace of HAProxy has tcp_retries2 = 3, tcp_keepalive_time = 3, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3.

11 of the 11 counted runs are in the band of 7.998 s to 8.705 s. The median is 8.384 s, and its interval is 8.163 s to 8.534 s. 2 warm-up runs (in the table).

HAProxy toward the target idle, blackhole at the target
holds
Prediction
5.999 s to 6.256 s
Median
6.1046 s
Runs
11 counted · 2 warm-ups
6 s6.1 s6.2 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ETIMEDOUT from keepalive, 5.999 s to 6.256 s after the last segment that the observer received. Each counted run ended with ETIMEDOUT.

The fault is a black hole at Redis. The observer is the socket of HAProxy toward the target.

HAProxy sets timeout client 30s and timeout server 30s. The namespace of HAProxy has tcp_retries2 = 3, tcp_keepalive_time = 3, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3.

11 of the 11 counted runs are in the band of 5.998 s to 6.257 s. The median is 6.105 s, and its interval is 6.093 s to 6.127 s. 2 warm-up runs (in the table).

client idle, blackhole at the target
measured
Prediction
no band
Median
6.1119 s
Runs
11 counted · 2 warm-ups
6.09 s6.1 s6.11 s6.12 s6.13 s

  • Counted run
  • Warm-up, not counted
  • Median

This cell has no band, and the algebra does not predict it. HAProxy has no machine document yet, and its documentation does not tell what it does on one side when the other side fails. The client gets what HAProxy sends when its own keepalive gives up on the server. The harness measures the time from the last segment that the observer received to the end of the connection, or to the last data. Each counted run ended with EOF.

The fault is a black hole at Redis. The observer is the client.

HAProxy sets timeout client 30s and timeout server 30s. The namespace of HAProxy has tcp_retries2 = 3, tcp_keepalive_time = 3, tcp_keepalive_intvl = 1 and tcp_keepalive_probes = 3.

The median is 6.112 s from the last segment that the observer received, and the counted runs measured 6.095 s to 6.131 s. 2 warm-up runs (in the table).

Through Toxiproxy

ClientharnessToxiproxy2.12.0Redis7.4123
  1. Toxiproxy, toward the client: the toxics latency, timeout, slow_close, bandwidth, limit_data and slicer.
  2. Toxiproxy, toward the target: the toxic reset_peer.
  3. Redis: a close of the connection with CLIENT KILL, a reset of the next segment and a black hole.

The direct pair

ClientharnessRedis7.44
  1. Redis: a reset of the next segment and a delay of 100 ms on each segment that it sends.

Toxiproxy 2.12.0 is between the client and Redis, with one proxy and its HTTP API. The injector adds a toxic through the API, and it records the start and the end of the commit. Each toxic gets a cell. The prediction of a toxic comes from its documentation. A toxic whose documentation gives no time is a measurement only.

client in flight, toxic latency 100 ms downstream
holds
Prediction
100 ms to 101.7 ms
Median
100.6 ms
Runs
11 counted · 2 warm-ups
100 ms100.5 ms101 ms101.5 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back 100 ms to 101.7 ms after the send of the request, and that nothing detects the fault. Each counted run got its reply.

The fault is the toxic latency on the downstream stream of Toxiproxy, with latency = 100 and jitter = 0. The observer is the client.

11 of the 11 counted runs are in the band of 99 ms to 102.7 ms. The median is 100.6 ms, and its interval is 100.6 ms to 100.7 ms. 2 warm-up runs (in the table).

client idle, toxic timeout 2000 ms downstream
holds
Prediction
2 s to 2.0013 s
Median
2.0014 s
Runs
11 counted · 2 warm-ups
2 s2.0005 s2.001 s2.0015 s2.002 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts EOF from the toxic timeout, 2 s to 2.001 s after the start of the commit of the toxic. Each counted run ended with EOF.

The fault is the toxic timeout on the downstream stream of Toxiproxy, with timeout = 2000. The observer is the client.

11 of the 11 counted runs are in the band of 1.999 s to 2.002 s. The median is 2.001 s, and its interval is 2.001 s to 2.002 s. 2 warm-up runs (in the table).

client idle, toxic timeout 0 downstream
holds
Prediction
silent for 10 s
Median
none
Runs
11 counted · 2 warm-ups

The algebra predicts that no TCP timer fires in a window of 10 s. The harness measured silence in 11 of 11 counted runs.

The fault is the toxic timeout on the downstream stream of Toxiproxy, with timeout = 0. The observer is the client.

Nothing detected the fault in the 11 counted runs, each of 10 s. 2 warm-up runs (in the table).

client in flight, toxic reset_peer 0 upstream on a live connection
holds
Prediction
0 s to 1.73 ms
Median
512 µs
Runs
11 counted · 2 warm-ups
0 µs500 µs1000 µs1500 µs

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts EOF from the toxic reset_peer, 0 s to 1.73 ms after the send of the request. Each counted run ended with EOF.

The fault is the toxic reset_peer on the upstream stream of Toxiproxy, with timeout = 0. The observer is the client.

11 of the 11 counted runs are in the band of −1 ms to 2.73 ms. The median is 512 µs, and its interval is 329 µs to 798 µs. 2 warm-up runs (in the table).

client idle, toxic slow_close 2000 ms downstream, the server closes
holds
Prediction
2 s to 2.0013 s
Median
2.001 s
Runs
11 counted · 2 warm-ups
2 s2.0005 s2.001 s2.0015 s

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts EOF from the toxic slow_close, 2 s to 2.001 s after the close of the socket of the peer. Each counted run ended with EOF.

Redis closes the connection with CLIENT KILL. The toxic slow_close is on the downstream stream of Toxiproxy, with delay = 2000. The observer is the client.

11 of the 11 counted runs are in the band of 1.999 s to 2.002 s. The median is 2.001 s, and its interval is 2 s to 2.001 s. 2 warm-up runs (in the table).

client in flight, toxic bandwidth 100 KB/s downstream, a 500000-byte reply
measured
Prediction
no band
Median
5.014 s
Runs
11 counted · 2 warm-ups
5.013 s5.014 s5.015 s5.016 s

  • Counted run
  • Warm-up, not counted
  • Median

This cell has no band, and the algebra does not predict it. Toxiproxy has no machine document yet. Its documentation gives the rate of the toxic, not the time of the last byte. The harness measures the time to the last data. The harness measures the time from the send of the request to the end of the connection, or to the last data. Each counted run got its reply.

The fault is the toxic bandwidth on the downstream stream of Toxiproxy, with rate = 100. The observer is the client.

The client sends GET big for a value of 500000 bytes.

The median is 5.014 s from the send of the request, and the counted runs measured 5.013 s to 5.016 s. 2 warm-up runs (in the table).

client in flight, toxic limit_data 1000 bytes downstream, a 500000-byte reply
holds
Prediction
0 s to 1.73 ms
Median
913 µs
Runs
11 counted · 2 warm-ups
0 µs500 µs1000 µs1500 µs

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts EOF from the toxic limit_data, 0 s to 1.73 ms after the send of the request. Each counted run ended with EOF.

The fault is the toxic limit_data on the downstream stream of Toxiproxy, with bytes = 1000. The observer is the client.

The client sends GET big for a value of 500000 bytes.

11 of the 11 counted runs are in the band of −1 ms to 2.73 ms. The median is 913 µs, and its interval is 723 µs to 1.16 ms. 2 warm-up runs (in the table).

client in flight, toxic slicer 100 bytes 10 ms downstream, a 5000-byte reply
measured
Prediction
no band
Median
641.6 ms
Runs
11 counted · 2 warm-ups
641.4 ms641.6 ms641.8 ms

  • Counted run
  • Warm-up, not counted
  • Median

This cell has no band, and the algebra does not predict it. Toxiproxy has no machine document yet. Its documentation gives the slices and the delay between them, not how its reads cut the reply. The harness measures the time to the last data. The harness measures the time from the send of the request to the end of the connection, or to the last data. Each counted run got its reply.

The fault is the toxic slicer on the downstream stream of Toxiproxy, with average_size = 100, size_variation = 0 and delay = 10000. The observer is the client.

The client sends GET slices for a value of 5000 bytes.

The median is 641.6 ms from the send of the request, and the counted runs measured 641.3 ms to 641.9 ms. 2 warm-up runs (in the table).

There is no machine document for Toxiproxy yet. Its documentation tells what each toxic does, but not what Toxiproxy sends to the client when its upstream connection fails. Thus the harness measures these two cells, and the algebra does not predict them.

client in flight, rst at the server, through Toxiproxy
measured
Prediction
no band
Median
437 µs
Runs
11 counted · 2 warm-ups
300 µs400 µs500 µs600 µs700 µs

  • Counted run
  • Warm-up, not counted
  • Median

This cell has no band, and the algebra does not predict it. Toxiproxy has no machine document yet. Its documentation tells what each toxic does, but not what Toxiproxy sends to the client when its upstream connection fails. The harness measures the time from the send of the request to the end of the connection, or to the last data. Each counted run ended with EOF.

The fault is a reset of the next segment, at Redis. The observer is the client.

The median is 437 µs from the send of the request, and the counted runs measured 287 µs to 701 µs. 2 warm-up runs (in the table).

client in flight, blackhole at the server, through Toxiproxy with tcp_retries2 = 3
measured
Prediction
no band
Median
6.5726 s
Runs
11 counted · 2 warm-ups
6.56 s6.58 s6.6 s

  • Counted run
  • Warm-up, not counted
  • Median

This cell has no band, and the algebra does not predict it. Toxiproxy has no machine document yet. Its documentation tells what each toxic does, but not what Toxiproxy sends to the client when its upstream connection fails. The harness measures the time from the send of the request to the end of the connection, or to the last data. Each counted run ended with EOF.

The fault is a black hole at Redis. The observer is the client.

The namespace of Toxiproxy has tcp_retries2 = 3.

The median is 6.573 s from the send of the request, and the counted runs measured 6.556 s to 6.612 s. 2 warm-up runs (in the table).

These two cells have no Toxiproxy. They are the reference for the cells above: a reset, and a delay of 100 ms with netem.

direct, client in flight, rst
holds
Prediction
0 s to 1 ms
Median
96 µs
Runs
11 counted · 2 warm-ups
0 µs200 µs400 µs600 µs800 µs1000 µs

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts ECONNRESET from a reset, 0 s to 1 ms after the send of the request. Each counted run ended with ECONNRESET.

The fault is a reset of the next segment, at Redis. The observer is the client.

11 of the 11 counted runs are in the band of −1 ms to 2 ms. The median is 96 µs, and its interval is 91 µs to 104 µs. 2 warm-up runs (in the table).

direct, client in flight, netem delay 100 ms
holds
Prediction
100 ms to 101 ms
Median
100.2 ms
Runs
11 counted · 2 warm-ups
100 ms100.5 ms101 ms

  • Prediction
  • Counted run
  • Warm-up, not counted
  • Median

The algebra predicts that the reply comes back 100 ms to 101 ms after the send of the request, and that nothing detects the fault. Each counted run got its reply.

The observer is the client.

The target adds 100 ms of latency to each segment that it sends.

11 of the 11 counted runs are in the band of 99 ms to 102 ms. The median is 100.2 ms, and its interval is 100.2 ms to 100.3 ms. 2 warm-up runs (in the table).

The first run of step 3 was on a development VM with Linux 6.6 at HZ 250, on 2026-10-16. Another job loaded the host for all of that time. The harness did the cells of T03 one at a time, because the listing of a router reads the conntrack table of the whole kernel. Of its 42 cells, 29 held, 8 were measurements only, and 5 failed:

  • Two cells were findings about Toxiproxy. reset_peer ended each run with EOF, where the catalog predicted a reset. limit_data closed 1.307 ms to 4.777 ms after the request, where its band had no time of Toxiproxy. The catalog has both of these causes.
  • Three cells failed on one outlier run each. The prober explained each outlier, and no outlier came back on a re-run.
    • The T01 stall: the first round trip of one run took 4.25 ms, where the others took 0.14 ms to 1.3 ms. Thus its RTO was 52 jiffies, not 51, and the reply came back at 1.736 s, after the band that ended at 1.709 s.
    • The T03 cell recreate: one reply took 11.5 ms. The request reached Redis at 1.4 ms, and no side sent a retransmission. Thus 10 ms passed in Redis or in the forward path of the router, and no record tells which.
    • The TOX cell timeout 2000: in one run, the client got the close at 2.017 s. The state record of the prober, in the namespace of Toxiproxy, showed that Toxiproxy closed its own socket 15.7 ms late.
  • Three warm-up runs landed outside their bands. Each was the first toxic of an environment, and one had a first API commit of 16.9 ms. The verdict does not count a warm-up.
  • Ten runs were void.
    • A slow listing of the router voided 5 runs. The router lists its table each 50 ms, and a reset-both router sends its resets after the listing that finds the expired flow. 3,201 listings took longer than the bound of 20 ms (LISTING), and the worst took 100.5 ms.
    • A commit of a toxic through the API of Toxiproxy took 13 ms to 17 ms on the first commits of an environment. That voided 1 run, because its commit was longer than δabs, 4 ms.
    • In 4 runs, a timer of the kernel was two jiffies or more behind its wheel slot, thus the VM delayed it. The page of the timers behind their slot tells how the prober finds such a delay.
  • The T01 slice held. 10 cells of T01 checked that the generalized lab gives a direct pair as before. Each T01 cell runs on that lab, thus the network failures give each of them.

The runner of the cells wrote a raw record of each cell. A record has the cell, the manifests of its environments, each warm-up run and each run with its kernel records. The final measure of the harness then judged each record again. The script packages/site/scripts/topologies.ts reads each record with the code of the harness, and it stops when a verdict disagrees. It writes the copy that this page shows, and that copy names no machine. The cells and their predictions are in the catalogs.