SlideShare a Scribd company logo
1 of 50
Javier Araรบz
TCP Dynamic
Behavior
TCP: The Basics
Transmission Control Protocol, invented in 1974 by
Cerf&Kahn
Provides connection-oriented, reliable, causal octet
delivery between hosts in the Internet...
...at the expense of potentially long delays and low
throughput
One of the possible ______ choices to exchange data on
top of IP
four
TCP: The Basics
TCP packet format (from Wikipedia, the free
Encyclopedia)
Payload
TCP: The Basics
The TCP Sliding Window (the LEN value is inferred)
Alice Bob
SEQ=x, LEN=dA
SEQ=y, ACK=x+dA, LEN=dB
SEQ=x+dA, ACK=y+dB, LEN=dA
TCP: The Basics
Connection establishment
Alice Bob
SYN, SEQ=x, LEN=0
SYN, SEQ=y, ACK=x+dA, LEN=0
SEQ=x, ACK=y, LEN=dA
Presence of ACK allows
Bob to tell this message
apart from the initial one
TCP: The Basics
Connection release - ordered
Alice Bob
FIN, SEQ=x, LEN=0
FIN, SEQ=y, ACK=x+1, LEN=0
possibly k more octetsFIN, SEQ=y+k, ACK=x+1, LEN=0
FIN, SEQ=x, ACK=y+k+1, LEN=0
The additional 1 allows Bob
to tell this message apart
from a spontaneous FIN
from Alice
The additional 1 allows Alice
to tell this message apart
from a re-transmisison of the
initial FIN from Bob
TCP: The Basics
Connection release - unilateral
Alice Bob
RST, SEQ=y, LEN=0
TCP: The Basics
Alice Bob
Segment Exchange, Nagle algorithm
SEQ=x, ACK=y, LEN=dA
SEQ=x+dA, ACK=y, LEN=dA
SEQ=x+2dA, ACK=y, LEN=dA/3
time-out
SEQ=y, ACK=x+dA, LEN=0
Nagle criteria #1: send when
have complete segment
dA
Nagle criteria #3: send when
time-out happens
TCP: The Basics
Alice Bob
SEQ=x, ACK=y, LEN=dA
SEQ=y, ACK=x+dA, LEN=dB
SEQ=x+dA, ACK=y+dB, LEN=dASEQ=x+2dA, ACK=y+dB, LEN=dASEQ=x+3dA, ACK=y+dB, LEN=dA
SEQ=y+dB, ACK=x+3dA, LEN=dB
typically
>200ms
typically
>200ms
Single ACK acknowledges
multiple segments
One ACK for every two full
segments
Segment exchange, delayed ACK
SEQ=y+2dB, ACK=x+4dA, LEN=dB
SEQ=x, ACK=y, LEN=dA
SEQ=x+dA, ACK=y, LEN=dA
SEQ=x+2dA, ACK=y+dB, LEN=dA
SEQ=y, ACK=x+dA, LEN=dB
TCP: The Basics
Segment exchange, loss
Alice Bob
RTO
SEQ=x, ACK=y, LEN=dA
SEQ=y+dB, ACK=x+2dA, LEN=0
SEQ=x+dA, ACK=y, LEN=dA
SEQ=x, ACK=y, LEN=dA
SEQ=y, ACK=x+dA, LEN=dB
SEQ=x+dA, ACK=y, LEN=dA
SEQ=x+3dA, ACK=y+dB, LEN=dA
SEQ=x+dA, ACK=y+2dB, LEN=dA
SEQ=y+dB, ACK=x+dA, LEN=dB
TCP: The Basics
Segment exchange, loss with fast recovery
Alice Bob
SEQ=y+dB, ACK=x+3dA, LEN=0
SEQ=x+4dA, ACK=y+2dB, LEN=dA
:O
:O :O :O
SEQ=x+2dA, ACK=y, LEN=dA
TCP: The Basics
Flow Control
SEQ=y, ACK=x+dA, LEN=dB, W=4dA
SEQ=x+dA, ACK=y+dB, LEN=dA, W=4dB
SEQ=x+2dA, ACK=y+2dB, LEN=dA, W=3dB
SEQ=y+dB, ACK=x+2dA, LEN=dB, W=4dA
Alice BobSEQ=x, ACK=y, LEN=dA, W=5dB
SEQ=y+2dB, ACK=x+3dA, LEN=0, W=3dA
TCP: The Basics
Flow Control: breaking deadlocks
SEQ=y, ACK=x+dA, LEN=0, W=4dA
SEQ=x+dA, ACK=y, LEN=dA, W=5dB
SEQ=x+2dA, ACK=y, LEN=dA, W=5dB
SEQ=y, ACK=x+2dA, LEN=dB, W=3dA
Alice Bob
SEQ=x, ACK=y, LEN=dA, W=5dB
SEQ=x+3dA, ACK=y, LEN=dA, W=5dB
SEQ=x+4dA, ACK=y, LEN=dA, W=5dB
SEQ=y+dB, ACK=x+3dA, LEN=0, W=2dA
SEQ=y+dB, ACK=x+4dA, LEN=dB, W=dA
SEQ=y+2dB, ACK=x+5dA, LEN=0, W=0 !!!
SEQ=y+2dB, ACK=x+5dA, LEN=0, W=1
TCP: Congestion Control
Congestion and how it shows up:
โ€ขCongestion is the situation in which a router within the IP
network is not able to route all the traffic offered to it
โ€ขA router is congested when one or more of its ingress
queues are full
โ€ขCongestion manifests at end hosts in the form of one or
more lost TCP segments, which is known as a "congestion
event"
TCP: Congestion Control
How does TCP react to a congestion event?
โ€ขA congestion event may take one of two shapes:
1. A burst loss, detected as no ACK for the sent bytes received within RTO
seconds from sending a byte
2. A single loss, detected as a delayed ACK (an ACK for a byte sent later than a
not-yet-acknowledged byte)
โ€ขOn detection of a congestion event at a sender, TCP throttles down its sending rate by
decreasing its send window size (represented as W), entering a state known as
Congestion Avoidance mode
โ€ขWhile in Congestion Avoidance mode, the sending window is known as the congestion
window and its size is represented as cWnd
Congestion Avoidance mode in TCP-Reno
โ€ขOn a congestion event, TCP-Reno slashes its sending window as follows:
โ€ข While in congestion avoidance mode, TCP-Reno increases its congestion window by n
segments for each n acknowledged segments:
โ€ขAdditionally, in the face of a burst loss TCP Reno shuts down its sending window and
starts a slow-start phase until it reaches the congestion window size:
TCP: Congestion Control
Congestion Avoidance mode in TCP-Reno
TCP: Congestion Control
TCP: Congestion Control
Congestion Avoidance mode in TCP-Cubic:
TCP: Congestion Control
Congestion Avoidance mode in TCP-Vegas:
TCP: Congestion Control
Other CC algorithms:
โ€ขTCP-Ledbat
โ€ขTCP-Ericsson-Akamai
To know which CC algorithm your box is running:
> $ cat /proc/sys/net/ipv4/tcp_congestion_control
reno
To change the CC algorithm in your box:
โ€ขedit /boot/config-x.y.zz-generic
โ€ขchange CONFIG_DEFAULT_TCP_CONG
Main parameters affecting host performance:
TCP: End host charact.
*: tcp_wmem overrides /proc/sys/net/core/wmem_default
**: tcp_wmem overridden by /proc/sys/net/core/wmem_max
***: setsockopt() changing buffer sizes disables auto-tuning!!
Browse with (requires super-user privileges):
sysctl -a | fgrep net.ipv4.tcp
sysctl name
(net.ipv4)
meaning default explanation
tcp_low_latency Nagle algorithm status 0 Nagle enabled
tcp_window_scaling Window scaling status 1 Window scaling
enabled
tcp_adv_win_scale Window scaling factor 2 W = w2
tcp_wmem Sending buffer size 4KB 85KB* 170KB** min/default/max
tcp_moderate_rcvbu
f
Auto-tuning (2.6.7 and later) 1*** Auto-tuning enabled
TCP: End host charact.
Measuring end-host performance:
> netstat -natuw
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:36285 127.0.0.1:12865 TIME_WAIT
tcp 0 0 10.0.0.5:37322 10.0.0.4:33932 TIME_WAIT
tcp 0 1 10.0.0.5:55351 10.0.0.4:33932 SYN_SENT
tcp 0 1 10.0.0.5:55350 10.0.0.4:33932 LAST_ACK
tcp 0 0 10.0.0.5:64093 10.0.0.4:33932 TIME_WAIT
tcp 0 0 10.0.0.5:35122 10.0.0.4:12865 ESTABLISHED
tcp 0 0 10.0.0.5:17318 10.0.0.4: 0 0 :::22 :::* LISTEN
TCP: IP Network charact.
Measuring end-to-end performance:
netserver -p <portnum>
netperf -p <portnum> -l <secs> -H <target> -t TCP_RR -r
<reqsize,rspsize> -s <sndbuf,rcvbuf> -S <sndbuf,rcvbuf> -C -c
TCP: IP Network charact.
How Sprint characterized its network:
TCP: IP Network charact.
TCP: IP Router behavior
IP router simplified model:
switch fabric
Routing logic
Line cards Line cards
Queue management strategies:
Passive: drop every incoming packet when the ingress
queue is full
Active: drop incoming packets selectively when the ingress
queue lenght grows above a threshold
TCP: IP Router behavior
threshold
Router can't choose, Red
flow gets more share than
Green and Blue
Router can choose, thus
share queue space more
evenly
Active Queue Management flavors:
Random Early Discard (RED)
Weighted Fair Queueing (WFQ)
TCP: IP Router behavior
minThresmaxThres
token buckets
1
RED mitigates tail-drops
but is unfair
drop probability
distribution
WFQ mitigates tail-drops
and is fair
TCP: IP Router behavior
Packet drop probability distributions
Passive
RED
WFQ
Ideal
TCP: Dynamic Performance
Bandwidth-delay product: physical analogy
h
l
P lpm @ V mps
W mps
2
r
h r2 โ‰ฅ VP*l/W + P*l = (1 + V/W)P*lแดซ
If V=W then h r2 โ‰ฅ 2P*lแดซ
TCP: Dynamic Performance
Bandwidth-delay product: a TCP invariant
BW bps
T s
W
W > 2BW*T = BW*D
TCP: Dynamic Performance
Window sizes for different BW and D values:
TCP w/o LFN extensions (RFC1323) limits window size to 216 = 64KB
Solutions:
A) open multiple TCP connections (each has its own 64KB window)
B) use a LFN-friendly TCP stack (i.e. supporting RFC1323), like the one in Linux kernel 2.6.16 that
comes with LOTC
2 sources of packet loss:
1) Transmission errors: random, non-correlated
2.a) Router queues: random, correlated
2.b) Router queues with Active Queue Management (e.g. RED): random,
non-correlated
Theoretical throughput model comes given by:
(non-correlated)
Max values are capped by send/receive window size limits
TCP: Dynamic Performance
TCP: Dynamic Performance
TCP stable state:
s
t
w
w/2
D
2D
3D
wD/2 wD 3wD/2
3w/4
Group was not exported from SlideRocket
TCP: Dynamic Performance
Congestion window size (cWnd) is independent of buffer size at the
receiver (RCVBUF):
Group was not exported from SlideRocket
p
RCVBUF
D
2D
3D
wD
w
wD/2
cWnd=2*w/2=w
cWndโ€™=(3w/2)/2=3w/4
3wD/2
cWndโ€™โ€™=(5w/4)/2=5w/8
3w/2
TCP: Dynamic Performance
BW limit for different p and D values (W = โˆž, non-correlated loss with C=1):
Solutions:
Multiple TCP connections in theory allow more aggregated throughput; however, effect of increasing
load on the network at congestion spots is unknown
TCP: Dynamic Performance
Evolution of senderโ€™s buffer with time (uniform arrival rate):
w
w
--
-
2
D 2
D
3
D
w
--- D
2
Queued packets
3w
---
4
Qi = 3w/4 โ€“ [(w/2 + i) โ€“ Qi-1], Q-1 = 1
Qi = w/4 โ€“ i + Qi-1
= w/4 โ€“ i + [w/4 โ€“ (i-1) + [w/4 โ€“ (i-2) + โ€ฆ ]]
= w/4*i โ€“ [i + (i-1) + (i-2) + โ€ฆ ]
= w/4*i โ€“ [i*i โ€“ (1+2+3+โ€ฆ+i)]
= w/4*i โ€“ i2 + i(1+i)/2 =
= w/4*i โ€“ i2 + (i2+i)/2 =
= (w+2)*i/4 โ€“ i2/2
Note: the term 1+2+3+โ€ฆ+i is an arithmetic
progression of n=i elements which initial value a1=1,
final value an=i and coefficient d=1 which sums up to
n(a1+an)/2 = i(1+i)/2 = (i2+i)/2
TCP: Dynamic Performance
How does the TCP buffer at the sender look like?
TCP: Dynamic Performance
ฮผฮป
Qi
S
cWndicWndi+1
i = ยผ*(w+2-2k ยฑ โˆš((w+2)2+4k(2-5w-3k))
kmax < 1/6[(2-5w)+โˆš((2-5w)2+3(w+2)2)
When Qi < cWndi -> S = 0
When cWndi < Qi < cWndi+cWndi+1 -> S = D
cWndi+cWndi+1 < Qi < cWndi+cWndi+1+cWndi+2 -> S = 2D
โ€ฆ
When ฮฃcWndi+k-1 < Qi < ฮฃcWndi+k -> S = kD
Since cWndi = w/2 + i:
ฮฃcWndi+k = (w/2+i) + (w/2+i+1) + โ€ฆ + (w/2+i+k)
= (k+1)(w/2+i) + k(1+k)/2
= ยฝ[k(w+1+2i+k)]
Service time (S) evolution:
i
Q
TCP: Dynamic Performance
Expected throughput, latency and jitter
p=10-3 => w = 51.64 => kmax = 88
Group was
not
exported
from
SlideRocket
TCP: Aggregation
Flows ingressing a congested back-bone router "resonate"
after a few packet drops:
T2
T3
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Tk
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Resonance takes place once every flow has suffered at least one drop
Resonance period tends to the average of all periods weighted by the
flow size
Group was
not
exported
from
SlideRocket
Group was
not
exported
from
SlideRocket
TCP: Aggregation
Resonating flows with similar RTT have their own micro-
resonance ; this phenomenon is known as 'flocking':
T2
T3
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
Gr
ou
p
wa
s
no
t
ex
po
rte
d
fro
m
Sli
de
Ro
ck
et
There is no theoretical approach to calculating the micro-resonance
thresholds
Flows with short micro-resonance periods steal throughput from flows
with long micro-resonance periods
TCP: Application Behavior
Misbehaved applications:
A host is allowed to open as many flows as its resources can afford to the
same target host
IP routers deal with each flow blindly, ignoring the fact that many flows
might start and end in the same host pair
Therefore the bandwidth share taken by an application at a congested
link depends on the number of flows it puts through that link:
BW = k*BWi
Corollary: applications holding many flows between end-hosts are both
unfair to applications holding fewer flows and a potential congestion
cause
TCP: Application Behavior
Misbehaved applications:
A host may start transmitting at a high rate (if the receiver
has enough buffer) then drop the connection when stable
state has been reached (connection is trained)
If the host re-connects very quickly and starts trasmitting
at high rate again, on average it shall take more bandwidth
than its peers maintaining trained connections
Corollary: dropping a trained connection is never a good
idea if there's a chance it shall be used soon
TCP: Application Behavior
Well-behaved applications:
A sensible application shall open more connections if
needed, but close them if it perceives it is causing
congestion
A sensible application shall try to maintain and re-use
trained connections as much as possible
TCP: Application Behavior
De-bunking send&receive window limitations:
From Linux kernel 2.6.7, the TCP receiving window adjusts itself
depending on the free space in the buffer
Remember the /proc/sys/net/ipv4/tcp_write_mem system variable?:
Window starts at the middle value (default 16KB)
Window grows and shrinks as needed depending on number of queued
segments
Window growth is limited by the right-most value (default 1MB), and
never shrinks to less than the left-most value (default 4KB)
Sending window has been self-adjusting from much earlier than 2.6.7
kernel
TCP: Research Issues
Research topic #1: improving congestion control by
routers
Though much more harmless than tail drops, single packet
drops drive TCP into congestion avoidance mode
Even when using WFQ, traffic spikes can cause the much
undesirable tail drops
If a router could signal transmitters when congestion is
coming, trasmitters might adjust their transmission rates
without drops and without entering congestion avoidance
mode
This research field focuses on the use of the ECN bit in
the TCP packet header
TCP: Research Issues
Research topic #2: how to conciliate the congestion-bound
TCP traffic with the unbound, heavyweight UDP traffic
TCP traffic can be throttled up and down before, during
and after congestion
UDP traffic on the contrary cannot be throttled, and is
potentially causing more congestion than TCP
Focus of this research area is on congestion-controlling
UDP (for instance the just-created RMCAT IETF WG,
check https://datatracker.ietf.org/wg/rmcat/charter/)
TCP: Research Issues
Research topic #3: congestion control algorithms for 4G
radio accesses
Which of the existing CC algorithms (Reno, Vegas,
Cubic...) performs best in 4G RANs?
Would new CC algorithms perform better than existing
ones?
How can the more aggressive algorithms co-exist
pacifically with the more conservative ones?
Research report on CC algorithm performance in LTE
networks (link)
TCP: References
Macroscopic Behavior of the TCP Congestion Avoidance
Algorithm, http://citeseerx.ist.psu.edu/viewdoc/summary?
doi=10.1.1.25.3452
Modeling TCP Throughput: A Simple Model and its
Empirical Validation, http://?

More Related Content

What's hot

high speedla-ns
high speedla-nshigh speedla-ns
high speedla-nsSrinivasa Rao
ย 
Network and TCP performance relationship workshop
Network and TCP performance relationship workshopNetwork and TCP performance relationship workshop
Network and TCP performance relationship workshopKae Hsu
ย 
Computer network (11)
Computer network (11)Computer network (11)
Computer network (11)NYversity
ย 
3g umts-originating-call Call Flow
3g umts-originating-call Call Flow3g umts-originating-call Call Flow
3g umts-originating-call Call FlowEduard Lucena
ย 
Part 8 : TCP and Congestion control
Part 8 : TCP and Congestion controlPart 8 : TCP and Congestion control
Part 8 : TCP and Congestion controlOlivier Bonaventure
ย 
Bandwidth Efficiency Improvement for Online Games by the use of Tunneling, Co...
Bandwidth Efficiency Improvement for Online Games by the use of Tunneling, Co...Bandwidth Efficiency Improvement for Online Games by the use of Tunneling, Co...
Bandwidth Efficiency Improvement for Online Games by the use of Tunneling, Co...Jose Saldana
ย 
RIP RTCP RTSP
RIP RTCP RTSPRIP RTCP RTSP
RIP RTCP RTSPDev Heba
ย 
Real-Time Streaming Protocol
Real-Time Streaming Protocol Real-Time Streaming Protocol
Real-Time Streaming Protocol Jayaprakash Nagaruru
ย 
RTP.ppt
RTP.pptRTP.ppt
RTP.pptVideoguy
ย 
Surviving The Stump The Chump Interview Questions
Surviving The Stump The Chump Interview QuestionsSurviving The Stump The Chump Interview Questions
Surviving The Stump The Chump Interview QuestionsDuane Bodle
ย 
udp , tcp ,sctp
udp , tcp ,sctpudp , tcp ,sctp
udp , tcp ,sctpAKSHIT KOHLI
ย 

What's hot (17)

Rtsp
RtspRtsp
Rtsp
ย 
8 congestion-ipv6
8 congestion-ipv68 congestion-ipv6
8 congestion-ipv6
ย 
7. protocols
7. protocols7. protocols
7. protocols
ย 
high speedla-ns
high speedla-nshigh speedla-ns
high speedla-ns
ย 
5 sharing-app
5 sharing-app5 sharing-app
5 sharing-app
ย 
Network and TCP performance relationship workshop
Network and TCP performance relationship workshopNetwork and TCP performance relationship workshop
Network and TCP performance relationship workshop
ย 
Computer network (11)
Computer network (11)Computer network (11)
Computer network (11)
ย 
3g umts-originating-call Call Flow
3g umts-originating-call Call Flow3g umts-originating-call Call Flow
3g umts-originating-call Call Flow
ย 
RTP
RTPRTP
RTP
ย 
Part 8 : TCP and Congestion control
Part 8 : TCP and Congestion controlPart 8 : TCP and Congestion control
Part 8 : TCP and Congestion control
ย 
Bandwidth Efficiency Improvement for Online Games by the use of Tunneling, Co...
Bandwidth Efficiency Improvement for Online Games by the use of Tunneling, Co...Bandwidth Efficiency Improvement for Online Games by the use of Tunneling, Co...
Bandwidth Efficiency Improvement for Online Games by the use of Tunneling, Co...
ย 
RIP RTCP RTSP
RIP RTCP RTSPRIP RTCP RTSP
RIP RTCP RTSP
ย 
Real-Time Streaming Protocol
Real-Time Streaming Protocol Real-Time Streaming Protocol
Real-Time Streaming Protocol
ย 
RTP.ppt
RTP.pptRTP.ppt
RTP.ppt
ย 
6 app-tcp
6 app-tcp6 app-tcp
6 app-tcp
ย 
Surviving The Stump The Chump Interview Questions
Surviving The Stump The Chump Interview QuestionsSurviving The Stump The Chump Interview Questions
Surviving The Stump The Chump Interview Questions
ย 
udp , tcp ,sctp
udp , tcp ,sctpudp , tcp ,sctp
udp , tcp ,sctp
ย 

Viewers also liked

Lecture 5
Lecture 5Lecture 5
Lecture 5ntpc08
ย 
Socket็ฝ‘็ปœ็ผ–็จ‹
Socket็ฝ‘็ปœ็ผ–็จ‹Socket็ฝ‘็ปœ็ผ–็จ‹
Socket็ฝ‘็ปœ็ผ–็จ‹qhm123
ย 
TCP with delayed ack for wireless networks
TCP with delayed ack for wireless networksTCP with delayed ack for wireless networks
TCP with delayed ack for wireless networksambitlicksolutions
ย 
CS4344 09/10 Lecture 10: Transport Protocol for Networked Games
CS4344 09/10 Lecture 10: Transport Protocol for Networked GamesCS4344 09/10 Lecture 10: Transport Protocol for Networked Games
CS4344 09/10 Lecture 10: Transport Protocol for Networked GamesWei Tsang Ooi
ย 
TCP Model
TCP ModelTCP Model
TCP Modelmanojkum22
ย 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Controltameemyousaf
ย 

Viewers also liked (8)

Lecture 5
Lecture 5Lecture 5
Lecture 5
ย 
Socket็ฝ‘็ปœ็ผ–็จ‹
Socket็ฝ‘็ปœ็ผ–็จ‹Socket็ฝ‘็ปœ็ผ–็จ‹
Socket็ฝ‘็ปœ็ผ–็จ‹
ย 
TCP with delayed ack for wireless networks
TCP with delayed ack for wireless networksTCP with delayed ack for wireless networks
TCP with delayed ack for wireless networks
ย 
CS4344 09/10 Lecture 10: Transport Protocol for Networked Games
CS4344 09/10 Lecture 10: Transport Protocol for Networked GamesCS4344 09/10 Lecture 10: Transport Protocol for Networked Games
CS4344 09/10 Lecture 10: Transport Protocol for Networked Games
ย 
TCP Model
TCP ModelTCP Model
TCP Model
ย 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
ย 
2 reliability-network
2 reliability-network2 reliability-network
2 reliability-network
ย 
4 transport-sharing
4 transport-sharing4 transport-sharing
4 transport-sharing
ย 

Similar to Course on TCP Dynamic Performance

Troubleshooting TCP/IP
Troubleshooting TCP/IPTroubleshooting TCP/IP
Troubleshooting TCP/IPvijai s
ย 
chapter 3.2 TCP.pptx
chapter 3.2 TCP.pptxchapter 3.2 TCP.pptx
chapter 3.2 TCP.pptxTekle12
ย 
Tcp traffic control and red ecn
Tcp traffic control and red ecnTcp traffic control and red ecn
Tcp traffic control and red ecnAbhishek Kesharwani
ย 
Kernel Recipes 2014 - NDIV: a low overhead network traffic diverter
Kernel Recipes 2014 - NDIV: a low overhead network traffic diverterKernel Recipes 2014 - NDIV: a low overhead network traffic diverter
Kernel Recipes 2014 - NDIV: a low overhead network traffic diverterAnne Nicolas
ย 
Tcp congestion control
Tcp congestion controlTcp congestion control
Tcp congestion controlAbdo sayed
ย 
Introduction to tcpdump
Introduction to tcpdumpIntroduction to tcpdump
Introduction to tcpdumpLev Walkin
ย 
(NET404) Making Every Packet Count
(NET404) Making Every Packet Count(NET404) Making Every Packet Count
(NET404) Making Every Packet CountAmazon Web Services
ย 
Performance Evaluation of High Speed Congestion Control Protocols
Performance Evaluation of High Speed Congestion Control  ProtocolsPerformance Evaluation of High Speed Congestion Control  Protocols
Performance Evaluation of High Speed Congestion Control ProtocolsIOSR Journals
ย 
NE #1.pptx
NE #1.pptxNE #1.pptx
NE #1.pptxtahaniali27
ย 
Tcp congestion avoidance
Tcp congestion avoidanceTcp congestion avoidance
Tcp congestion avoidanceAhmed Kamel Taha
ย 
Abandon Decades-Old TCPdump for Modern Troubleshooting
Abandon Decades-Old TCPdump for Modern TroubleshootingAbandon Decades-Old TCPdump for Modern Troubleshooting
Abandon Decades-Old TCPdump for Modern TroubleshootingAvi Networks
ย 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12daniel ayalew
ย 
AWS re:Invent 2016: Making Every Packet Count (NET404)
AWS re:Invent 2016: Making Every Packet Count (NET404)AWS re:Invent 2016: Making Every Packet Count (NET404)
AWS re:Invent 2016: Making Every Packet Count (NET404)Amazon Web Services
ย 
Part5-tcp-improvements.pptx
Part5-tcp-improvements.pptxPart5-tcp-improvements.pptx
Part5-tcp-improvements.pptxOlivier Bonaventure
ย 
Unit III IPV6 UDP
Unit III IPV6 UDPUnit III IPV6 UDP
Unit III IPV6 UDPsangusajjan
ย 
TCP_Congestion_Control.ppt
TCP_Congestion_Control.pptTCP_Congestion_Control.ppt
TCP_Congestion_Control.ppt19UCSA032ASANJAYKUMA
ย 
Part 9 : Congestion control and IPv6
Part 9 : Congestion control and IPv6Part 9 : Congestion control and IPv6
Part 9 : Congestion control and IPv6Olivier Bonaventure
ย 
Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)Andriy Berestovskyy
ย 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Chandra Meena
ย 

Similar to Course on TCP Dynamic Performance (20)

Troubleshooting TCP/IP
Troubleshooting TCP/IPTroubleshooting TCP/IP
Troubleshooting TCP/IP
ย 
chapter 3.2 TCP.pptx
chapter 3.2 TCP.pptxchapter 3.2 TCP.pptx
chapter 3.2 TCP.pptx
ย 
Tcp traffic control and red ecn
Tcp traffic control and red ecnTcp traffic control and red ecn
Tcp traffic control and red ecn
ย 
Kernel Recipes 2014 - NDIV: a low overhead network traffic diverter
Kernel Recipes 2014 - NDIV: a low overhead network traffic diverterKernel Recipes 2014 - NDIV: a low overhead network traffic diverter
Kernel Recipes 2014 - NDIV: a low overhead network traffic diverter
ย 
Tcp congestion control
Tcp congestion controlTcp congestion control
Tcp congestion control
ย 
Introduction to tcpdump
Introduction to tcpdumpIntroduction to tcpdump
Introduction to tcpdump
ย 
(NET404) Making Every Packet Count
(NET404) Making Every Packet Count(NET404) Making Every Packet Count
(NET404) Making Every Packet Count
ย 
Performance Evaluation of High Speed Congestion Control Protocols
Performance Evaluation of High Speed Congestion Control  ProtocolsPerformance Evaluation of High Speed Congestion Control  Protocols
Performance Evaluation of High Speed Congestion Control Protocols
ย 
NE #1.pptx
NE #1.pptxNE #1.pptx
NE #1.pptx
ย 
Tcp congestion avoidance
Tcp congestion avoidanceTcp congestion avoidance
Tcp congestion avoidance
ย 
Abandon Decades-Old TCPdump for Modern Troubleshooting
Abandon Decades-Old TCPdump for Modern TroubleshootingAbandon Decades-Old TCPdump for Modern Troubleshooting
Abandon Decades-Old TCPdump for Modern Troubleshooting
ย 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12
ย 
AWS re:Invent 2016: Making Every Packet Count (NET404)
AWS re:Invent 2016: Making Every Packet Count (NET404)AWS re:Invent 2016: Making Every Packet Count (NET404)
AWS re:Invent 2016: Making Every Packet Count (NET404)
ย 
Part5-tcp-improvements.pptx
Part5-tcp-improvements.pptxPart5-tcp-improvements.pptx
Part5-tcp-improvements.pptx
ย 
Unit III IPV6 UDP
Unit III IPV6 UDPUnit III IPV6 UDP
Unit III IPV6 UDP
ย 
TCP_Congestion_Control.ppt
TCP_Congestion_Control.pptTCP_Congestion_Control.ppt
TCP_Congestion_Control.ppt
ย 
Part 9 : Congestion control and IPv6
Part 9 : Congestion control and IPv6Part 9 : Congestion control and IPv6
Part 9 : Congestion control and IPv6
ย 
Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)Network Programming: Data Plane Development Kit (DPDK)
Network Programming: Data Plane Development Kit (DPDK)
ย 
Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc
ย 
HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
ย 

Recently uploaded

Call Girls Service Chandigarh Lucky โค๏ธ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky โค๏ธ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky โค๏ธ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky โค๏ธ 7710465962 Independent Call Girls In C...Sheetaleventcompany
ย 
Hot Call Girls |Delhi |Hauz Khas โ˜Ž 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas โ˜Ž 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas โ˜Ž 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas โ˜Ž 9711199171 Book Your One night Standkumarajju5765
ย 
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
ย 
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRLLucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRLimonikaupta
ย 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
ย 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
ย 
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...Diya Sharma
ย 
Call Girls In Sukhdev Vihar Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
Call Girls In Sukhdev Vihar Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”Call Girls In Sukhdev Vihar Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
Call Girls In Sukhdev Vihar Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”soniya singh
ย 
Top Rated Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
ย 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...SUHANI PANDEY
ย 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...SUHANI PANDEY
ย 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
ย 
Busty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort Service
Busty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort ServiceBusty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort Service
Busty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort ServiceDelhi Call girls
ย 
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
ย 
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort ServiceEnjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort ServiceDelhi Call girls
ย 
Call Girls In Defence Colony Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
Call Girls In Defence Colony Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”Call Girls In Defence Colony Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
Call Girls In Defence Colony Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”soniya singh
ย 
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)Delhi Call girls
ย 
All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445
All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445
All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445ruhi
ย 

Recently uploaded (20)

Call Girls Service Chandigarh Lucky โค๏ธ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky โค๏ธ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky โค๏ธ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky โค๏ธ 7710465962 Independent Call Girls In C...
ย 
Hot Call Girls |Delhi |Hauz Khas โ˜Ž 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas โ˜Ž 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas โ˜Ž 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas โ˜Ž 9711199171 Book Your One night Stand
ย 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 ๐Ÿซฆ Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 ๐Ÿซฆ Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 ๐Ÿซฆ Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 ๐Ÿซฆ Vanshika Verma More Our Se...
ย 
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now โ˜Ž 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
ย 
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRLLucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
Lucknow โคCALL GIRL 88759*99948 โคCALL GIRLS IN Lucknow ESCORT SERVICEโคCALL GIRL
ย 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
ย 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
ย 
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
โ‚น5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] ๐Ÿ”|97111...
ย 
Call Girls In Sukhdev Vihar Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
Call Girls In Sukhdev Vihar Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”Call Girls In Sukhdev Vihar Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
Call Girls In Sukhdev Vihar Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
ย 
Top Rated Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund โŸŸ 6297143586 โŸŸ Call Me For Genuine Sex Servi...
ย 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
ย 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
ย 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
ย 
Busty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort Service
Busty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort ServiceBusty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort Service
Busty DesiโšกCall Girls in Vasundhara Ghaziabad >เผ’8448380779 Escort Service
ย 
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Prashant Vihar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
ย 
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort ServiceEnjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
Enjoy NightโšกCall Girls Dlf City Phase 3 Gurgaon >เผ’8448380779 Escort Service
ย 
Call Girls In Defence Colony Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
Call Girls In Defence Colony Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”Call Girls In Defence Colony Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
Call Girls In Defence Colony Delhi ๐Ÿ’ฏCall Us ๐Ÿ”8264348440๐Ÿ”
ย 
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
WhatsApp ๐Ÿ“ž 8448380779 โœ…Call Girls In Mamura Sector 66 ( Noida)
ย 
All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445
All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445
All Time Service Available Call Girls Mg Road ๐Ÿ‘Œ โญ๏ธ 6378878445
ย 

Course on TCP Dynamic Performance

  • 2. TCP: The Basics Transmission Control Protocol, invented in 1974 by Cerf&Kahn Provides connection-oriented, reliable, causal octet delivery between hosts in the Internet... ...at the expense of potentially long delays and low throughput One of the possible ______ choices to exchange data on top of IP four
  • 3. TCP: The Basics TCP packet format (from Wikipedia, the free Encyclopedia) Payload
  • 4. TCP: The Basics The TCP Sliding Window (the LEN value is inferred) Alice Bob SEQ=x, LEN=dA SEQ=y, ACK=x+dA, LEN=dB SEQ=x+dA, ACK=y+dB, LEN=dA
  • 5. TCP: The Basics Connection establishment Alice Bob SYN, SEQ=x, LEN=0 SYN, SEQ=y, ACK=x+dA, LEN=0 SEQ=x, ACK=y, LEN=dA Presence of ACK allows Bob to tell this message apart from the initial one
  • 6. TCP: The Basics Connection release - ordered Alice Bob FIN, SEQ=x, LEN=0 FIN, SEQ=y, ACK=x+1, LEN=0 possibly k more octetsFIN, SEQ=y+k, ACK=x+1, LEN=0 FIN, SEQ=x, ACK=y+k+1, LEN=0 The additional 1 allows Bob to tell this message apart from a spontaneous FIN from Alice The additional 1 allows Alice to tell this message apart from a re-transmisison of the initial FIN from Bob
  • 7. TCP: The Basics Connection release - unilateral Alice Bob RST, SEQ=y, LEN=0
  • 8. TCP: The Basics Alice Bob Segment Exchange, Nagle algorithm SEQ=x, ACK=y, LEN=dA SEQ=x+dA, ACK=y, LEN=dA SEQ=x+2dA, ACK=y, LEN=dA/3 time-out SEQ=y, ACK=x+dA, LEN=0 Nagle criteria #1: send when have complete segment dA Nagle criteria #3: send when time-out happens
  • 9. TCP: The Basics Alice Bob SEQ=x, ACK=y, LEN=dA SEQ=y, ACK=x+dA, LEN=dB SEQ=x+dA, ACK=y+dB, LEN=dASEQ=x+2dA, ACK=y+dB, LEN=dASEQ=x+3dA, ACK=y+dB, LEN=dA SEQ=y+dB, ACK=x+3dA, LEN=dB typically >200ms typically >200ms Single ACK acknowledges multiple segments One ACK for every two full segments Segment exchange, delayed ACK SEQ=y+2dB, ACK=x+4dA, LEN=dB
  • 10. SEQ=x, ACK=y, LEN=dA SEQ=x+dA, ACK=y, LEN=dA SEQ=x+2dA, ACK=y+dB, LEN=dA SEQ=y, ACK=x+dA, LEN=dB TCP: The Basics Segment exchange, loss Alice Bob RTO SEQ=x, ACK=y, LEN=dA SEQ=y+dB, ACK=x+2dA, LEN=0 SEQ=x+dA, ACK=y, LEN=dA
  • 11. SEQ=x, ACK=y, LEN=dA SEQ=y, ACK=x+dA, LEN=dB SEQ=x+dA, ACK=y, LEN=dA SEQ=x+3dA, ACK=y+dB, LEN=dA SEQ=x+dA, ACK=y+2dB, LEN=dA SEQ=y+dB, ACK=x+dA, LEN=dB TCP: The Basics Segment exchange, loss with fast recovery Alice Bob SEQ=y+dB, ACK=x+3dA, LEN=0 SEQ=x+4dA, ACK=y+2dB, LEN=dA :O :O :O :O SEQ=x+2dA, ACK=y, LEN=dA
  • 12. TCP: The Basics Flow Control SEQ=y, ACK=x+dA, LEN=dB, W=4dA SEQ=x+dA, ACK=y+dB, LEN=dA, W=4dB SEQ=x+2dA, ACK=y+2dB, LEN=dA, W=3dB SEQ=y+dB, ACK=x+2dA, LEN=dB, W=4dA Alice BobSEQ=x, ACK=y, LEN=dA, W=5dB SEQ=y+2dB, ACK=x+3dA, LEN=0, W=3dA
  • 13. TCP: The Basics Flow Control: breaking deadlocks SEQ=y, ACK=x+dA, LEN=0, W=4dA SEQ=x+dA, ACK=y, LEN=dA, W=5dB SEQ=x+2dA, ACK=y, LEN=dA, W=5dB SEQ=y, ACK=x+2dA, LEN=dB, W=3dA Alice Bob SEQ=x, ACK=y, LEN=dA, W=5dB SEQ=x+3dA, ACK=y, LEN=dA, W=5dB SEQ=x+4dA, ACK=y, LEN=dA, W=5dB SEQ=y+dB, ACK=x+3dA, LEN=0, W=2dA SEQ=y+dB, ACK=x+4dA, LEN=dB, W=dA SEQ=y+2dB, ACK=x+5dA, LEN=0, W=0 !!! SEQ=y+2dB, ACK=x+5dA, LEN=0, W=1
  • 14. TCP: Congestion Control Congestion and how it shows up: โ€ขCongestion is the situation in which a router within the IP network is not able to route all the traffic offered to it โ€ขA router is congested when one or more of its ingress queues are full โ€ขCongestion manifests at end hosts in the form of one or more lost TCP segments, which is known as a "congestion event"
  • 15. TCP: Congestion Control How does TCP react to a congestion event? โ€ขA congestion event may take one of two shapes: 1. A burst loss, detected as no ACK for the sent bytes received within RTO seconds from sending a byte 2. A single loss, detected as a delayed ACK (an ACK for a byte sent later than a not-yet-acknowledged byte) โ€ขOn detection of a congestion event at a sender, TCP throttles down its sending rate by decreasing its send window size (represented as W), entering a state known as Congestion Avoidance mode โ€ขWhile in Congestion Avoidance mode, the sending window is known as the congestion window and its size is represented as cWnd
  • 16. Congestion Avoidance mode in TCP-Reno โ€ขOn a congestion event, TCP-Reno slashes its sending window as follows: โ€ข While in congestion avoidance mode, TCP-Reno increases its congestion window by n segments for each n acknowledged segments: โ€ขAdditionally, in the face of a burst loss TCP Reno shuts down its sending window and starts a slow-start phase until it reaches the congestion window size: TCP: Congestion Control
  • 17. Congestion Avoidance mode in TCP-Reno TCP: Congestion Control
  • 18. TCP: Congestion Control Congestion Avoidance mode in TCP-Cubic:
  • 19. TCP: Congestion Control Congestion Avoidance mode in TCP-Vegas:
  • 20. TCP: Congestion Control Other CC algorithms: โ€ขTCP-Ledbat โ€ขTCP-Ericsson-Akamai To know which CC algorithm your box is running: > $ cat /proc/sys/net/ipv4/tcp_congestion_control reno To change the CC algorithm in your box: โ€ขedit /boot/config-x.y.zz-generic โ€ขchange CONFIG_DEFAULT_TCP_CONG
  • 21. Main parameters affecting host performance: TCP: End host charact. *: tcp_wmem overrides /proc/sys/net/core/wmem_default **: tcp_wmem overridden by /proc/sys/net/core/wmem_max ***: setsockopt() changing buffer sizes disables auto-tuning!! Browse with (requires super-user privileges): sysctl -a | fgrep net.ipv4.tcp sysctl name (net.ipv4) meaning default explanation tcp_low_latency Nagle algorithm status 0 Nagle enabled tcp_window_scaling Window scaling status 1 Window scaling enabled tcp_adv_win_scale Window scaling factor 2 W = w2 tcp_wmem Sending buffer size 4KB 85KB* 170KB** min/default/max tcp_moderate_rcvbu f Auto-tuning (2.6.7 and later) 1*** Auto-tuning enabled
  • 22. TCP: End host charact. Measuring end-host performance: > netstat -natuw Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:36285 127.0.0.1:12865 TIME_WAIT tcp 0 0 10.0.0.5:37322 10.0.0.4:33932 TIME_WAIT tcp 0 1 10.0.0.5:55351 10.0.0.4:33932 SYN_SENT tcp 0 1 10.0.0.5:55350 10.0.0.4:33932 LAST_ACK tcp 0 0 10.0.0.5:64093 10.0.0.4:33932 TIME_WAIT tcp 0 0 10.0.0.5:35122 10.0.0.4:12865 ESTABLISHED tcp 0 0 10.0.0.5:17318 10.0.0.4: 0 0 :::22 :::* LISTEN
  • 23. TCP: IP Network charact. Measuring end-to-end performance: netserver -p <portnum> netperf -p <portnum> -l <secs> -H <target> -t TCP_RR -r <reqsize,rspsize> -s <sndbuf,rcvbuf> -S <sndbuf,rcvbuf> -C -c
  • 24. TCP: IP Network charact. How Sprint characterized its network:
  • 25. TCP: IP Network charact.
  • 26. TCP: IP Router behavior IP router simplified model: switch fabric Routing logic Line cards Line cards
  • 27. Queue management strategies: Passive: drop every incoming packet when the ingress queue is full Active: drop incoming packets selectively when the ingress queue lenght grows above a threshold TCP: IP Router behavior threshold Router can't choose, Red flow gets more share than Green and Blue Router can choose, thus share queue space more evenly
  • 28. Active Queue Management flavors: Random Early Discard (RED) Weighted Fair Queueing (WFQ) TCP: IP Router behavior minThresmaxThres token buckets 1 RED mitigates tail-drops but is unfair drop probability distribution WFQ mitigates tail-drops and is fair
  • 29. TCP: IP Router behavior Packet drop probability distributions Passive RED WFQ Ideal
  • 30. TCP: Dynamic Performance Bandwidth-delay product: physical analogy h l P lpm @ V mps W mps 2 r h r2 โ‰ฅ VP*l/W + P*l = (1 + V/W)P*lแดซ If V=W then h r2 โ‰ฅ 2P*lแดซ
  • 31. TCP: Dynamic Performance Bandwidth-delay product: a TCP invariant BW bps T s W W > 2BW*T = BW*D
  • 32. TCP: Dynamic Performance Window sizes for different BW and D values: TCP w/o LFN extensions (RFC1323) limits window size to 216 = 64KB Solutions: A) open multiple TCP connections (each has its own 64KB window) B) use a LFN-friendly TCP stack (i.e. supporting RFC1323), like the one in Linux kernel 2.6.16 that comes with LOTC
  • 33. 2 sources of packet loss: 1) Transmission errors: random, non-correlated 2.a) Router queues: random, correlated 2.b) Router queues with Active Queue Management (e.g. RED): random, non-correlated Theoretical throughput model comes given by: (non-correlated) Max values are capped by send/receive window size limits TCP: Dynamic Performance
  • 34. TCP: Dynamic Performance TCP stable state: s t w w/2 D 2D 3D wD/2 wD 3wD/2 3w/4
  • 35. Group was not exported from SlideRocket TCP: Dynamic Performance Congestion window size (cWnd) is independent of buffer size at the receiver (RCVBUF): Group was not exported from SlideRocket p RCVBUF D 2D 3D wD w wD/2 cWnd=2*w/2=w cWndโ€™=(3w/2)/2=3w/4 3wD/2 cWndโ€™โ€™=(5w/4)/2=5w/8 3w/2
  • 36. TCP: Dynamic Performance BW limit for different p and D values (W = โˆž, non-correlated loss with C=1): Solutions: Multiple TCP connections in theory allow more aggregated throughput; however, effect of increasing load on the network at congestion spots is unknown
  • 37. TCP: Dynamic Performance Evolution of senderโ€™s buffer with time (uniform arrival rate): w w -- - 2 D 2 D 3 D w --- D 2 Queued packets 3w --- 4 Qi = 3w/4 โ€“ [(w/2 + i) โ€“ Qi-1], Q-1 = 1 Qi = w/4 โ€“ i + Qi-1 = w/4 โ€“ i + [w/4 โ€“ (i-1) + [w/4 โ€“ (i-2) + โ€ฆ ]] = w/4*i โ€“ [i + (i-1) + (i-2) + โ€ฆ ] = w/4*i โ€“ [i*i โ€“ (1+2+3+โ€ฆ+i)] = w/4*i โ€“ i2 + i(1+i)/2 = = w/4*i โ€“ i2 + (i2+i)/2 = = (w+2)*i/4 โ€“ i2/2 Note: the term 1+2+3+โ€ฆ+i is an arithmetic progression of n=i elements which initial value a1=1, final value an=i and coefficient d=1 which sums up to n(a1+an)/2 = i(1+i)/2 = (i2+i)/2
  • 38. TCP: Dynamic Performance How does the TCP buffer at the sender look like?
  • 39. TCP: Dynamic Performance ฮผฮป Qi S cWndicWndi+1 i = ยผ*(w+2-2k ยฑ โˆš((w+2)2+4k(2-5w-3k)) kmax < 1/6[(2-5w)+โˆš((2-5w)2+3(w+2)2) When Qi < cWndi -> S = 0 When cWndi < Qi < cWndi+cWndi+1 -> S = D cWndi+cWndi+1 < Qi < cWndi+cWndi+1+cWndi+2 -> S = 2D โ€ฆ When ฮฃcWndi+k-1 < Qi < ฮฃcWndi+k -> S = kD Since cWndi = w/2 + i: ฮฃcWndi+k = (w/2+i) + (w/2+i+1) + โ€ฆ + (w/2+i+k) = (k+1)(w/2+i) + k(1+k)/2 = ยฝ[k(w+1+2i+k)] Service time (S) evolution: i Q
  • 40. TCP: Dynamic Performance Expected throughput, latency and jitter p=10-3 => w = 51.64 => kmax = 88
  • 41. Group was not exported from SlideRocket TCP: Aggregation Flows ingressing a congested back-bone router "resonate" after a few packet drops: T2 T3 Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Tk Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Resonance takes place once every flow has suffered at least one drop Resonance period tends to the average of all periods weighted by the flow size
  • 42. Group was not exported from SlideRocket Group was not exported from SlideRocket TCP: Aggregation Resonating flows with similar RTT have their own micro- resonance ; this phenomenon is known as 'flocking': T2 T3 Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et Gr ou p wa s no t ex po rte d fro m Sli de Ro ck et There is no theoretical approach to calculating the micro-resonance thresholds Flows with short micro-resonance periods steal throughput from flows with long micro-resonance periods
  • 43. TCP: Application Behavior Misbehaved applications: A host is allowed to open as many flows as its resources can afford to the same target host IP routers deal with each flow blindly, ignoring the fact that many flows might start and end in the same host pair Therefore the bandwidth share taken by an application at a congested link depends on the number of flows it puts through that link: BW = k*BWi Corollary: applications holding many flows between end-hosts are both unfair to applications holding fewer flows and a potential congestion cause
  • 44. TCP: Application Behavior Misbehaved applications: A host may start transmitting at a high rate (if the receiver has enough buffer) then drop the connection when stable state has been reached (connection is trained) If the host re-connects very quickly and starts trasmitting at high rate again, on average it shall take more bandwidth than its peers maintaining trained connections Corollary: dropping a trained connection is never a good idea if there's a chance it shall be used soon
  • 45. TCP: Application Behavior Well-behaved applications: A sensible application shall open more connections if needed, but close them if it perceives it is causing congestion A sensible application shall try to maintain and re-use trained connections as much as possible
  • 46. TCP: Application Behavior De-bunking send&receive window limitations: From Linux kernel 2.6.7, the TCP receiving window adjusts itself depending on the free space in the buffer Remember the /proc/sys/net/ipv4/tcp_write_mem system variable?: Window starts at the middle value (default 16KB) Window grows and shrinks as needed depending on number of queued segments Window growth is limited by the right-most value (default 1MB), and never shrinks to less than the left-most value (default 4KB) Sending window has been self-adjusting from much earlier than 2.6.7 kernel
  • 47. TCP: Research Issues Research topic #1: improving congestion control by routers Though much more harmless than tail drops, single packet drops drive TCP into congestion avoidance mode Even when using WFQ, traffic spikes can cause the much undesirable tail drops If a router could signal transmitters when congestion is coming, trasmitters might adjust their transmission rates without drops and without entering congestion avoidance mode This research field focuses on the use of the ECN bit in the TCP packet header
  • 48. TCP: Research Issues Research topic #2: how to conciliate the congestion-bound TCP traffic with the unbound, heavyweight UDP traffic TCP traffic can be throttled up and down before, during and after congestion UDP traffic on the contrary cannot be throttled, and is potentially causing more congestion than TCP Focus of this research area is on congestion-controlling UDP (for instance the just-created RMCAT IETF WG, check https://datatracker.ietf.org/wg/rmcat/charter/)
  • 49. TCP: Research Issues Research topic #3: congestion control algorithms for 4G radio accesses Which of the existing CC algorithms (Reno, Vegas, Cubic...) performs best in 4G RANs? Would new CC algorithms perform better than existing ones? How can the more aggressive algorithms co-exist pacifically with the more conservative ones? Research report on CC algorithm performance in LTE networks (link)
  • 50. TCP: References Macroscopic Behavior of the TCP Congestion Avoidance Algorithm, http://citeseerx.ist.psu.edu/viewdoc/summary? doi=10.1.1.25.3452 Modeling TCP Throughput: A Simple Model and its Empirical Validation, http://?