netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] tcp: add 4 new stats
@ 2018-07-30 21:59 Wei Wang
  2018-07-30 21:59 ` [PATCH net-next 1/4] tcp: add data bytes sent stats Wei Wang
  0 siblings, 1 reply; 7+ messages in thread
From: Wei Wang @ 2018-07-30 21:59 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: Yuchung Cheng, Neal Cardwell, Soheil Hassas Yeganeh, Eric Dumazet,
	Wei Wang

From: Wei Wang <weiwan@google.com>

This patch series adds 3 RFC4898 stats:
1. tcpEStatsPerfHCDataOctetsOut
2. tcpEStatsPerfOctetsRetrans
3. tcpEStatsStackDSACKDups
and an addtional stat to record the number of data packet reordering
events seen:
4. tcp_reord_seen

Together with the existing stats, application can use them to measure
the retransmission rate in bytes, exclude spurious retransmissions
reflected by DSACK, and keep track of the reordering events on live
connections.
In particular the networks with different MTUs make bytes-based loss stats
more useful. Google servers have been using these stats for many years to
instrument transport and network performance.

Wei Wang (4):
  tcp: add data bytes sent stats
  tcp: add data bytes retransmitted stats
  tcp: add dsack blocks received stats
  tcp: add stat of data packet reordering events

 include/linux/tcp.h      | 13 +++++++++++--
 include/uapi/linux/tcp.h | 10 +++++++++-
 net/ipv4/tcp.c           | 19 +++++++++++++++++--
 net/ipv4/tcp_input.c     |  4 +++-
 net/ipv4/tcp_output.c    |  2 ++
 net/ipv4/tcp_recovery.c  |  2 +-
 6 files changed, 43 insertions(+), 7 deletions(-)

-- 
2.18.0.345.g5c9ce644c3-goog

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-31  0:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30 21:59 [PATCH net-next 0/4] tcp: add 4 new stats Wei Wang
2018-07-30 21:59 ` [PATCH net-next 1/4] tcp: add data bytes sent stats Wei Wang
2018-07-30 21:59   ` [PATCH net-next 2/4] tcp: add data bytes retransmitted stats Wei Wang
2018-07-30 21:59     ` [PATCH net-next 3/4] tcp: add dsack blocks received stats Wei Wang
2018-07-30 21:59       ` [PATCH net-next 4/4] tcp: add stat of data packet reordering events Wei Wang
2018-07-30 22:14     ` [PATCH net-next 2/4] tcp: add data bytes retransmitted stats Stephen Hemminger
2018-07-30 22:51       ` Wei Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).