Title: Diffusion Mechanisms for Active Queue Management
1Diffusion Mechanisms for Active Queue Management
Rafael Nunez nunez_at_ece.udel.edu
Gonzalo Arce arce_at_ece.udel.edu
- Department of Electrical and Computer Engineering
- University of Delaware
- Aug 19th / 2004
2Diffusion Mechanisms for Active Queue Management
- Image Processing Approaches to AQM
- There is an intimate link between printing
technologies and Active Queue Management.
3The Internet Today
- TCP de facto congestion control protocol.
- 90 of Internet traffic.
4Congestion
- Desirable control distributed, simple, stable
and fair.
5Simplest Congestion Control Tail Dropping
- Problems with tail dropping
- Penalizes bursty traffic
- Discriminates against large propagation delay
connections. - Global synchronization.
6Active Queue Management (AQM)
- Router becomes active in congestion control.
- Random Early Detection (Floyd and Jacobson,
1993). - RED has been deployed in some Cisco routers.
7Random Early Detection (RED)
- Random packet drops in queue.
- Drop probability based on average queue
- Four parameters
- qmin
- qmax
- Pmax
- wq
- (overparameterized)
8Queue Behavior in RED
9Queue Behavior in RED (2)
- 20 new flows every 20 seconds
10How to overcome these problems
- Adaptive RED, REM, GREEN, BLUE,
- Problems
- Over-parameterization
- Not easy to implement in routers
- Not much better performance than drop tail
11REM vs. RED
12Diffusion Mechanisms Exploiting Image Processing
- Our solution
- Based on digital halftoning
- Halftoning is a successful printing technique
from newspapers to laser printers
13Digital Halftoning
Error Diffusion
Original Image
Ordered Dither
14(No Transcript)
15Probability of Marking a Packet
- Gentle RED function closely follows
(A)
16Evolution of the Congestion Window
(B)
17Traffic in the Network
- Congestion Window Packets In The Pipe Packets
In The Queue - Or
(C)
- From (A), (B), (C), and knowing that
where
18Probability Function
19AQM Dynamics with nonlinearity
20Error Diffusion
- Packet marking is analogous to halftoning
- Convert a continuous gray-scale image into black
or white dots - Packet marking reduces to quantization
- Error diffusion The error between input
(continuous) and output (discrete) is
incorporated in subsequent outputs.
21Diffusion Mechanism
22Diffusion Mechanism
23Diffusion Mechanism
24Diffusion Mechanism
25Diffusion Mechanism
26Diffusion Mechanism
27Diffusion Mechanism
28Diffusion Mechanism
29Diffusion Mechanism
30Diffusion Mechanism
31Diffusion Mechanism
32Diffusion Mechanism
33AQM Dynamics with nonlinearity (2)
34Algorithm Summary
- Diffusion Early Marking decides whether to mark a
packet or not as
Where
Remember
M2, b12/3, b21/3
35Optimizing the Control Mechanism
- Adaptive Threshold Control
- Dynamic Detection of Active Flows
36Adaptive Threshold Control
- Dynamic changes to the threshold improve the
quality of the output.
37Effects of Threshold Modulation in the Control
Mechanism
38Dynamic Detection of Active Flows
- DEM requires the number of active flows
- Effect of not-timed out flows and flows in
timeout during less than RTT
39Dynamic Detection of Active Flows (2)
- The number of packets
- The number of active flows
40Active Flows Estimate
41Diffusion Mechanisms for Active Queue Management
42Window Size
RED
Diffusion Based
Larger congestion window ? more data!
43Stability of the Queue
RED
Diffusion Based
- 100 long lived connections (TCP/Reno, FTP)
- Desired queue size 30 packets
44Changing the number of flows
RED
Diffusion Based
- 20 new flows every 20 seconds
45Long lived flows
46Long lived flows (2)
47Long lived flows (3)
48Http flows - model
- PackMime traffic model
- Internet Traffic Research group at Bell Labs
- Traffic controlled by the rate parameter (the
average number of new connections started each
second)
49Http flows
50Http flows (2)
51Http flows (3)
52Conclusions
- Digital halftoning is a mature technique that can
be used in AQM. - Advantages
- Increased stability
- Simpler (only one parameter)
- Increased throughput
- Current Work
- Parameter optimization
- Complete benchmarking
- Additional traffic control applications
53Thank you!
Rafael Nunez nunez_at_ece.udel.edu
Gonzalo Arce arce_at_ece.udel.edu
- Department of Electrical and Computer Engineering
- University of Delaware
- Aug 19th / 2004