Re: [PATCH net] sctp: fix recovering from 0 win with small data chunks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Marcelo Ricardo Leitner <marcelo.leitner@xxxxxxxxx>
Date: Fri, 23 Dec 2016 14:29:37 -0200

> Currently if SCTP closes the receive window with window pressure, mostly
> caused by excessive skb overhead on payload/overheads ratio, SCTP will
> close the window abruptly while saving the delta on rwnd_press. It will
> start recovering rwnd as the chunks are consumed by the application and
> the rwnd_press will be only recovered after rwnd reach the same value as
> of rwnd_press, mostly to prevent silly window syndrome.
> 
> Thing is, this is very inefficient with small data chunks, as with those
> it will never reach back that value, and thus it will never recover from
> such pressure. This means that we will not issue window updates when
> recovering from 0 window and will rely on a sender retransmit to notice
> it.
> 
> The fix here is to remove such threshold, as no value is good enough: it
> depends on the (avg) chunk sizes being used.
> 
> Test with netperf -t SCTP_STREAM -- -m 1, and trigger 0 window by
> sending SIGSTOP to netserver, sleep 1.2, and SIGCONT.
> Rate limited to 845kbps, for visibility. Capture done at netserver side.
 ...
> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux