2 TCP improvements over a satellite link » History » Version 1

MERIOCHAUD, Antoine, 03/11/2016 03:05 PM

1 1 MERIOCHAUD, Antoine
h3. 2. TCP improvements over a satellite link
2 1 MERIOCHAUD, Antoine
3 1 MERIOCHAUD, Antoine
4 1 MERIOCHAUD, Antoine
TCP extensions described in RFC 1323 improve the performances of a link with high delay. 
5 1 MERIOCHAUD, Antoine
6 1 MERIOCHAUD, Antoine
h4. 2.1. TCP Window Scale
7 1 MERIOCHAUD, Antoine
8 1 MERIOCHAUD, Antoine
Initially, the length field of the reception window is limited to 16 bits, which corresponds to a maximum size of 65535 bytes for the reception window. On a link with significant delay, this maximum value implies a maximum rate lower than the capacity.
9 1 MERIOCHAUD, Antoine
The "TCP Window Scale" extension allows to apply a scaling factor on this field to simulate a 32-bit field, and get reception window greater than 65535 bytes.
10 1 MERIOCHAUD, Antoine
Its use is essential in the case of a geostationary satellite link because it can send data at the rate supported by the link without having to wait acknowledgment all the time.
11 1 MERIOCHAUD, Antoine
12 1 MERIOCHAUD, Antoine
For example, if we use a 2Mbits/s link with a RTT of 600ms we have $cwnd_{max} = 2.10^6\times0.6=1,2\ .10^6\ bits$ which corresponds to 150kB. This number is higher than 64kB so in this case Window Scaling is useful with a scaling factor of 3.
13 1 MERIOCHAUD, Antoine
14 1 MERIOCHAUD, Antoine
15 1 MERIOCHAUD, Antoine
h4. 2.2. TCP for transactions
16 1 MERIOCHAUD, Antoine
17 1 MERIOCHAUD, Antoine
The purpose of T/TCP is to lower the number of frames involved in a connection. It mixes, in the same frame, connection management (open and close procedures) with data. Comparing with "classical" connection, the number of frames sent is reduced up to 2/3.
18 1 MERIOCHAUD, Antoine
19 1 MERIOCHAUD, Antoine
!TCP_for_transactions.jpg!
20 1 MERIOCHAUD, Antoine
+Figure 1: Example of a transaction+
21 1 MERIOCHAUD, Antoine
22 1 MERIOCHAUD, Antoine
In the case of a end-to-end geostationnary link could reach 6 × 250 = 1, 5s pour TCP contre 3 × 250 = 750ms pour T/TCP.
23 1 MERIOCHAUD, Antoine
24 1 MERIOCHAUD, Antoine
h4. 2.3. Selective Acknowledgment mechanism
25 1 MERIOCHAUD, Antoine
26 1 MERIOCHAUD, Antoine
In TCP, acknowledgments specifiy the last received frame before a loss. Considering the following case : three packets are sent, P1, P2 and P3, with P1, P3 well received and P2 lost. In "classical" TCP, P2 will be retransmitted and then P3 will be retransmitted too. In TCP with Selective Acknowledgment, P2 will be retransmitted but not P3. This mechanism determine the discontinuities and so indicate the packets to be retransmitted. It saves bandwidth and reduces transmission delay.
27 1 MERIOCHAUD, Antoine
28 1 MERIOCHAUD, Antoine
h4. 2.4. Quick Start 
29 1 MERIOCHAUD, Antoine
30 1 MERIOCHAUD, Antoine
With Fast Start option, the window size is initialized to contain several frames in order to reach the higher value as fast as posible. In fact, in the TCP SYN packet, the sender specifies the desired sending rate. Then the receiver sends feedback to the sender in the SYN/ACK packet according to the routers in the path. 
31 1 MERIOCHAUD, Antoine
32 1 MERIOCHAUD, Antoine
!quick_start.jpg!
33 1 MERIOCHAUD, Antoine
+Figure 2: Comparison between slow start and quick start+
34 1 MERIOCHAUD, Antoine
35 1 MERIOCHAUD, Antoine
M ́ecanismes alternatifs `a Slow Start
36 1 MERIOCHAUD, Antoine
37 1 MERIOCHAUD, Antoine
Fast Start : La fenˆetre est initialis ́ee `a une valeur de plusieurs segments, pour
38 1 MERIOCHAUD, Antoine
39 1 MERIOCHAUD, Antoine
atteindre les valeurs les plus  ́elev ́ees plus rapidement. Tr`es efficace sur le lien satellite,
40 1 MERIOCHAUD, Antoine
41 1 MERIOCHAUD, Antoine
ce m ́ecanisme s’applique bien sur toutes les liaisons avec des produits Bande-passante
42 1 MERIOCHAUD, Antoine
43 1 MERIOCHAUD, Antoine
D ́elai (BDP)  ́elev ́es.
44 1 MERIOCHAUD, Antoine
45 1 MERIOCHAUD, Antoine
Smooth Start : On d ́efinit SmsT resh =
46 1 MERIOCHAUD, Antoine
47 1 MERIOCHAUD, Antoine
on ralentit la croissance exponentielle pour effectuer une transition entre slow start
48 1 MERIOCHAUD, Antoine
49 1 MERIOCHAUD, Antoine
et collison avoidance. Cel`a permet de regler le probl`eme de congestion d ́eclench ́e
50 1 MERIOCHAUD, Antoine
51 1 MERIOCHAUD, Antoine
parfois par slow start.