EricssonResearch / spindump

Spindump is an in-network latency measurement tool with support for QUIC and TCP
BSD 3-Clause "New" or "Revised" License
61 stars 17 forks source link

RTT histogram #214

Closed SPYFF closed 3 years ago

SPYFF commented 4 years ago

We improved per-connection logging with RTT histograms. With this improvement Spindump can collect the RTT samples into histogam with different resolutions like 0.1, 0.2 ... 0.9ms, 1, 2 ... 9ms, 10, 20 ... 90ms, 100, 200 ... 900ms, 1, 2 ... 9s. Similar could be implemented for bandwidth in the future (not included in this PR).

--connection switch, rtt histogram, the way deleted connections are printed could be improved, this work is a quick initial implementation, probably some functions called from the wrong place.

Also we currently use the default connection print method.

lgtm-com[bot] commented 4 years ago

This pull request introduces 1 alert when merging 16fc421f2044a6e63388320898ed29e120bb0be2 into 47966245370e42fbd906ce96ae5717401e793704 - view on LGTM.com

new alerts: