Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

RTOS/TDA2: NDK 2_24_02_31 TCP slow start

$
0
0

Part Number:TDA2

Tool/software:TI-RTOS

Hello everyone!

We are wondering about slow start conditions, within the source file:

VISION_SDK_02_12_01_00\ti_components\networking\ndk_2_24_02_31\packages\ti\ndk\stack\tcp\tcpout.c

We have probably understood the meaning of the first slow start condition:

pt->snd_una==pt->snd_max

so, that means that the sequence number within the lastly sent TCP header (within the segment that is not acknowledged) is equal to the sequence number of the last segment of the current window.

Please, correct me if I am not right about this.

Another contition is the following:

 pt->t_tidle > (pt->t_trtx<<2)

We are wondering about these tick counts: t_tidle and t_trtx, what exactly thay represent.

We have observed the snd_cwnd value and it holds the maximum value (65535) during the whole time of the communication.

After we had decreased the bandwidth on the router, we have noticed that snd_cwnd sometimes decreases.

Also, we have added some prints within the slow start IF statement and we have not noticed any occurence of the true slow start condition.

We hawe also noticed that this TCP does not perform the slow start at the beginning of the data transfer, but it immediately sets the maximum 16-bit window size.

What would be the best way to trigger the slow start?

Thanks in advance,
Marko


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>