Michael Tuexen wrote:
Hi Vlad, is there any description available how the auto-tuning works?
There is no formal writeup. In short it works the same as TCP. Essentially, we start out with a set buffer space and calculated rwnd. Then as buffer space and window is consumed, we see if buffer space is consumed faster then rwnd. If we reach a point where default buffer space is consumed, but rwnd is not, we grow the buffer space slowly up to the next threshold, thus allowing all of rwnd to be consumed. There is also a system-wide threshold that we look at when growing the buffer. So that if the system is experiencing memory pressure conditions, the growth and allocations will fail.
But even with auto-tuning you still have the a_rwnd you report to the outside world (in SACKs) and an internal value which you use for tracking you buffer, right?
Buffer space tracking is separate from rwnd and a_rwnd that we advertise. -vlad
Best regards Michael
-- 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