You are browsing a read-only backup copy of Wikitech. The live site can be found at

File:Service time histogram keepalive.png

From Wikitech-static
Revision as of 20:35, 3 October 2018 by (talk) ( uploaded File:Service time histogram keepalive.png)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Service_time_histogram_keepalive.png(644 × 362 pixels, file size: 6 KB, MIME type: image/png)

Service time histogram for knsq1, a knams text squid, showing the effect of enabling keepalive. The vertical scale is normalised so that the area under each curve is 1 million.

The data shows that a large number of misses have been offset by 1 RTT to the left, due to the lack of a connection setup time for those requests.

We had expected a speedup due to the larger TCP window on old persistent connections. This can perhaps be seen in the fact that the 1 RTT keepalive peak is larger than the 2 RTT non-keepalive peak, by a factor of 1.7 in terms of integrated count.

We could put a positive spin on this data by saying that the number of people experiencing request times of greater than 6 RTT (0.76 seconds), has dropped by almost half, from 691 per million to 355 per million. However, this is almost entirely explainable by the 1 RTT offset in the rapidly decaying tail.

The difference as perceived is probably better represented with a logarithmic horizontal scale. This gives a better idea of relative rather than absolute differences in time.

Service time histogram keepalive log x.png

So all in all, it's not as great a difference as we had hoped, barely user-visible. Research will continue.

File history

Click on a date/time to view the file as it appeared at that time.

current13:04, 20 February 2007Thumbnail for version as of 13:04, 20 February 2007644 × 362 (6 KB) (talk)(recovered file, missing upload log entry)

There are no pages that use this file.