Eric Dumazet
24990d89c2
trace: tcp: add three metrics to trace_tcp_rcvbuf_grow()
While chasing yet another receive autotuning bug,
I found useful to add rcv_ssthresh, window_clamp and rcv_wnd.
tcp_stream 40597 [068] 2172.978198: tcp:tcp_rcvbuf_grow: time=50307 rtt_us=50179 copied=77824 inq=0 space=40960 ooo=0 scaling_ratio=219 rcvbuf=131072 rcv_ssthresh=107474 window_clamp=112128 rcv_wnd=110592
tcp_stream 40597 [068] 2173.028528: tcp:tcp_rcvbuf_grow: time=50336 rtt_us=50206 copied=110592 inq=0 space=77824 ooo=0 scaling_ratio=219 rcvbuf=509444 rcv_ssthresh=328658 window_clamp=435813 rcv_wnd=331776
tcp_stream 40597 [068] 2173.078830: tcp:tcp_rcvbuf_grow: time=50305 rtt_us=50070 copied=270336 inq=0 space=110592 ooo=0 scaling_ratio=219 rcvbuf=509444 rcv_ssthresh=431159 window_clamp=435813 rcv_wnd=434176
tcp_stream 40597 [068] 2173.129137: tcp:tcp_rcvbuf_grow: time=50313 rtt_us=50118 copied=434176 inq=0 space=270336 ooo=0 scaling_ratio=219 rcvbuf=2457847 rcv_ssthresh=1299511 window_clamp=2102611 rcv_wnd=1302528
tcp_stream 40597 [068] 2173.179451: tcp:tcp_rcvbuf_grow: time=50318 rtt_us=50041 copied=1019904 inq=0 space=434176 ooo=0 scaling_ratio=219 rcvbuf=2457847 rcv_ssthresh=2087445 window_clamp=2102611 rcv_wnd=2088960
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Link: https://patch.msgid.link/20251028-net-tcp-recv-autotune-v3-2-74b43ba4c84c@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-10-29 17:30:18 -07:00
..
2025-09-25 09:19:07 +02:00
2025-07-21 16:40:56 -04:00
2024-11-22 11:43:27 -07:00
2025-07-16 10:02:18 -06:00
2025-07-31 14:57:54 -07:00
2024-12-20 22:34:05 +01:00
2024-12-04 20:59:21 -06:00
2025-06-17 10:01:18 -10:00
2025-09-13 16:55:15 -07:00
2025-07-13 16:38:33 -07:00
2025-06-13 08:26:49 +01:00
2025-10-03 08:45:09 +02:00
2025-06-18 13:41:16 +08:00
2025-05-16 10:13:59 +02:00
2025-07-31 10:02:44 -07:00
2025-05-08 15:22:45 +00:00
2024-12-19 16:02:22 +01:00
2025-08-26 17:34:31 -07:00
2025-09-29 09:42:30 -07:00
2024-09-12 22:30:38 +09:00
2025-07-09 22:42:13 -07:00
2025-09-25 09:09:28 +03:00
2025-09-21 14:22:40 -07:00
2025-01-12 19:03:36 -08:00
2025-09-07 16:33:48 -07:00
2025-08-24 11:41:13 -06:00
2025-07-23 14:58:55 -04:00
2025-06-02 13:12:26 -04:00
2025-09-13 16:55:18 -07:00
2025-09-23 23:37:26 +08:00
2024-10-31 10:36:07 +01:00
2024-11-11 00:26:46 -08:00
2025-01-13 22:40:34 -08:00
2025-07-09 22:41:55 -07:00
2025-05-22 14:55:37 -07:00
2025-07-14 11:05:02 +02:00
2025-02-26 19:44:30 -05:00
2024-09-11 20:44:31 -07:00
2025-09-13 16:55:07 -07:00
2025-07-21 16:40:57 -04:00
2024-10-08 21:17:39 -04:00
2024-09-28 15:13:56 +02:00
2025-03-24 19:41:37 -07:00
2025-09-21 14:22:28 -07:00
2025-05-19 10:14:29 -04:00
2024-09-20 19:31:03 -04:00
2024-11-04 16:21:44 -05:00
2025-07-17 07:50:48 -07:00
2025-03-04 08:06:17 -10:00
2025-08-01 10:29:36 -07:00
2025-07-03 16:18:09 +01:00
2025-06-09 21:59:07 -04:00
2025-04-11 18:58:10 -07:00
2025-07-14 12:46:48 -04:00
2024-10-09 17:05:54 -04:00
2025-02-12 22:20:55 -05:00
2025-09-01 15:31:34 +02:00
2025-10-29 17:30:18 -07:00
2025-07-25 08:58:07 -04:00
2025-04-05 10:30:17 +02:00
2024-10-10 10:20:52 +02:00
2025-05-08 19:17:33 -07:00
2024-11-06 20:11:13 -08:00
2025-09-19 13:11:06 +02:00
2025-06-12 19:36:53 -07:00