Thread (3 messages) flat view 3 messages, 2 authors, 2011-10-14

Re: [Bug] skb truesize does not update properly in many place

From: Eric Dumazet <hidden>
Date: 2011-10-14 05:52:04

Le vendredi 14 octobre 2011 à 07:48 +0200, Eric Dumazet a écrit :
I am now focusing in the TCP pruning effect, that we can see with WIFI
drivers (and also with drivers using a full PAGE to store a 1500 byte
tcp frame), when a single packet loss is happening on a session with
large RTT.
Here is what I am currently testing :

When one SKB has to be queued in out_of_order_queue,
possibly for a long time, try to reduce its truesize (by using
skb_copy_expand()) if skb->truesize is larger than
2*SKB_TRUESIZE(skb->len)

It seems to work very well, and should not happen in fast path.

Stay tuned
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help