Thread (15 messages) flat view 15 messages, 5 authors, 2022-02-02

Re: Bad performance in RX with sfc 40G

From: Íñigo Huguet <hidden>
Date: 2021-12-02 14:26:45

Hi,

On Thu, Nov 18, 2021 at 6:19 PM Eric Dumazet [off-list ref] wrote:
You could try to :

Make the RX ring buffers bigger (ethtool -G eth0 rx 8192)

and/or

Make sure your tcp socket receive buffer is smaller than number of frames in the ring buffer

echo "4096 131072 2097152" >/proc/sys/net/ipv4/tcp_rmem
Thanks for the suggestion. Sadly, the results are almost the same.
You can also try latest net-next, as TCP got something to help this case.

f35f821935d8df76f9c92e2431a225bdff938169 tcp: defer skb freeing after socket lock is released
I'll try ASAP, but I will need some days. Thanks



-- 
Íñigo Huguet
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help