Re: [PATCH] sctp: Reducing rwnd by sizeof(struct sk_buff) for each CHUNK is too aggressive
From: Thomas Graf <hidden>
Date: 2011-06-24 15:53:19
Also in:
linux-sctp
From: Thomas Graf <hidden>
Date: 2011-06-24 15:53:19
Also in:
linux-sctp
On Fri, Jun 24, 2011 at 11:21:11AM -0400, Vladislav Yasevich wrote:
First, let me state that I mis-understood what the patch is attempting to do. Looking again, I understand this a little better, but still have reservations.
This explains a lot :)
If we treat the window as strictly available data, then we may end up sending a lot more traffic then the window can take thus causing us to enter 0 window probe and potential retransmission issues that will trigger congestion control. We'd like to avoid that so we put some overhead into our computations. It may not be ideal since we do this on a per-chunk basis. It could probably be done on per-packet basis instead. This way, we'll essentially over-estimate but under-subscribe our current view of the peers window. So in one shot, we are not going to over-fill it and will get an updated view next time the SACK arrives.
I will update my patch to include a per packet overhead and also fix the retransmission rwnd reopening to do the same.