Re: [PATCH net-next 1/5] tcp: add TCPRcvCollapseSkipped counter

From
Kuniyuki Iwashima <kuniyu@google.com>
Date
2026-11-14 16:28:54
Reply to
Eric Dumazet, 2026-11-14
On Sat, Nov 14, 2026 at 7:52 AM Eric Dumazet [off-list ref] wrote:
Commit c2213d9b61c1 ("tcp: rate limit receive queue collapsing") rate
limits collapsing in tcp_prune_queue(): it is only attempted when at
least 1/8 of sk_rcvbuf of new memory was queued in the receive queues
since the previous collapse.

Add a TcpExtTCPRcvCollapseSkipped counter, incremented when a collapse
is skipped for this reason. A high rate can indicate a peer repeatedly
sending segments that can not be queued.

Signed-off-by: Eric Dumazet <edumazet@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Thread (11 messages) 11 messages, 2 authors, last reply 2d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help