Professional Documents
Culture Documents
Queue Management
how h t to manage g queue i in a router? t ? mainly associated with packet drop.
when do we drop a packet? and d which hi h one? ? drop packets when the buffer is full. we can control only which one we drop not when when. drop-tail, drop-head, random-drop drop packets even when there is enough space space. we can control both when and which packets we are going to drop
Advantages of AQM
Reduce number of packets dropped in routers Permit packets in burst Avoid global synchronization Provide lower-delay interactive service By keeping the average queue size small Avoid lock-out behavior Ensuring that there will almost always be a buffer available for an incoming packet.
p0
Drop rate
Utilization
Q_min
Q_max
Q Que. L Length th
7
Implementation of RED
Input parameters
max_q: should be less than buffer size min_q: max_p: _p EWMA (Exponential Weighted Moving Average) factor (a) : 0.1 ~ 0.0001 calculate the new average queue length
avg_q = avg_q*(1-alpha) *(1 l h ) + alpha*qlen l h * l
Adaptive RED
to make RED less sensitive to congestion level
10
11
12
BLUE
Motivation
E Exponential i l increase i in i network kd demand d Rise in packet loss rates 17% loss rates reported p Decrease in link utilization and goodput Potential for congestion collapse [Jacobson88] Goal Queue management algorithms for maximizing network efficiency in times of heavy congestion 0% packet k l loss, 100% li link k utilization, ili i l low queuing i d delay l
14
15
Blue
Class of Cl f fundamentally f d ll different diff queue management algorithms l ih Decouple congestion management from queue length Rely y only y on q queue and link history y Example Increase aggressiveness when loss rates high Decrease aggressiveness when link underutilized
16
Upon full buffer: if ((now - last_update) > freeze_time) then Pmark = Pmark + d1 last_update = now Upon link idle: if ((now - last_update) last update) > freeze freeze_time) time) then Pmark = Pmark - d2 last_update = now
17
Evaluation
1000 and d 4000 P Pareto t on/off / ff TCP sources Router queue sizes 100KB (17.8ms) to 1000KB (178ms) RED (wq = 0.0002, 0.002, 0.02, 0.2) Blue l freeze_time = 10ms, 100ms d1 = 0.02, 0.0025 ; d2 = 0.002, 0.00025
100 Mbs
18
Blue evaluation
1000 sources
19
Blue evaluation
4000 sources
20
Understanding Blue
Experiment E i t 50 sources added every 10 seconds Queue length plots
RED
Blue
21
Understanding Blue
Marking behavior RED Blue
22