TCP: Overview: Full Duplex Data: Point-To-Point: Reliable, In-Order Pipelined
TCP: Overview: Full Duplex Data: Point-To-Point: Reliable, In-Order Pipelined
+ + + =
where P is the number of times TCP stalls at server:
} 1 , { min = K Q P
- where Q is the number of times the server would stall
if the object were of infinite size.
- and K is the number of windows that cover the object.
3: Transport Layer 3b-33
TCP Latency Modeling: Slow Start (cont.)
RTT
initiate TCP
connection
request
object
first window
= S/R
second window
= 2S/R
third window
= 4S/R
fourth window
= 8S/R
complete
transmission
object
delivered
time at
client
time at
server
Example:
O/S = 15 segments
K = 4 windows
Q = 2
P = min{K-1,Q} = 2
Server stalls P=2 times.
3: Transport Layer 3b-34
TCP Latency Modeling: Slow Start (cont.)
R
S
R
S
RTT P RTT
R
O
R
S
RTT
R
S
RTT
R
O
stallTime RTT
R
O
P
k
P
k
P
p
p
) 1 2 ( ] [ 2
] 2 [ 2
2 latency
1
1
1
+ + + =
+ + + =
+ + =
=
=
+
+
R
S
k
RTT
initiate TCP
connection
request
object
first window
= S/R
second window
= 2S/R
third window
= 4S/R
fourth window
= 8S/R
complete
transmission
object
delivered
time at
client
time at
server
3: Transport Layer 3b-35
Chapter 3: Summary
principles behind
transport layer services:
multiplexing/demultiplexing
reliable data transfer
flow control
congestion control
instantiation and
implementation in the Internet
UDP
TCP
Next:
leaving the network
edge (application
transport layer)
into the network core