From: [EMAIL PROTECTED]
Date: Thu, 10 Nov 2005 15:15:13 -0800

> Specifically it addresses the problem of an interaction between rcvbuf
> moderation (receiver autotuning) and rcv_ssthresh.  The problem occurs when
> sending small packets to a receiver with a larger MTU.  (A very common case I
> have is a host with a 1500 byte MTU sending to a host with a 9k MTU.)  In
> such a case, the rcv_ssthresh code is targeting a window size corresponding
> to filling up the current rcvbuf, not taking into account that the new rcvbuf
> moderation may increase the rcvbuf size.
> 
> One hunk makes rcv_ssthresh use tcp_rmem[2] as the size target rather than
> rcvbuf.  The other changes the behavior when it overflows its memory bounds
> with in-order data so that it tries to grow rcvbuf (the same as with
> out-of-order data).
> 
> These changes should help my problem of mixed MTUs, and should also help the
> case from last week's thread I think.  (In both cases though you still need
> tcp_rmem[2] to be set much larger than the TCP window.)  One question is if
> this is too aggressive at trying to increase rcvbuf if it's under memory
> stress.
> 
> Orignally-from: John Heffner <[EMAIL PROTECTED]>
> Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>

We've sat on this patch long enough and I can't find any problems
with it, so applied.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to