diff options
author | 2025-05-13 19:39:15 +0000 | |
---|---|---|
committer | 2025-05-15 11:30:08 -0700 | |
commit | b879dcb1aeeca278eacaac0b1e2425b1c7599f9f (patch) | |
tree | fa8fcabd948e5c10e286264673b04ea0155e8eab /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | tcp: fix initial tp->rcvq_space.space value for passive TS enabled flows (diff) | |
download | wireguard-linux-b879dcb1aeeca278eacaac0b1e2425b1c7599f9f.tar.xz wireguard-linux-b879dcb1aeeca278eacaac0b1e2425b1c7599f9f.zip |
tcp: always seek for minimal rtt in tcp_rcv_rtt_update()
tcp_rcv_rtt_update() goal is to maintain an estimation of the RTT
in tp->rcv_rtt_est.rtt_us, used by tcp_rcv_space_adjust()
When TCP TS are enabled, tcp_rcv_rtt_update() is using
EWMA to smooth the samples.
Change this to immediately latch the incoming value if it
is lower than tp->rcv_rtt_est.rtt_us, so that tcp_rcv_space_adjust()
does not overshoot tp->rcvq_space.space and sk->sk_rcvbuf.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250513193919.1089692-8-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions