netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] tcp: new TCP_INFO stats for RTO events
@ 2023-09-12  2:33 Aananth V
  2023-09-12  2:33 ` [PATCH net-next 1/2] tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed Aananth V
  2023-09-12  2:33 ` [PATCH net-next 2/2] tcp: new TCP_INFO stats for RTO events Aananth V
  0 siblings, 2 replies; 6+ messages in thread
From: Aananth V @ 2023-09-12  2:33 UTC (permalink / raw)
  To: David Miller, Eric Dumazet, Jakub Kicinski; +Cc: netdev, Aananth V

The 2023 SIGCOMM paper "Improving Network Availability with Protective
ReRoute" has indicated Linux TCP's RTO-triggered txhash rehashing can
effectively reduce application disruption during outages. To better
measure the efficacy of this feature, this patch set adds three more
detailed stats during RTO recovery and exports via TCP_INFO.
Applications and monitoring systems can leverage this data to measure
the network path diversity and end-to-end repair latency during network
outages to improve their network infrastructure.

Patch 1 fixes a bug in TFO SYNACK that we encountered while testing
these new metrics.

Patch 2 adds the new metrics to tcp_sock and tcp_info.

Aananth V (2):
  tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
  tcp: new TCP_INFO stats for RTO events

 include/linux/tcp.h      |  8 ++++++++
 include/uapi/linux/tcp.h | 12 ++++++++++++
 net/ipv4/tcp.c           |  9 +++++++++
 net/ipv4/tcp_input.c     | 24 ++++++++++++++++++++----
 net/ipv4/tcp_minisocks.c |  4 ++++
 net/ipv4/tcp_timer.c     | 17 +++++++++++++++--
 6 files changed, 68 insertions(+), 6 deletions(-)

-- 
2.42.0.283.g2d96d420d3-goog


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

end of thread, other threads:[~2023-09-14 14:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-12  2:33 [PATCH net-next 0/2] tcp: new TCP_INFO stats for RTO events Aananth V
2023-09-12  2:33 ` [PATCH net-next 1/2] tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed Aananth V
2023-09-12  2:33 ` [PATCH net-next 2/2] tcp: new TCP_INFO stats for RTO events Aananth V
2023-09-14  9:02   ` Paolo Abeni
2023-09-14 13:36     ` Yuchung Cheng
2023-09-14 14:16       ` Eric Dumazet

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).