diff options
author | Francis Yan <francisyyan@gmail.com> | 2016-11-27 23:07:14 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-30 10:04:24 -0500 |
commit | 0f87230d1a6c253681550c6064715d06a32be73d (patch) | |
tree | 592c761f9b1b2b6e524e8fc87a43db69ded5e4a8 /net/ipv4/tcp.c | |
parent | 05b055e89121394058c75dc354e9a46e1e765579 (diff) | |
download | talos-obmc-linux-0f87230d1a6c253681550c6064715d06a32be73d.tar.gz talos-obmc-linux-0f87230d1a6c253681550c6064715d06a32be73d.zip |
tcp: instrument how long TCP is busy sending
This patch measures TCP busy time, which is defined as the period
of time when sender has data (or FIN) to send. The time starts when
data is buffered and stops when the write queue is flushed by ACKs
or error events.
Note the busy time does not include SYN time, unless data is
included in SYN (i.e. Fast Open). It does include FIN time even
if the FIN carries no payload. Excluding pure FIN is possible but
would incur one additional test in the fast path, which may not
be worth it.
Signed-off-by: Francis Yan <francisyyan@gmail.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions