Title: Fluid-based Analysis of a Network of AQM Routers Supporting TCP Flows with an Application to RED
1 Fluid-based Analysis of a Network of AQM Routers
Supporting TCP Flows with an Application to RED
- Vishal Misra Wei-Bo Gong Don Towsley
- University of Massachusetts, Amherst
- MA 01003, USA
2Overview
- motivation
- key idea
- modeling details
- experimental validation with ns
- analysis sheds insights into RED
- Conclusions
3Motivation
- current simulation technology, e.g. ns
- appropriate for small networks
- 10s - 100s of network nodes 100s - 1000s IP flows
- inflexible packet-level granularity
- current analysis technology
- UDP flows over small networks
- TCP flows over single link
...
...
...
4- Challenge
- Need to explore systems with a parameter space
of - 100s - 1000s network elements
- 10,000s - 100,000s of flows (TCP, UDP, NG)
Belief Fluid based simulation techniques which
abstract out and exploit topologies/protocols are
key for scalability
Contribution of Paper First differential equation
based fluid model to enable transient analysis
of TCP/AQM networks developed
5Key Idea
- model traffic as fluid
- describe behavior of flows and queues using
Stochastic Differential Equations - obtain Ordinary Differential Equations by taking
expectations of the SDEs - solve the resultant coupled ODEs numerically
Differential equation abstraction
computationally highly efficient
6Loss Model
AQM Router
B(t)
p(t)
Sender
Receiver
Loss Rate as seen by Sender l(t) B(t-t)p(t-t)
7A Single Congested Router
- N TCP flows
- window sizes Wi(t)
- round trip time
- Ri(t) Aiq(t)/C
- throughputs
- Bi (t) Wi(t)/Ri(t)
- One bottlenecked AQM router
- capacity C (packets/sec)
- queue length q(t)
- discard prob. p(t)
-
TCP flow i
AQM router C, p
8Adding RED to the model
RED Marking/dropping based on average queue
length x(t)
Marking probability profile has a discontinuity
at tmax
1
Marking probability p
pmax
tmin
tmax
Average queue length x
x(t) smoothed, time averaged q(t)
9System of Differential Equations
All quantities are average values. Timeouts and
slow start ignored
Window Size
10System of Differential Equations (cont.)
11N2 coupled equations
N flows Wi(t) Window size of
flow i Ri(t) RTT of flow i p(t) Drop
probability q(t) queue length
dWi/dt f1(p,Ri, Wi) i 1..N
Equations solved numerically using MATLAB
12Extension to Network
Networked case V congested AQM routers
queuing delay aggregate delay q(t) SV qV(t)
loss probability cumulative loss probability
p(t) 1-PV(1-pV(t))
Other extensions to the model Timeouts Leveraged
work done in PFTK Sigcomm98 to model
timeouts Aggregation of flows Represent flows
sharing the same route by a
single equation
13Experimental scenario
Topology
- DE system programmed with RED AQM policy
- equivalent system programmed in ns
- transient queuing performance obtained
- one way, ftp flows used as traffic model
RED router 2
5 sets of flows 2 RED routers Set 2 flows through
both routers
14Performance of SDE method
- queue capacity 5 Mb/s
- load variation at t75 and t150 seconds
- 200 flows simulated
- DE solver captures transient performance
- time taken for DE solver 5 seconds on P450
DE method ns simulation
Queue length
Time
15Observations on RED
- RED behavior changes with change in network
conditions (load level, packet size, link
bandwidth). Tuning of RED is difficult, queue
length frequently oscillates deterministically. - discontinuity of drop function contributes to,
but is not the only reason for oscillations. - RED uses a variable d (sampling interval). This
variable sampling could cause oscillations. - averaging mechanism of RED is counter productive
from stability viewpoint introduces a further
delay to the existing round trip delay.
16Future Direction
- model short lived and non-responsive flows
- demonstrate applicability to large networks
- analyze theoretical model to rectify RED
shortcomings - apply techniques to other TCP-like protocols,
e.g. equation based TCP-friendly protocols
17Conclusions
- differential equation based model for TCP/AQM
networks developed - computation cost of DE method a fraction of the
discrete event simulation cost - formal representation and analysis yields better
understanding of RED/AQM
18Background
19Deficiency of earlier Model
Throughput (B(t)) is a function of loss rate (l)
and round trip time (R)
B(t) f(l,R)
20(No Transcript)
21System of Differential Equations
All quantities are expected values. We ignore
timeouts and slowstart in this formulation.
Window size
Queue length dq -1q(t) gt 0 Cdt
SWi(t)/Ri(q(t))dt
Average Queue size dx ln (1-a)/d x(t) - ln
(1-a)/d q(t)
Where a averaging parameter of RED (wth)
d sampling interval 1/C
22Control Theoretic Viewpoint