Re: [PATCH net-next] tcp: devmem: only pre-allocate tokens the receiver can consume

From: Jakub Kicinski

Date: Fri Sep 04 2026 - 18:15:30 EST


On Wed, 02 Sep 2026 15:24:19 -0700 Bobby Eshleman wrote:
> Testing on a CX7 w/ GRO and a steady sendmsg() flow of 1MB per send, we
> see a typical RX-side skb touch upwards of ~32KB. With a 4KB recvmsg
> size, probing shows that ~75% of the allocated tokens are not used.

4kB seems unreasonably small. Is there a real life reason to use such
a small buffer / read length?