SlideShare a Scribd company logo
1 of 95
Multi-Gbps TCP
9:00-10:00 Harvey Newman (Physics, Caltech)
High speed networks & grids
10:00-10:45 Sylvain Ravot (Physics, Caltech/CERN)
LHC networks and TCP Grid
10:45-11:00 Discussion
11:00-11:15 Break
11:15-12:00 Steven Low (CS/EE, Caltech)
TCP/AQM protocols and duality model
12:00-12:15 Dohy Hong (INRIA/Caltech)
Synchronization effect of TCP
12:15- 1:00 Lunch
Multi-Gbps TCP
1:00-2:00 Fernando Paganini (EE, UCLA)
Control theory and stability of TCP/AQM
2:00-2:30 Steven Low (CS/EE, Caltech)
Stabilized Vegas (& instability of Reno/RED)
2:30-3:00 Zhikui Wang (EE, UCLA)
FAST simulations
3:00-3:15 Break
3:15-4:00 David Wei, Cheng Hu (CS, Caltech)
Some related projects and TCP kernel
4:00-4:15 Break
4:15-5:00 Discussion
Copyright, 1996 © Dale Carnegie & Associates,
Dualtiy Model of
TCP/AQM
Steven Low
CS & EE, Caltech
netlab.caltech.edu
2002
Acknowledgment
S. Athuraliya, D. Lapsley, V. Li, Q. Yin
(UMelb)
S. Adlakha (UCLA), D. Choe
(Postech/Caltech), J. Doyle (Caltech), K.
Kim (SNU/Caltech), L. Li (Caltech), F.
Paganini (UCLA), J. Wang (Caltech)
L. Peterson, L. Wang (Princeton)
Part I
Protocols
Window Flow Control
~ W packets per RTT
Lost packet detected by missing ACK
RTT
time
time
Source
Destination
1 2 W
1 2 W
1 2 W
data ACKs
1 2 W
Source Rate
Limit the number of packets in the network
to window W
Source rate = bps
If W too small then rate « capacity
If W too big then rate > capacity
=> congestion
RTT
MSSW ×
TCP Window Flow Controls
 Receiver flow control
 Avoid overloading receiver
 Set by receiver
 awnd: receiver (advertised) window
 Network flow control
 Avoid overloading network
 Set by sender
 Infer available network capacity
 cwnd: congestion window
 Set W = min (cwnd, awnd)
Receiver Flow Control
Receiver advertises awnd with each ACK
Window awnd
closed when data is received and ack’d
opened when data is read
Size of awnd can be the performance limit
(e.g. on a LAN)
sensible default ~16kB
Network Flow Control
Source calculates cwnd from indication of
network congestion
Congestion indications
Losses
Delay
Marks
Algorithms to calculate cwnd
Tahoe, Reno, Vegas, RED, REM …
TCP Congestion Controls
 Tahoe (Jacobson 1988)
 Slow Start
 Congestion Avoidance
 Fast Retransmit
 Reno (Jacobson 1990)
 Fast Recovery
 Vegas (Brakmo & Peterson 1994)
 New Congestion Avoidance
 RED (Floyd & Jacobson 1993)
 Probabilistic marking
 BLUE (Feng, Kandlur, Saha, Shin 1999)
 REM/PI (Athuraliya et al 2000/Hollot et al 2001)
 Clear buffer, match rate
 AVQ (Kunniyur & Srikant 2001)
TCP/AQM
 Tahoe (Jacobson 1988)
 Slow Start
 Congestion Avoidance
 Fast Retransmit
 Reno (Jacobson 1990)
 Fast Recovery
 Vegas (Brakmo & Peterson 1994)
 New Congestion Avoidance
 BLUE
 RED (Floyd & Jacobson 1993)
 REM/PI (Athuraliya et al 2000, Hollot et al 2001)
TCP Tahoe (Jacobson 1988)
SS
time
window
CA
SS: Slow Start
CA: Congestion Avoidance
Slow Start
Start with cwnd = 1 (slow start)
On each successful ACK increment cwnd
cwnd ← cnwd + 1
Exponential growth of cwnd
each RTT: cwnd ← 2 x cwnd
Enter CA when cwnd >= ssthresh
Slow Start
data packet
ACK
receiversender
1 RTT
cwnd
1
2
3
4
5
6
7
8
cwnd ← cwnd + 1 (for each ACK)
Congestion Avoidance
Starts when cwnd ≥ ssthresh
On each successful ACK:
cwnd ← cwnd + 1/cwnd
Linear growth of cwnd
each RTT: cwnd ← cwnd + 1
Congestion Avoidance
cwnd
1
2
3
1 RTT
4
data packet
ACK
cwnd ← cwnd + 1 (for each cwnd ACKS)
receiversender
Packet Loss
Assumption: loss indicates congestion
Packet loss detected by
Retransmission TimeOuts (RTO timer)
Duplicate ACKs (at least 3)
1 2 3 4 5 6
1 2 3
Packets
Acknowledgements
3 3
7
3
Fast Retransmit
Wait for a timeout is quite long
Immediately retransmits after 3 dupACKs
without waiting for timeout
Adjusts ssthresh
flightsize = min(awnd, cwnd)
ssthresh ← max(flightsize/2, 2)
Enter Slow Start (cwnd = 1)
Successive Timeouts
When there is a timeout, double the RTO
Keep doing so for each lost retransmission
 Exponential back-off
 Max 64 seconds1
 Max 12 restransmits1
1 - Net/3 BSD
Summary: Tahoe
 Basic ideas
 Gently probe network for spare capacity
 Drastically reduce rate on congestion
 Windowing: self-clocking
 Other functions: round trip time estimation, error
recovery
for every ACK {
if (W < ssthresh) then W++ (SS)
else W += 1/W (CA)
}
for every loss {
ssthresh = W/2
W = 1
}
TCP Reno (Jacobson 1990)
CASS
Fast retransmission/fast recovery
Fast recovery
 Motivation: prevent `pipe’ from emptying after
fast retransmit
 Idea: each dupACK represents a packet having
left the pipe (successfully received)
 Enter FR/FR after 3 dupACKs
 Set ssthresh ← max(flightsize/2, 2)
 Retransmit lost packet
 Set cwnd ← ssthresh + ndup (window inflation)
 Wait till W=min(awnd, cwnd) is large enough; transmit
new packet(s)
 On non-dup ACK (1 RTT later), set cwnd ← ssthresh
(window deflation)
 Enter CA
9
9
4
0 0
Example: FR/FR
Fast retransmit
Retransmit on 3 dupACKs
Fast recovery
Inflate window while repairing loss to fill pipe
time
S
timeR
1 2 3 4 5 6 87
8
cwnd 8
ssthresh
1
7
4
0 0 0
Exit FR/FR
4
4
4
11
00
10 11
Summary: Reno
Basic ideas
Fast recovery avoids slow start
dupACKs: fast retransmit + fast recovery
Timeout: fast retransmit + slow start
slow start retransmit
congestion
avoidance FR/FR
dupACKs
timeout
Active queue management
Idea: provide congestion information by
probabilistically marking packets
Issues
How to measure congestion (p and G)?
How to embed congestion measure?
How to feed back congestion info?
x(t+1) = F( p(t), x(t) )
p(t+1) = G( p(t), x(t) )
Reno, Vegas
DropTail, RED, REM
RED (Floyd & Jacobson 1993)
 Congestion measure: average queue length
pl(t+1) = [pl(t) + xl
(t) - cl]+
 Embedding: p-linear probability function
 Feedback: dropping or ECN marking
Avg queue
marking
1
REM (Athuraliya & Low 2000)
 Congestion measure: price
pl(t+1) = [pl(t) + γ(αl bl(t)+ xl
(t) - cl)]+
 Embedding:
 Feedback: dropping or ECN marking
REM (Athuraliya & Low 2000)
 Congestion measure: price
pl(t+1) = [pl(t) + γ(αl bl(t)+ xl
(t) - cl)]+
 Embedding: exponential probability function
 Feedback: dropping or ECN marking
0 2 4 6 8 10 12 14 16 18 20
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Linkcongestionmeasure
Linkmarkingprobability
Match rate
Clear buffer and match rate
Clear buffer
Key features
+
−++=+ )])(ˆ)(()([)1( l
l
llll ctxtbtptp αγ
)()(
11 tptp s
l −−
−⇒− φφ
Sum prices
Theorem (Paganini 2000)
Global asymptotic stability for general utility
function (in the absence of delay)
Active Queue Management
pl(t) G(p(t), x(t))
DropTail loss [1 - cl/xl
(t)]+
(?)
RED queue [pl(t) + xl
(t) - cl]+
Vegas delay [pl(t) + xl
(t)/cl - 1]+
REM price [pl(t) + γ(αl bl(t)+ xl
(t) - cl )]+
x(t+1) = F( p(t), x(t) )
p(t+1) = G( p(t), x(t) )
Reno, Vegas
DropTail, RED, REM
Congestion & performance
pl(t) G(p(t), x(t))
Reno loss [1 - cl/xl
(t)]+
(?)
Reno/RED queue [pl(t) + xl
(t) - cl]+
Reno/REM price [pl(t) + γ(αl bl(t)+ xl
(t) - cl )]+
Vegas delay [pl(t) + xl
(t)/cl - 1]+
 Decouple congestion & performance measure
 RED: `congestion’ = `bad performance’
 REM: `congestion’ = `demand exceeds supply’
But performance remains good!
Part II
Duality Model
Congestion Control
Heavy tail  Mice-elephants
Elephant
Internet
Mice
Congestion control
efficient & fair sharing small delay
queueing + propagation
CDN
TCP
xi(t)
TCP & AQM
xi(t)
pl(t)
Example congestion measure pl(t)
Loss (Reno)
Queueing delay (Vegas)
Outline
Protocol (Reno, Vegas, RED, REM/PI…)
Equilibrium
 Performance
 Throughput, loss, delay
 Fairness
 Utility
Dynamics
 Local stability
 Cost of stabilization
))(),(()1(
))(),(()1(
txtpGtp
txtpFtx
=+
=+
TCP & AQM
xi(t)
pl(t)
TCP:
 Reno
 Vegas
AQM:
 DropTail
 RED
 REM/PI
 AVQ
TCP & AQM
xi(t)
pl(t)
TCP:
 Reno
 Vegas
AQM:
 DropTail
 RED
 REM/PI
 AVQ
Model structure
F1
FN
G1
GL
Rf(s)
Rb
’
(s)
TCP Network AQM
Multi-link multi-source network
x y
q p
from F. Paganini
TCP Reno (Jacobson 1990)
SS
time
window
CA
SS: Slow Start
CA: Congestion Avoidance Fast retransmission/fast recovery
TCP Vegas (Brakmo & Peterson 1994)
SS
time
window
CA
 Converges, no retransmission
 … provided buffer is large enough
queue size
for every RTT
{ if W/RTTmin – W/RTT < α then W ++
if W/RTTmin – W/RTT > α then W -- }
for every loss
W := W/2
Vegas model
pl(t+1) = [pl(t) + yl (t)/cl - 1]+
Gl:
( )



<+=+ iiii
i
ii dtqtx
D
txtx α)()(if
1
)(1 2
( ) else)(1 txtx ss =+
Fi:
( )



>−=+ iiii
i
ii dtqtx
D
txtx α)()(if
1
)(1 2
Vegas model
F1
FN
G1
GL
Rf(s)
Rb
’
(s)
TCP Network AQM
x y
q p
+






−+= 1
)(
)(
l
l
ll
c
ty
tpG
( ))()(sgn
))((
1
)( 2
tqtxd
tqd
txF iiii
ii
ii −
+
+= α
Overview
Protocol (Reno, Vegas, RED, REM/PI…)
Equilibrium
 Performance
 Throughput, loss, delay
 Fairness
 Utility
Dynamics
 Local stability
 Cost of stabilization
))(),(()1(
))(),(()1(
txtpGtp
txtpFtx
=+
=+
Model
c1 c2
 Network
 Links l of capacities cl
Sources i
L(s) - links used by source i
Ui(xi) - utility if source rate = xi
x1
x2
x3
121 cxx ≤+ 231 cxx ≤+
Primal problem
Llcy
xU
ll
i
ii
xi
∈∀≤
∑≥
,subject to
)(max
0
Assumptions
Strictly concave increasing Ui
 Unique optimal rates xi exist
 Direct solution impractical
Related Work
 Formulation
 Kelly 1997
 Penalty function approach
 Kelly, Maulloo & Tan 1998
 Kunniyur & Srikant 2000
 Duality approach
 Low & Lapsley 1999
 Athuraliya & Low 2000
 Extensions
 Mo & Walrand 2000
 La & Anantharam 2000
 Dynamics
 Johari & Tan 2000, Massoulie 2000, Vinnicombe 2000, …
 Hollot, Misra, Towsley & Gong 2001
 Paganini 2000, Paganini, Doyle, Low 2001, …
Duality Approach
))(),(()1(
))(),(()1(
txtpGtp
txtpFtx
=+
=+
Primal-dual algorithm:






−+=
∈∀≤
∑∑
∑
≥≥
≥
)()(max)(min
,subject to)(max
00
0
:Dual
:Primal
l
l
l
l
s
ss
xp
l
l
s
ss
x
xcpxUpD
LlcxxU
s
s
Duality Model of TCP
))(),(()1(
))(),(()1(
txtpGtp
txtpFtx
=+
=+
Primal-dual algorithm:
Reno, Vegas
DropTail, RED, REM
 Source algorithm iterates on rates
 Link algorithm iterates on prices
 With different utility functions
Duality Model of TCP
))(),(()1(
))(),(()1(
txtpGtp
txtpFtx
=+
=+
Primal-dual algorithm:
Reno, Vegas
DropTail, RED, REM
(x*,p*) primal-dual optimal if and only if
0ifequalitywith **
>≤ lll pcy
Duality Model of TCP
))(),(()1(
))(),(()1(
txtpGtp
txtpFtx
=+
=+
Primal-dual algorithm:
Reno, Vegas
DropTail, RED, REM
Any link algorithm that stabilizes queue
 generates Lagrange multipliers
 solves dual problem
Gradient algorithm
 Gradient algorithm
))(()1(:source 1'
tqUtx iii
−
=+
+
−+=+ )])(()([)1(:link lllll ctytptp γ
Theorem (Low & Lapsley ’99)
Converge to optimal rates in distributed
asynchronous environment
Gradient algorithm
 Gradient algorithm
))(()1(:source 1'
tqUtx iii
−
=+
+
−+=+ )])(()([)1(:link lllll ctytptp γ
 Vegas: approximate gradient algorithm
( ))()(sgn
))((
1
)( 2
txtx
tqd
txF ii
ii
ii −
+
+=
))((1'
tqU ii
−
Summary: equilibrium
Llcx
xU
l
l
s
ss
xs
∈∀≤
∑≥
,subject to
)(max0
 Flow control problem
 TCP/AQM
 Maximize aggregate source utility
 With different utility functions
 Primal-dual algorithm
))(),(()1(
))(),(()1(
txtpGtp
txtpFtx
=+
=+ Reno, Vegas
DropTail, RED, REM
Implications
Performance
Rate, delay, queue, loss
Fairness
Utility function
Persistent congestion
Performance
Delay
Congestion measures: end to end queueing
delay
Sets rate
Equilibrium condition: Little’s Law
Loss
No loss if converge (with sufficient buffer)
Otherwise: revert to Reno (loss unavoidable)
)(
)(
tq
d
tx
s
s
ss α=
Vegas Utility
iiiii xdxU log)( α=
Equilibrium (x, p) = (F, G)
Proportional fairness
Validation (L. Wang, Princeton)
Source 1 Source 3 Source 5
RTT (ms) 17.1 (17) 21.9 (22) 41.9 (42)
Rate (pkts/s) 1205 (1200) 1228 (1200) 1161 (1200)
Window (pkts) 20.5 (20.4) 27 (26.4) 49.8 (50.4)
Avg backlog (pkts) 9.8 (10)
NS-2 simulation, single link, capacity = 6 pkts/ms
5 sources with different propagation delays, αs = 2 pkts/RTT
meausred theory
Persistent congestion
 Vegas exploits buffer process to compute prices
(queueing delays)
 Persistent congestion due to
 Coupling of buffer & price
 Error in propagation delay estimation
 Consequences
 Excessive backlog
 Unfairness to older sources
Theorem (Low, Peterson, Wang ’02)
A relative error of εs in propagation delay estimation
distorts the utility function to
sssssssss xdxdxU εαε ++= log)1()(ˆ
Validation (L. Wang, Princeton)
 Single link, capacity = 6 pkt/ms, αs = 2 pkts/ms, ds = 10 ms
 With finite buffer: Vegas reverts to Reno
Without estimation error With estimation error
Validation (L. Wang, Princeton)
Source rates (pkts/ms)
# src1 src2 src3 src4 src5
1 5.98 (6)
2 2.05 (2) 3.92 (4)
3 0.96 (0.94) 1.46 (1.49) 3.54 (3.57)
4 0.51 (0.50) 0.72 (0.73) 1.34 (1.35) 3.38 (3.39)
5 0.29 (0.29) 0.40 (0.40) 0.68 (0.67) 1.30 (1.30) 3.28 (3.34)
# queue (pkts) baseRTT (ms)
1 19.8 (20) 10.18 (10.18)
2 59.0 (60) 13.36 (13.51)
3 127.3 (127) 20.17 (20.28)
4 237.5 (238) 31.50 (31.50)
5 416.3 (416) 49.86 (49.80)
Vegas/REM
Vegas/REM Vegas
peak = 43 pkts
utilization : 90% - 96%
Outline
Protocol (Reno, Vegas, RED, REM/PI…)
Equilibrium
 Performance
 Throughput, loss, delay
 Fairness
 Utility
Dynamics
 Local stability
 Cost of stabilization
))(),(()1(
))(),(()1(
txtpGtp
txtpFtx
=+
=+
Vegas model
F1
FN
G1
GL
Rf(s)
Rb
’
(s)
TCP Network AQM
x y
q p
+






−+= 1
)(
)(
l
l
ll
c
ty
tpG
( ))()(sgn
))((
1
)( 2
tqtxd
tqd
txF iiii
ii
ii −
+
+= α
Vegas model
F1
FN
G1
GL
Rf(s)
Rb
’
(s)
TCP Network AQM
x y
q p
[ ] lieR lis
lif linkusessourceifτ

−
=
[ ] lieR lis
lib linkusessourceifτ

−
=
Approximate model
( )ii
ii
d
tqtx
i
tT
tx α
)()(
2
1sgn
)(
1
)( −=
Approximate model
( )ii
ii
d
tqtx
i
tT
tx α
)()(
2
1sgn
)(
1
)( −=
( )ii
ii
d
tqtx
i
tT
tx αη
π
)()(1-
2
1tan
)(
12
)( −=
Linearized model
i
ii
i
i
i
i q
asT
a
q
x
x ∂
+
−=∂ l
l
l y
c
p ∂−=∂
γ

F1
FN
G1
GL
Rf(s)
Rb
’
(s)
TCP Network AQM
x y
q p
12
ii
i
Tx
a
π
η
−= γ controls equilibrium delay
Stability
Cannot be satisfied with >1 bottleneck link!
Theorem (Choe & Low, ‘02)
Locally asymptotically stable if
c
c
i
i
a
a
ω
ωsin
mintimetriproud
delayqueueinglink
> > 0.63
Stabilized Vegas
( ))(1tan
)(
12
)( )()(1-
2
tq
tT
tx iid
tqtx
i ii
ii
 κη
π α −−=
( )ii
ii
d
tqtx
i
tT
tx αη
π
)()(1-
2
1tan
)(
12
)( −=
Linearized model
i
ii
i
i
i
i q
asT
a
q
x
x ∂
+
−=∂ l
l
l y
c
p ∂−=∂
γ

F1
FN
G1
GL
Rf(s)
Rb
’
(s)
TCP Network AQM
x y
q p
γ controls equilibrium delay
Linearized model
i
ii
i
ii q
as
as
bx ∂
+
+
−=∂
µ
 l
l
l y
c
p ∂−=∂
γ

F1
FN
G1
GL
Rf(s)
Rb
’
(s)
TCP Network AQM
x y
q p
γ controls equilibrium delaychoose ai = a, αi = µ
Stability
Theorem (Choe & Low, ‘02)
Locally asymptotically stable if
),(
queueingtripround
timetripround
µaσM <
example
 LHS < 10*10 = 100
 a = 0.1, µ = 0.015  σ (a,µ) = 120
Stability
Theorem (Choe & Low, ‘02)
Locally asymptotically stable if
),(
queueingtripround
timetripround
µaσM <
Application
 Stabilized TCP with current routers
 Queueing delay as congestion measure has the right scaling
 Incremental deployment with ECN
Papers
 A duality model of TCP flow controls (ITC, Sept 2000)
 Optimization flow control, I: basic algorithm &
convergence (ToN, 7(6), Dec 1999)
 Understanding Vegas: a duality model (J. ACM, 2002)
 Scalable laws for stable network congestion
control (CDC, 2001)
 REM: active queue management (Network, May/June 2001)
netlab.caltech.edu
Backup slides
Dynamics
Small effect on queue
AIMD
Mice traffic
Heterogeneity
Big effect on queue
Stability!
Stable: 20ms delay
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
10
20
30
40
50
60
70
Window
time (ms)
Window(pkts)
individual window
Window
Ns-2 simulations, 50 identical FTP sources, single link 9 pkts/ms, RED marking
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
100
200
300
400
500
600
700
800
Instantaneous queue
time (ms)
Instantaneousqueue(pkts)
Queue
Stable: 20ms delay
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
10
20
30
40
50
60
70
Window
time (ms)
Window(pkts)
individual window
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
10
20
30
40
50
60
70
Window
time (ms)
Window(pkts)
individual window
average window
Window
Ns-2 simulations, 50 identical FTP sources, single link 9 pkts/ms, RED marking
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
10
20
30
40
50
60
70
Window
time (10ms)
Window(pkts)
individual window
Unstable: 200ms delay
Window
Ns-2 simulations, 50 identical FTP sources, single link 9 pkts/ms, RED marking
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
10
20
30
40
50
60
70
Window
time (10ms)
Window(pkts)
individual window
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
10
20
30
40
50
60
70
Window
time (10ms)
Window(pkts)
individual window
average window
Unstable: 200ms delay
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
100
200
300
400
500
600
700
800
Instantaneous queue
time (10ms)
Instantaneousqueue(pkts)
QueueWindow
Ns-2 simulations, 50 identical FTP sources, single link 9 pkts/ms, RED marking
Other effects on queue
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
100
200
300
400
500
600
700
800
Instantaneous queue
time (ms)
Instantaneousqueue(pkts)
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0
100
200
300
400
500
600
700
800
Instantaneous queue
time (10ms)
Instantaneousqueue(pkts)
20ms
200ms
0 10 20 30 40 50 60 70 80 90 100
0
100
200
300
400
500
600
700
800
Instantaneous queue (50% noise)
time (sec)
instantaneousqueue(pkts)
50% noise
0 10 20 30 40 50 60 70 80 90 100
0
100
200
300
400
500
600
700
800
Instantaneous queue (50% noise)
time (sec)
instantaneousqueue(pkts)
50% noise
0 10 20 30 40 50 60 70 80 90 100
0
100
200
300
400
500
600
700
800
time (sec)
Instantaneous queue (pkts)
instantaneousqueue(pkts)
avg delay 16ms
0 10 20 30 40 50 60 70 80 90 100
0
100
200
300
400
500
600
700
800
time (sec)
Instantaneous queue (pkts)
instantaneousqueue(pkts)
avg delay 208ms
Effect of instability
Larger jitters in throughput
Lower utilization
20 40 60 80 100 120 140 160 180 200
0
20
40
60
80
100
120
140
160
delay (ms)
window
Mean and variance of individual window
mean
variance
No noise
Linearized system
F1
FN
G1
GL
Rf(s)
Rb
’
(s)
TCP Network AQM
x y
q p
( ) ))(),(),((
~
:)(),( tytptzGtytpG lllllll =
( ) )(
2
)())(1(
)()(),(
2
2
tq
txtq
txtxtqF i
i
i
i
iiii −
−
+=
τ
Linearized system
F1
FN
G1
GL
Rf(s)
Rb
’
(s)
x y
q p
s
n
s
n
ni ii
i
n
e
e
x
c
scs
c
wpsp
sL τ
βτ
τ
α
ρα
ττ
−
−
⋅
+
⋅
+
⋅
+
=
∑
∑ 1
1
)(
1
)( ***
TCP RED queue delay
Stability condition
Theorem: TCP/RED stable if
222
2
3
33
)1(4
)1
)(
2 ππβ
βπ
τ
τρ
−+
≤+⋅
-(
Nc
N
c
ω=0
∞=ω
TCP:
 Small τ
 Small c
 Large N
RED:
 Small ρ
 Large delay
Validation
50 55 60 65 70 75 80 85 90 95 100
50
55
60
65
70
75
80
85
90
95
100
Round trip propagation delay at critical frequency (ms)
delay (NS)
delay(model)
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
Critical frequency (Hz)
frequency (NS)
frequency(model) dynamic-link model
30 data points
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
Critical frequency (Hz)
frequency (NS)
frequency(model) dynamic-link model
30 data points
Validation
50 55 60 65 70 75 80 85 90 95 100
50
55
60
65
70
75
80
85
90
95
100
Round trip propagation delay at critical frequency (ms)
delay (NS)
delay(model)
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
Critical frequency (Hz)
frequency (NS)
frequency(model) dynamic-link model
static-link model
30 data points
Stability region
8 9 10 11 12 13 14 15
50
55
60
65
70
75
80
85
90
95
100
Round trip propagation delay at critical frequency
capacity (pkts/ms)
delay(ms)
N=40
N=30
N=20
N=20 N=60
Unstable for
 Large delay
 Large capacity
 Small load
Role of AQM
(Sufficient) stability condition
-1
});({co θωHK ⋅
Role of AQM
(Sufficient) stability condition
-1
});({co θωHK ⋅
TCP:
N
c
2
22
τ
**
wpj
e j
+
−
ω
ω
AQM: scale down K & shape H
Role of AQM
});({co θωHK ⋅
TCP:
N
c
2
22
τ
**
wpj
e j
+
−
ω
ω
RED:
β
ταρ
−1
c
ταωω
θ
cj
e j
+
⋅
−
1
REM/PI:
β
τ
−1
2a
ω
τω
ω
θ
j
aaje j
21 /+
⋅
−
Queue dynamics (windowing)
Problem!!
Role of AQM
To stabilize a given TCP Fi with least cost
),(subject to
)()()()(min
0)(
pxFx
dttRptptxQtx TT
p
=
+∫
∞
⋅

 Linearized F, single link, identical sources

Any AQM solves
optimal control with appropriate Q and R
))()()(()( 321
*
tyktyktbktp  ++−=
))()()(()( 321 tyktyktbktp  ++−=
Role of AQM
To stabilize a given TCP Fi with least cost
),(subject to
)()()()(min
0)(
pxFx
dttRptptxQtx TT
p
=
+∫
∞
⋅

 Linearized F, single link, identical sources


))()()(()( 321
*
tyktyktbktp  ++−=
k1=0
Nonzero buffer
k3=0
Slower decay

More Related Content

What's hot

Queue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docxQueue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docxsarvank2
 
Implementing ssl self sign demo
Implementing ssl self sign demoImplementing ssl self sign demo
Implementing ssl self sign demosarvank2
 
Ibm mq dqm setups
Ibm mq dqm setupsIbm mq dqm setups
Ibm mq dqm setupssarvank2
 
CCDT(client connection)MQ.docx
CCDT(client connection)MQ.docxCCDT(client connection)MQ.docx
CCDT(client connection)MQ.docxsarvank2
 
Ibm mq c luster overlap demo script
Ibm mq c luster overlap demo scriptIbm mq c luster overlap demo script
Ibm mq c luster overlap demo scriptsarvank2
 
Seminar atlas 1104.5225
Seminar atlas 1104.5225Seminar atlas 1104.5225
Seminar atlas 1104.5225RiggoryLirikin
 
Quadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitterQuadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitterAsaad Drake
 
Investigating the Use of Synchronized Clocks in TCP Congestion Control
Investigating the Use of Synchronized Clocks in TCP Congestion ControlInvestigating the Use of Synchronized Clocks in TCP Congestion Control
Investigating the Use of Synchronized Clocks in TCP Congestion ControlMichele Weigle
 
Distributed Video Streaming over Internet
Distributed Video Streaming over InternetDistributed Video Streaming over Internet
Distributed Video Streaming over InternetVideoguy
 
Tele4653 l3
Tele4653 l3Tele4653 l3
Tele4653 l3Vin Voro
 
Tcp congestion control
Tcp congestion controlTcp congestion control
Tcp congestion controlAbdo sayed
 
Asynchronous Differential Distributed Space-Time Coding
Asynchronous Differential Distributed Space-Time CodingAsynchronous Differential Distributed Space-Time Coding
Asynchronous Differential Distributed Space-Time Codingmravendi
 
TCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
TCP-FIT: An Improved TCP Congestion Control Algorithm and its PerformanceTCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
TCP-FIT: An Improved TCP Congestion Control Algorithm and its PerformanceKevin Tong
 
Ofdm &amp; qam
Ofdm &amp; qamOfdm &amp; qam
Ofdm &amp; qamnickymeher
 
Contamination delay
Contamination delayContamination delay
Contamination delayNima Afraz
 

What's hot (20)

Lect9 (1)
Lect9 (1)Lect9 (1)
Lect9 (1)
 
Queue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docxQueue Manager both as sender and Receiver.docx
Queue Manager both as sender and Receiver.docx
 
Implementing ssl self sign demo
Implementing ssl self sign demoImplementing ssl self sign demo
Implementing ssl self sign demo
 
Ibm mq dqm setups
Ibm mq dqm setupsIbm mq dqm setups
Ibm mq dqm setups
 
CCDT(client connection)MQ.docx
CCDT(client connection)MQ.docxCCDT(client connection)MQ.docx
CCDT(client connection)MQ.docx
 
B0311219
B0311219B0311219
B0311219
 
Ibm mq c luster overlap demo script
Ibm mq c luster overlap demo scriptIbm mq c luster overlap demo script
Ibm mq c luster overlap demo script
 
Seminar atlas 1104.5225
Seminar atlas 1104.5225Seminar atlas 1104.5225
Seminar atlas 1104.5225
 
Quadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitterQuadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitter
 
Lect9
Lect9Lect9
Lect9
 
publication1
publication1publication1
publication1
 
Investigating the Use of Synchronized Clocks in TCP Congestion Control
Investigating the Use of Synchronized Clocks in TCP Congestion ControlInvestigating the Use of Synchronized Clocks in TCP Congestion Control
Investigating the Use of Synchronized Clocks in TCP Congestion Control
 
Distributed Video Streaming over Internet
Distributed Video Streaming over InternetDistributed Video Streaming over Internet
Distributed Video Streaming over Internet
 
Tele4653 l3
Tele4653 l3Tele4653 l3
Tele4653 l3
 
Tcp congestion control
Tcp congestion controlTcp congestion control
Tcp congestion control
 
Final Presentation-Delta
Final Presentation-DeltaFinal Presentation-Delta
Final Presentation-Delta
 
Asynchronous Differential Distributed Space-Time Coding
Asynchronous Differential Distributed Space-Time CodingAsynchronous Differential Distributed Space-Time Coding
Asynchronous Differential Distributed Space-Time Coding
 
TCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
TCP-FIT: An Improved TCP Congestion Control Algorithm and its PerformanceTCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
TCP-FIT: An Improved TCP Congestion Control Algorithm and its Performance
 
Ofdm &amp; qam
Ofdm &amp; qamOfdm &amp; qam
Ofdm &amp; qam
 
Contamination delay
Contamination delayContamination delay
Contamination delay
 

Viewers also liked

Budaya Nasional dan Interaksi global
Budaya Nasional dan Interaksi globalBudaya Nasional dan Interaksi global
Budaya Nasional dan Interaksi globalBolinggo Joyo
 
Letters (complaints & invitations)
Letters (complaints & invitations)Letters (complaints & invitations)
Letters (complaints & invitations)JIGAR MAKHIJA
 
Training ims sip
Training ims sipTraining ims sip
Training ims sipbu_be
 
Алимбаев Тойлыбай+СтройРем+Клиенты
Алимбаев Тойлыбай+СтройРем+КлиентыАлимбаев Тойлыбай+СтройРем+Клиенты
Алимбаев Тойлыбай+СтройРем+КлиентыТолик Алимбаев
 
Emad Fahmy Resume 2016
Emad Fahmy Resume  2016Emad Fahmy Resume  2016
Emad Fahmy Resume 2016Emad Fahmy
 
Erico VSC1TV3C
Erico VSC1TV3CErico VSC1TV3C
Erico VSC1TV3Csavomir
 

Viewers also liked (12)

Tcp
TcpTcp
Tcp
 
Tcp (1)
Tcp (1)Tcp (1)
Tcp (1)
 
Budaya Nasional dan Interaksi global
Budaya Nasional dan Interaksi globalBudaya Nasional dan Interaksi global
Budaya Nasional dan Interaksi global
 
Anuj Kumar
Anuj KumarAnuj Kumar
Anuj Kumar
 
Letters (complaints & invitations)
Letters (complaints & invitations)Letters (complaints & invitations)
Letters (complaints & invitations)
 
Sae epc from a-z
Sae epc from a-zSae epc from a-z
Sae epc from a-z
 
Training ims sip
Training ims sipTraining ims sip
Training ims sip
 
Алимбаев Тойлыбай+СтройРем+Клиенты
Алимбаев Тойлыбай+СтройРем+КлиентыАлимбаев Тойлыбай+СтройРем+Клиенты
Алимбаев Тойлыбай+СтройРем+Клиенты
 
Pharmacogenomics
PharmacogenomicsPharmacogenomics
Pharmacogenomics
 
Emad Fahmy Resume 2016
Emad Fahmy Resume  2016Emad Fahmy Resume  2016
Emad Fahmy Resume 2016
 
Erico VSC1TV3C
Erico VSC1TV3CErico VSC1TV3C
Erico VSC1TV3C
 
Brochure
BrochureBrochure
Brochure
 

Similar to Fast020702

TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12daniel ayalew
 
Course on TCP Dynamic Performance
Course on TCP Dynamic PerformanceCourse on TCP Dynamic Performance
Course on TCP Dynamic PerformanceJavier Arauz
 
KandR_TCP (1).ppt notes for congestion control
KandR_TCP (1).ppt    notes for congestion controlKandR_TCP (1).ppt    notes for congestion control
KandR_TCP (1).ppt notes for congestion controlGOKULKANNANMMECLECTC
 
Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)
Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)
Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)Thomas Graf
 
Designing TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion ControlDesigning TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion Controlsoohyunc
 
Troubleshooting TCP/IP
Troubleshooting TCP/IPTroubleshooting TCP/IP
Troubleshooting TCP/IPvijai s
 
Transport Layer in Computer Networks (TCP / UDP / SCTP)
Transport Layer in Computer Networks (TCP / UDP / SCTP)Transport Layer in Computer Networks (TCP / UDP / SCTP)
Transport Layer in Computer Networks (TCP / UDP / SCTP)Hamidreza Bolhasani
 
features of tcp important for the web
features of tcp  important for the webfeatures of tcp  important for the web
features of tcp important for the webrinnocente
 
Computer network
Computer networkComputer network
Computer networkDeepikaT13
 
Performance analysis of collision alleviating distributed coordination functi...
Performance analysis of collision alleviating distributed coordination functi...Performance analysis of collision alleviating distributed coordination functi...
Performance analysis of collision alleviating distributed coordination functi...MdAhasanulAlam
 
Computer network (16)
Computer network (16)Computer network (16)
Computer network (16)NYversity
 
VLSI Design Sequential circuit design
VLSI Design Sequential circuit designVLSI Design Sequential circuit design
VLSI Design Sequential circuit designtamil arasan
 

Similar to Fast020702 (20)

HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
 
TCP Traffic Control Chapter12
TCP Traffic Control Chapter12TCP Traffic Control Chapter12
TCP Traffic Control Chapter12
 
07_Digital timing_&_Pipelining.ppt
07_Digital timing_&_Pipelining.ppt07_Digital timing_&_Pipelining.ppt
07_Digital timing_&_Pipelining.ppt
 
Tcp traffic control and red ecn
Tcp traffic control and red ecnTcp traffic control and red ecn
Tcp traffic control and red ecn
 
Course on TCP Dynamic Performance
Course on TCP Dynamic PerformanceCourse on TCP Dynamic Performance
Course on TCP Dynamic Performance
 
Lte protocols
Lte protocolsLte protocols
Lte protocols
 
Tcp congestion avoidance
Tcp congestion avoidanceTcp congestion avoidance
Tcp congestion avoidance
 
KandR_TCP (1).ppt notes for congestion control
KandR_TCP (1).ppt    notes for congestion controlKandR_TCP (1).ppt    notes for congestion control
KandR_TCP (1).ppt notes for congestion control
 
file (1).ppt
file (1).pptfile (1).ppt
file (1).ppt
 
Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)
Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)
Taking Security Groups to Ludicrous Speed with OVS (OpenStack Summit 2015)
 
Designing TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion ControlDesigning TCP-Friendly Window-based Congestion Control
Designing TCP-Friendly Window-based Congestion Control
 
Troubleshooting TCP/IP
Troubleshooting TCP/IPTroubleshooting TCP/IP
Troubleshooting TCP/IP
 
Transport Layer in Computer Networks (TCP / UDP / SCTP)
Transport Layer in Computer Networks (TCP / UDP / SCTP)Transport Layer in Computer Networks (TCP / UDP / SCTP)
Transport Layer in Computer Networks (TCP / UDP / SCTP)
 
features of tcp important for the web
features of tcp  important for the webfeatures of tcp  important for the web
features of tcp important for the web
 
Computer network
Computer networkComputer network
Computer network
 
Performance analysis of collision alleviating distributed coordination functi...
Performance analysis of collision alleviating distributed coordination functi...Performance analysis of collision alleviating distributed coordination functi...
Performance analysis of collision alleviating distributed coordination functi...
 
Computer network (16)
Computer network (16)Computer network (16)
Computer network (16)
 
ACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docxACS 22LIE12 lab Manul.docx
ACS 22LIE12 lab Manul.docx
 
VLSI Design Sequential circuit design
VLSI Design Sequential circuit designVLSI Design Sequential circuit design
VLSI Design Sequential circuit design
 
TCP_Congestion_Control.ppt
TCP_Congestion_Control.pptTCP_Congestion_Control.ppt
TCP_Congestion_Control.ppt
 

Recently uploaded

Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
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
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
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
 
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
 
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
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubaikojalkojal131
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirtrahman018755
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.soniya singh
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...SUHANI PANDEY
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...SUHANI PANDEY
 
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
 
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 Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝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
 

Recently uploaded (20)

Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 
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...
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
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🔝
 
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
 
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
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
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...
 
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
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
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
 

Fast020702

  • 1. Multi-Gbps TCP 9:00-10:00 Harvey Newman (Physics, Caltech) High speed networks & grids 10:00-10:45 Sylvain Ravot (Physics, Caltech/CERN) LHC networks and TCP Grid 10:45-11:00 Discussion 11:00-11:15 Break 11:15-12:00 Steven Low (CS/EE, Caltech) TCP/AQM protocols and duality model 12:00-12:15 Dohy Hong (INRIA/Caltech) Synchronization effect of TCP 12:15- 1:00 Lunch
  • 2. Multi-Gbps TCP 1:00-2:00 Fernando Paganini (EE, UCLA) Control theory and stability of TCP/AQM 2:00-2:30 Steven Low (CS/EE, Caltech) Stabilized Vegas (& instability of Reno/RED) 2:30-3:00 Zhikui Wang (EE, UCLA) FAST simulations 3:00-3:15 Break 3:15-4:00 David Wei, Cheng Hu (CS, Caltech) Some related projects and TCP kernel 4:00-4:15 Break 4:15-5:00 Discussion
  • 3. Copyright, 1996 © Dale Carnegie & Associates, Dualtiy Model of TCP/AQM Steven Low CS & EE, Caltech netlab.caltech.edu 2002
  • 4. Acknowledgment S. Athuraliya, D. Lapsley, V. Li, Q. Yin (UMelb) S. Adlakha (UCLA), D. Choe (Postech/Caltech), J. Doyle (Caltech), K. Kim (SNU/Caltech), L. Li (Caltech), F. Paganini (UCLA), J. Wang (Caltech) L. Peterson, L. Wang (Princeton)
  • 6. Window Flow Control ~ W packets per RTT Lost packet detected by missing ACK RTT time time Source Destination 1 2 W 1 2 W 1 2 W data ACKs 1 2 W
  • 7. Source Rate Limit the number of packets in the network to window W Source rate = bps If W too small then rate « capacity If W too big then rate > capacity => congestion RTT MSSW ×
  • 8. TCP Window Flow Controls  Receiver flow control  Avoid overloading receiver  Set by receiver  awnd: receiver (advertised) window  Network flow control  Avoid overloading network  Set by sender  Infer available network capacity  cwnd: congestion window  Set W = min (cwnd, awnd)
  • 9. Receiver Flow Control Receiver advertises awnd with each ACK Window awnd closed when data is received and ack’d opened when data is read Size of awnd can be the performance limit (e.g. on a LAN) sensible default ~16kB
  • 10. Network Flow Control Source calculates cwnd from indication of network congestion Congestion indications Losses Delay Marks Algorithms to calculate cwnd Tahoe, Reno, Vegas, RED, REM …
  • 11. TCP Congestion Controls  Tahoe (Jacobson 1988)  Slow Start  Congestion Avoidance  Fast Retransmit  Reno (Jacobson 1990)  Fast Recovery  Vegas (Brakmo & Peterson 1994)  New Congestion Avoidance  RED (Floyd & Jacobson 1993)  Probabilistic marking  BLUE (Feng, Kandlur, Saha, Shin 1999)  REM/PI (Athuraliya et al 2000/Hollot et al 2001)  Clear buffer, match rate  AVQ (Kunniyur & Srikant 2001)
  • 12. TCP/AQM  Tahoe (Jacobson 1988)  Slow Start  Congestion Avoidance  Fast Retransmit  Reno (Jacobson 1990)  Fast Recovery  Vegas (Brakmo & Peterson 1994)  New Congestion Avoidance  BLUE  RED (Floyd & Jacobson 1993)  REM/PI (Athuraliya et al 2000, Hollot et al 2001)
  • 13. TCP Tahoe (Jacobson 1988) SS time window CA SS: Slow Start CA: Congestion Avoidance
  • 14. Slow Start Start with cwnd = 1 (slow start) On each successful ACK increment cwnd cwnd ← cnwd + 1 Exponential growth of cwnd each RTT: cwnd ← 2 x cwnd Enter CA when cwnd >= ssthresh
  • 15. Slow Start data packet ACK receiversender 1 RTT cwnd 1 2 3 4 5 6 7 8 cwnd ← cwnd + 1 (for each ACK)
  • 16. Congestion Avoidance Starts when cwnd ≥ ssthresh On each successful ACK: cwnd ← cwnd + 1/cwnd Linear growth of cwnd each RTT: cwnd ← cwnd + 1
  • 17. Congestion Avoidance cwnd 1 2 3 1 RTT 4 data packet ACK cwnd ← cwnd + 1 (for each cwnd ACKS) receiversender
  • 18. Packet Loss Assumption: loss indicates congestion Packet loss detected by Retransmission TimeOuts (RTO timer) Duplicate ACKs (at least 3) 1 2 3 4 5 6 1 2 3 Packets Acknowledgements 3 3 7 3
  • 19. Fast Retransmit Wait for a timeout is quite long Immediately retransmits after 3 dupACKs without waiting for timeout Adjusts ssthresh flightsize = min(awnd, cwnd) ssthresh ← max(flightsize/2, 2) Enter Slow Start (cwnd = 1)
  • 20. Successive Timeouts When there is a timeout, double the RTO Keep doing so for each lost retransmission  Exponential back-off  Max 64 seconds1  Max 12 restransmits1 1 - Net/3 BSD
  • 21. Summary: Tahoe  Basic ideas  Gently probe network for spare capacity  Drastically reduce rate on congestion  Windowing: self-clocking  Other functions: round trip time estimation, error recovery for every ACK { if (W < ssthresh) then W++ (SS) else W += 1/W (CA) } for every loss { ssthresh = W/2 W = 1 }
  • 22. TCP Reno (Jacobson 1990) CASS Fast retransmission/fast recovery
  • 23. Fast recovery  Motivation: prevent `pipe’ from emptying after fast retransmit  Idea: each dupACK represents a packet having left the pipe (successfully received)  Enter FR/FR after 3 dupACKs  Set ssthresh ← max(flightsize/2, 2)  Retransmit lost packet  Set cwnd ← ssthresh + ndup (window inflation)  Wait till W=min(awnd, cwnd) is large enough; transmit new packet(s)  On non-dup ACK (1 RTT later), set cwnd ← ssthresh (window deflation)  Enter CA
  • 24. 9 9 4 0 0 Example: FR/FR Fast retransmit Retransmit on 3 dupACKs Fast recovery Inflate window while repairing loss to fill pipe time S timeR 1 2 3 4 5 6 87 8 cwnd 8 ssthresh 1 7 4 0 0 0 Exit FR/FR 4 4 4 11 00 10 11
  • 25. Summary: Reno Basic ideas Fast recovery avoids slow start dupACKs: fast retransmit + fast recovery Timeout: fast retransmit + slow start slow start retransmit congestion avoidance FR/FR dupACKs timeout
  • 26. Active queue management Idea: provide congestion information by probabilistically marking packets Issues How to measure congestion (p and G)? How to embed congestion measure? How to feed back congestion info? x(t+1) = F( p(t), x(t) ) p(t+1) = G( p(t), x(t) ) Reno, Vegas DropTail, RED, REM
  • 27. RED (Floyd & Jacobson 1993)  Congestion measure: average queue length pl(t+1) = [pl(t) + xl (t) - cl]+  Embedding: p-linear probability function  Feedback: dropping or ECN marking Avg queue marking 1
  • 28. REM (Athuraliya & Low 2000)  Congestion measure: price pl(t+1) = [pl(t) + γ(αl bl(t)+ xl (t) - cl)]+  Embedding:  Feedback: dropping or ECN marking
  • 29. REM (Athuraliya & Low 2000)  Congestion measure: price pl(t+1) = [pl(t) + γ(αl bl(t)+ xl (t) - cl)]+  Embedding: exponential probability function  Feedback: dropping or ECN marking 0 2 4 6 8 10 12 14 16 18 20 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Linkcongestionmeasure Linkmarkingprobability
  • 30. Match rate Clear buffer and match rate Clear buffer Key features + −++=+ )])(ˆ)(()([)1( l l llll ctxtbtptp αγ )()( 11 tptp s l −− −⇒− φφ Sum prices Theorem (Paganini 2000) Global asymptotic stability for general utility function (in the absence of delay)
  • 31. Active Queue Management pl(t) G(p(t), x(t)) DropTail loss [1 - cl/xl (t)]+ (?) RED queue [pl(t) + xl (t) - cl]+ Vegas delay [pl(t) + xl (t)/cl - 1]+ REM price [pl(t) + γ(αl bl(t)+ xl (t) - cl )]+ x(t+1) = F( p(t), x(t) ) p(t+1) = G( p(t), x(t) ) Reno, Vegas DropTail, RED, REM
  • 32. Congestion & performance pl(t) G(p(t), x(t)) Reno loss [1 - cl/xl (t)]+ (?) Reno/RED queue [pl(t) + xl (t) - cl]+ Reno/REM price [pl(t) + γ(αl bl(t)+ xl (t) - cl )]+ Vegas delay [pl(t) + xl (t)/cl - 1]+  Decouple congestion & performance measure  RED: `congestion’ = `bad performance’  REM: `congestion’ = `demand exceeds supply’ But performance remains good!
  • 34. Congestion Control Heavy tail  Mice-elephants Elephant Internet Mice Congestion control efficient & fair sharing small delay queueing + propagation CDN
  • 36. TCP & AQM xi(t) pl(t) Example congestion measure pl(t) Loss (Reno) Queueing delay (Vegas)
  • 37. Outline Protocol (Reno, Vegas, RED, REM/PI…) Equilibrium  Performance  Throughput, loss, delay  Fairness  Utility Dynamics  Local stability  Cost of stabilization ))(),(()1( ))(),(()1( txtpGtp txtpFtx =+ =+
  • 38. TCP & AQM xi(t) pl(t) TCP:  Reno  Vegas AQM:  DropTail  RED  REM/PI  AVQ
  • 39. TCP & AQM xi(t) pl(t) TCP:  Reno  Vegas AQM:  DropTail  RED  REM/PI  AVQ
  • 40. Model structure F1 FN G1 GL Rf(s) Rb ’ (s) TCP Network AQM Multi-link multi-source network x y q p from F. Paganini
  • 41. TCP Reno (Jacobson 1990) SS time window CA SS: Slow Start CA: Congestion Avoidance Fast retransmission/fast recovery
  • 42. TCP Vegas (Brakmo & Peterson 1994) SS time window CA  Converges, no retransmission  … provided buffer is large enough
  • 43. queue size for every RTT { if W/RTTmin – W/RTT < α then W ++ if W/RTTmin – W/RTT > α then W -- } for every loss W := W/2 Vegas model pl(t+1) = [pl(t) + yl (t)/cl - 1]+ Gl: ( )    <+=+ iiii i ii dtqtx D txtx α)()(if 1 )(1 2 ( ) else)(1 txtx ss =+ Fi: ( )    >−=+ iiii i ii dtqtx D txtx α)()(if 1 )(1 2
  • 44. Vegas model F1 FN G1 GL Rf(s) Rb ’ (s) TCP Network AQM x y q p +       −+= 1 )( )( l l ll c ty tpG ( ))()(sgn ))(( 1 )( 2 tqtxd tqd txF iiii ii ii − + += α
  • 45. Overview Protocol (Reno, Vegas, RED, REM/PI…) Equilibrium  Performance  Throughput, loss, delay  Fairness  Utility Dynamics  Local stability  Cost of stabilization ))(),(()1( ))(),(()1( txtpGtp txtpFtx =+ =+
  • 46. Model c1 c2  Network  Links l of capacities cl Sources i L(s) - links used by source i Ui(xi) - utility if source rate = xi x1 x2 x3 121 cxx ≤+ 231 cxx ≤+
  • 47. Primal problem Llcy xU ll i ii xi ∈∀≤ ∑≥ ,subject to )(max 0 Assumptions Strictly concave increasing Ui  Unique optimal rates xi exist  Direct solution impractical
  • 48. Related Work  Formulation  Kelly 1997  Penalty function approach  Kelly, Maulloo & Tan 1998  Kunniyur & Srikant 2000  Duality approach  Low & Lapsley 1999  Athuraliya & Low 2000  Extensions  Mo & Walrand 2000  La & Anantharam 2000  Dynamics  Johari & Tan 2000, Massoulie 2000, Vinnicombe 2000, …  Hollot, Misra, Towsley & Gong 2001  Paganini 2000, Paganini, Doyle, Low 2001, …
  • 50. Duality Model of TCP ))(),(()1( ))(),(()1( txtpGtp txtpFtx =+ =+ Primal-dual algorithm: Reno, Vegas DropTail, RED, REM  Source algorithm iterates on rates  Link algorithm iterates on prices  With different utility functions
  • 51. Duality Model of TCP ))(),(()1( ))(),(()1( txtpGtp txtpFtx =+ =+ Primal-dual algorithm: Reno, Vegas DropTail, RED, REM (x*,p*) primal-dual optimal if and only if 0ifequalitywith ** >≤ lll pcy
  • 52. Duality Model of TCP ))(),(()1( ))(),(()1( txtpGtp txtpFtx =+ =+ Primal-dual algorithm: Reno, Vegas DropTail, RED, REM Any link algorithm that stabilizes queue  generates Lagrange multipliers  solves dual problem
  • 53. Gradient algorithm  Gradient algorithm ))(()1(:source 1' tqUtx iii − =+ + −+=+ )])(()([)1(:link lllll ctytptp γ Theorem (Low & Lapsley ’99) Converge to optimal rates in distributed asynchronous environment
  • 54. Gradient algorithm  Gradient algorithm ))(()1(:source 1' tqUtx iii − =+ + −+=+ )])(()([)1(:link lllll ctytptp γ  Vegas: approximate gradient algorithm ( ))()(sgn ))(( 1 )( 2 txtx tqd txF ii ii ii − + += ))((1' tqU ii −
  • 55. Summary: equilibrium Llcx xU l l s ss xs ∈∀≤ ∑≥ ,subject to )(max0  Flow control problem  TCP/AQM  Maximize aggregate source utility  With different utility functions  Primal-dual algorithm ))(),(()1( ))(),(()1( txtpGtp txtpFtx =+ =+ Reno, Vegas DropTail, RED, REM
  • 56. Implications Performance Rate, delay, queue, loss Fairness Utility function Persistent congestion
  • 57. Performance Delay Congestion measures: end to end queueing delay Sets rate Equilibrium condition: Little’s Law Loss No loss if converge (with sufficient buffer) Otherwise: revert to Reno (loss unavoidable) )( )( tq d tx s s ss α=
  • 58. Vegas Utility iiiii xdxU log)( α= Equilibrium (x, p) = (F, G) Proportional fairness
  • 59. Validation (L. Wang, Princeton) Source 1 Source 3 Source 5 RTT (ms) 17.1 (17) 21.9 (22) 41.9 (42) Rate (pkts/s) 1205 (1200) 1228 (1200) 1161 (1200) Window (pkts) 20.5 (20.4) 27 (26.4) 49.8 (50.4) Avg backlog (pkts) 9.8 (10) NS-2 simulation, single link, capacity = 6 pkts/ms 5 sources with different propagation delays, αs = 2 pkts/RTT meausred theory
  • 60. Persistent congestion  Vegas exploits buffer process to compute prices (queueing delays)  Persistent congestion due to  Coupling of buffer & price  Error in propagation delay estimation  Consequences  Excessive backlog  Unfairness to older sources Theorem (Low, Peterson, Wang ’02) A relative error of εs in propagation delay estimation distorts the utility function to sssssssss xdxdxU εαε ++= log)1()(ˆ
  • 61. Validation (L. Wang, Princeton)  Single link, capacity = 6 pkt/ms, αs = 2 pkts/ms, ds = 10 ms  With finite buffer: Vegas reverts to Reno Without estimation error With estimation error
  • 62. Validation (L. Wang, Princeton) Source rates (pkts/ms) # src1 src2 src3 src4 src5 1 5.98 (6) 2 2.05 (2) 3.92 (4) 3 0.96 (0.94) 1.46 (1.49) 3.54 (3.57) 4 0.51 (0.50) 0.72 (0.73) 1.34 (1.35) 3.38 (3.39) 5 0.29 (0.29) 0.40 (0.40) 0.68 (0.67) 1.30 (1.30) 3.28 (3.34) # queue (pkts) baseRTT (ms) 1 19.8 (20) 10.18 (10.18) 2 59.0 (60) 13.36 (13.51) 3 127.3 (127) 20.17 (20.28) 4 237.5 (238) 31.50 (31.50) 5 416.3 (416) 49.86 (49.80)
  • 63. Vegas/REM Vegas/REM Vegas peak = 43 pkts utilization : 90% - 96%
  • 64. Outline Protocol (Reno, Vegas, RED, REM/PI…) Equilibrium  Performance  Throughput, loss, delay  Fairness  Utility Dynamics  Local stability  Cost of stabilization ))(),(()1( ))(),(()1( txtpGtp txtpFtx =+ =+
  • 65. Vegas model F1 FN G1 GL Rf(s) Rb ’ (s) TCP Network AQM x y q p +       −+= 1 )( )( l l ll c ty tpG ( ))()(sgn ))(( 1 )( 2 tqtxd tqd txF iiii ii ii − + += α
  • 66. Vegas model F1 FN G1 GL Rf(s) Rb ’ (s) TCP Network AQM x y q p [ ] lieR lis lif linkusessourceifτ  − = [ ] lieR lis lib linkusessourceifτ  − =
  • 67. Approximate model ( )ii ii d tqtx i tT tx α )()( 2 1sgn )( 1 )( −=
  • 68. Approximate model ( )ii ii d tqtx i tT tx α )()( 2 1sgn )( 1 )( −= ( )ii ii d tqtx i tT tx αη π )()(1- 2 1tan )( 12 )( −=
  • 69. Linearized model i ii i i i i q asT a q x x ∂ + −=∂ l l l y c p ∂−=∂ γ  F1 FN G1 GL Rf(s) Rb ’ (s) TCP Network AQM x y q p 12 ii i Tx a π η −= γ controls equilibrium delay
  • 70. Stability Cannot be satisfied with >1 bottleneck link! Theorem (Choe & Low, ‘02) Locally asymptotically stable if c c i i a a ω ωsin mintimetriproud delayqueueinglink > > 0.63
  • 71. Stabilized Vegas ( ))(1tan )( 12 )( )()(1- 2 tq tT tx iid tqtx i ii ii  κη π α −−= ( )ii ii d tqtx i tT tx αη π )()(1- 2 1tan )( 12 )( −=
  • 72. Linearized model i ii i i i i q asT a q x x ∂ + −=∂ l l l y c p ∂−=∂ γ  F1 FN G1 GL Rf(s) Rb ’ (s) TCP Network AQM x y q p γ controls equilibrium delay
  • 73. Linearized model i ii i ii q as as bx ∂ + + −=∂ µ  l l l y c p ∂−=∂ γ  F1 FN G1 GL Rf(s) Rb ’ (s) TCP Network AQM x y q p γ controls equilibrium delaychoose ai = a, αi = µ
  • 74. Stability Theorem (Choe & Low, ‘02) Locally asymptotically stable if ),( queueingtripround timetripround µaσM < example  LHS < 10*10 = 100  a = 0.1, µ = 0.015  σ (a,µ) = 120
  • 75. Stability Theorem (Choe & Low, ‘02) Locally asymptotically stable if ),( queueingtripround timetripround µaσM < Application  Stabilized TCP with current routers  Queueing delay as congestion measure has the right scaling  Incremental deployment with ECN
  • 76. Papers  A duality model of TCP flow controls (ITC, Sept 2000)  Optimization flow control, I: basic algorithm & convergence (ToN, 7(6), Dec 1999)  Understanding Vegas: a duality model (J. ACM, 2002)  Scalable laws for stable network congestion control (CDC, 2001)  REM: active queue management (Network, May/June 2001) netlab.caltech.edu
  • 78. Dynamics Small effect on queue AIMD Mice traffic Heterogeneity Big effect on queue Stability!
  • 79. Stable: 20ms delay 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 10 20 30 40 50 60 70 Window time (ms) Window(pkts) individual window Window Ns-2 simulations, 50 identical FTP sources, single link 9 pkts/ms, RED marking
  • 80. 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 100 200 300 400 500 600 700 800 Instantaneous queue time (ms) Instantaneousqueue(pkts) Queue Stable: 20ms delay 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 10 20 30 40 50 60 70 Window time (ms) Window(pkts) individual window 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 10 20 30 40 50 60 70 Window time (ms) Window(pkts) individual window average window Window Ns-2 simulations, 50 identical FTP sources, single link 9 pkts/ms, RED marking
  • 81. 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 10 20 30 40 50 60 70 Window time (10ms) Window(pkts) individual window Unstable: 200ms delay Window Ns-2 simulations, 50 identical FTP sources, single link 9 pkts/ms, RED marking
  • 82. 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 10 20 30 40 50 60 70 Window time (10ms) Window(pkts) individual window 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 10 20 30 40 50 60 70 Window time (10ms) Window(pkts) individual window average window Unstable: 200ms delay 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 100 200 300 400 500 600 700 800 Instantaneous queue time (10ms) Instantaneousqueue(pkts) QueueWindow Ns-2 simulations, 50 identical FTP sources, single link 9 pkts/ms, RED marking
  • 83. Other effects on queue 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 100 200 300 400 500 600 700 800 Instantaneous queue time (ms) Instantaneousqueue(pkts) 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 0 100 200 300 400 500 600 700 800 Instantaneous queue time (10ms) Instantaneousqueue(pkts) 20ms 200ms 0 10 20 30 40 50 60 70 80 90 100 0 100 200 300 400 500 600 700 800 Instantaneous queue (50% noise) time (sec) instantaneousqueue(pkts) 50% noise 0 10 20 30 40 50 60 70 80 90 100 0 100 200 300 400 500 600 700 800 Instantaneous queue (50% noise) time (sec) instantaneousqueue(pkts) 50% noise 0 10 20 30 40 50 60 70 80 90 100 0 100 200 300 400 500 600 700 800 time (sec) Instantaneous queue (pkts) instantaneousqueue(pkts) avg delay 16ms 0 10 20 30 40 50 60 70 80 90 100 0 100 200 300 400 500 600 700 800 time (sec) Instantaneous queue (pkts) instantaneousqueue(pkts) avg delay 208ms
  • 84. Effect of instability Larger jitters in throughput Lower utilization 20 40 60 80 100 120 140 160 180 200 0 20 40 60 80 100 120 140 160 delay (ms) window Mean and variance of individual window mean variance No noise
  • 85. Linearized system F1 FN G1 GL Rf(s) Rb ’ (s) TCP Network AQM x y q p ( ) ))(),(),(( ~ :)(),( tytptzGtytpG lllllll = ( ) )( 2 )())(1( )()(),( 2 2 tq txtq txtxtqF i i i i iiii − − += τ
  • 86. Linearized system F1 FN G1 GL Rf(s) Rb ’ (s) x y q p s n s n ni ii i n e e x c scs c wpsp sL τ βτ τ α ρα ττ − − ⋅ + ⋅ + ⋅ + = ∑ ∑ 1 1 )( 1 )( *** TCP RED queue delay
  • 87. Stability condition Theorem: TCP/RED stable if 222 2 3 33 )1(4 )1 )( 2 ππβ βπ τ τρ −+ ≤+⋅ -( Nc N c ω=0 ∞=ω TCP:  Small τ  Small c  Large N RED:  Small ρ  Large delay
  • 88. Validation 50 55 60 65 70 75 80 85 90 95 100 50 55 60 65 70 75 80 85 90 95 100 Round trip propagation delay at critical frequency (ms) delay (NS) delay(model) 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Critical frequency (Hz) frequency (NS) frequency(model) dynamic-link model 30 data points
  • 89. 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Critical frequency (Hz) frequency (NS) frequency(model) dynamic-link model 30 data points Validation 50 55 60 65 70 75 80 85 90 95 100 50 55 60 65 70 75 80 85 90 95 100 Round trip propagation delay at critical frequency (ms) delay (NS) delay(model) 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Critical frequency (Hz) frequency (NS) frequency(model) dynamic-link model static-link model 30 data points
  • 90. Stability region 8 9 10 11 12 13 14 15 50 55 60 65 70 75 80 85 90 95 100 Round trip propagation delay at critical frequency capacity (pkts/ms) delay(ms) N=40 N=30 N=20 N=20 N=60 Unstable for  Large delay  Large capacity  Small load
  • 91. Role of AQM (Sufficient) stability condition -1 });({co θωHK ⋅
  • 92. Role of AQM (Sufficient) stability condition -1 });({co θωHK ⋅ TCP: N c 2 22 τ ** wpj e j + − ω ω AQM: scale down K & shape H
  • 93. Role of AQM });({co θωHK ⋅ TCP: N c 2 22 τ ** wpj e j + − ω ω RED: β ταρ −1 c ταωω θ cj e j + ⋅ − 1 REM/PI: β τ −1 2a ω τω ω θ j aaje j 21 /+ ⋅ − Queue dynamics (windowing) Problem!!
  • 94. Role of AQM To stabilize a given TCP Fi with least cost ),(subject to )()()()(min 0)( pxFx dttRptptxQtx TT p = +∫ ∞ ⋅   Linearized F, single link, identical sources  Any AQM solves optimal control with appropriate Q and R ))()()(()( 321 * tyktyktbktp  ++−= ))()()(()( 321 tyktyktbktp  ++−=
  • 95. Role of AQM To stabilize a given TCP Fi with least cost ),(subject to )()()()(min 0)( pxFx dttRptptxQtx TT p = +∫ ∞ ⋅   Linearized F, single link, identical sources   ))()()(()( 321 * tyktyktbktp  ++−= k1=0 Nonzero buffer k3=0 Slower decay

Editor's Notes

  1. Title: Duality model of TCP ITC Specialist Seminars, Sept 18-20, 2000 Monterey CA CCW15, Oct 15-18, 2000, Captiva Island, FL UCLA, EE Dept, February 7, 2001 (with update) UC Berkeley, EECS Dept, February 8, 2001 NISS (National Institute of Statistical Sciences), Research Triangle Park, NC, March 9-10, 2001 DIMACS, Rutgers University, NJ, March 26-27, 2001 Boston University, CS Dept, June 20, 2001 (John Byers) Bell Labs, Holmdel, June 21, 2001 (Murali Kodialam &amp; TV Lakshman) Title: Equilibrium &amp; Dynamics of TCP/AQM IMA Workshop on “Mathematical challenges in large-scale networks”, Minniapolis, MN, August 6-7, 2001 Allerton Conference, Monticello, IL, Oct 3-5, 2001 Purdue University, ECE (Ness Shroff), Oct, 2001 ISI/USC, Nov 29, 2001 (Joe Bannister) UCRiverside, EE, Nov 30, 2001 (Yingbo Hua) USC, EE, Jan 24, 2002 (Daniel Lee) Stanford, EE, Feb 1, 2002 (Balaji Prabhakar, Kelly) IPAM (Institute for Pure &amp; Applied Mathematics), UCLA, March 18, 2002 RPI, EE, March 27, 2002 (Shiv) Berkeley, CS, April 29, 2002 (Umesh Vazirani) Infocom 2003 (subset), June 25, 2002 (NYCity, NY) CIMMS (Center for Integrative Multiscale Modeling and Simulation) Workshop on Networks, Optimization and Duality, July 1, 2002 Caltech (Jerry Marsden) Add Stabilized Vegas Add TCP/shortest-path routing
  2. After FR/FR, when CA is entered, cwnd is half of the window when lost was detected. So the effect of lost is halving the window. [Source: RFC 2581, Fall &amp; Floyd, “Simulation based Comparison of Tahoe, Reno, and SACK TCP”]
  3. Extensive research over (almost) the past decade has established that whereever you look whatever you measure, you always see heavy tail on the Internet and at web servers. The implication for us is the 20-80 rule: 20% of the files generate 80% of Internet traffic. 20-80 may not be the exact breakdown, but heavy tail does suggests a simple picture where there are two types of files, usually referred to as mice and elephants. While most TCP connections are mice, most packets belong to elephants. Mice and elephants have different requirements. Elephants desire large average bandwidth while mice desire small delay. The goal of end-to-end congestion control is efficient and fair sharing of network bandwidth among elephants, but the way we perform congestion control also has strong implication on the queueing delay experienced by mice. Ideally, we’d control the elephants to maximally utilize the network, in such a way that leaves the network queues mostly empty, so that mice can fly through the network without much queueing delay. As we will see later, the current protocol, Reno with DropTail, is doing exactly the wrong thing – it maximizes the queue delay (and loss) for mice. We believe that if we do our congestion control right, then there should not be much loss or queueing delay. Delay then depends mainly on propagation delay. To reduce that, we need content distribution networks.
  4. The idea of this talk is well captured by Richard Gibben’s talk yesterday where we can regard flow control as an interaction of source rates at the hosts and some kind of congestion measures in the network. Example congestion measures include packet loss in Reno, end to end queueing delay, without propagation delay,in Vegas, queue length in RED, and a quantity we call price in REM, a scheme which we will come back to later in the talk. When source rates increase, this pushes up the congestion measures in the network, say, losses in Reno, which then in turn suppresses the source rates, and the cycle repeats. Duality theory then suggest that we interpret source rates as primal variables, the congestion measures as dual variables, and the flow control process that iterates on these variables as a primal-dual algorithm to maximize aggregate source utility. The rest of the talk is to make this intuition a bit more precise.
  5. So we have the primal problem that maximizes aggregate utility subject to capacity constraints. Its dual problem is to minimize a certain function we call D(p). We call the vector p the congestion meausre and …. The primal dual algorithm takes the following general form where the source rate vector x(t+1) in the next period is a certain function F of the current price vector p(t) and source rates x(t), and the price p(t+1) is a certain function G of the current prices and rates.
  6. So the source algorithm is this F that iterates on prices and rates to produce a new rate, and the link algorithm is this G that iterates on prices and rates to produce a new price. In TCP, F is carried out by Reno and Vegas, they are just different F’s. G is carried out by queue managements, active or inactive, such as DropTail, RED, or REM, they are just different G’s. The different pairs (F, G) all try to solve the primal problem, but with different utility functions. That’s all.
  7. So the source algorithm is this F that iterates on prices and rates to produce a new rate, and the link algorithm is this G that iterates on prices and rates to produce a new price. In TCP, F is carried out by Reno and Vegas, they are just different F’s. G is carried out by queue managements, active or inactive, such as DropTail, RED, or REM, they are just different G’s. The different pairs (F, G) all try to solve the primal problem, but with different utility functions. That’s all.
  8. So the source algorithm is this F that iterates on prices and rates to produce a new rate, and the link algorithm is this G that iterates on prices and rates to produce a new price. In TCP, F is carried out by Reno and Vegas, they are just different F’s. G is carried out by queue managements, active or inactive, such as DropTail, RED, or REM, they are just different G’s. The different pairs (F, G) all try to solve the primal problem, but with different utility functions. That’s all.