“on designing improved controllers for aqm routers supporting tcp flows” the pi controller...

26
“On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Post on 19-Dec-2015

222 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

“On Designing Improved Controllers for AQM Routers

Supporting TCP Flows”

The PI Controller

Presented by Bob Kinicki

Page 2: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 2

OutlineOutline

Introduction Background

– TCP Analytic Model– Brief Control Theory

Proportional Controller Proportional Integral (PI) Controller ns Simulation Results Conclusions

Page 3: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 3

Control Theoretic Analysis of REDControl Theoretic Analysis of REDVariable Definitions:

Page 4: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 4

Block diagram of a TCP connectionBlock diagram of a TCP connection

ttR1

N

21

1 W W q q

p

__

__

C

ttR1

ttR1Time Delay

Rtt

TCP window control

TCP load factor

congested queue

Control law(e.g. RED)

Vishal Misra’s Slide

Page 5: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 5

Linearized TCP Connection

Linearized TCP Connection

Page 6: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 6

AQM Feedback ControlAQM Feedback Control

Page 7: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 7

Linearized AQMLinearized AQM

Page 8: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 8

RED ControllerRED Controller

Page 9: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 9

Proportional ControllerProportional Controller

The feedback signal is simply the regulated output, the queue length, multiplied by a gain factor.

In the RED context, this means using the instantaneous queue length instead of the average queue length.

Note – Control Theory emphasizes “stability” which is well-defined mathematically, but this significantly constrains the choices for RED parameters used in this paper.

Page 10: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 10

Preliminary Simulation with Proportional Controller

Preliminary Simulation with Proportional Controller

60 FTP flows, 180 HTTP sessions C = bottleneck link = 15 Mbps Propagation delays uniform between

160 and 240 ms. Packet size = 500 bytes Time varying dynamics

– At t = 100, 20 FTP flows drop out.– At t = 140, the 20 FTP flows start again.

Page 11: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 11

Comparison of RED and PCComparison of RED and PC

ProportionalController hasbetter response

ProportionalController hasbetter response

Time varying dynamics Time varying dynamics

Page 12: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 12

Comparison of RED and PCComparison of RED and PC

When RTT’s areDoubled, RED hasa large overshoot!

When RTT’s areDoubled, RED hasa large overshoot!

Time varying dynamics Time varying dynamics

Page 13: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 13

Limitations of PCLimitations of PC

Under certain network conditions, the operating point p can be above the pmax imposed by buffer size limitations.

This leads to oscillations as seen in Figure 7.

Hence, PI, the Proportional Integral controller is used to clamp the queue size to qref regardless of the load.

Page 14: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 14

PI ControllerPI Controller

Page 15: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 15

PI AlgorithmPI Algorithm

Executed once per sampling period:{

p = a ( q – q_ref)

– b (q_old – q_ref) + p_old

p_old = p

q_old = q

}

Page 16: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 16

ns Experimental Parameters

ns Experimental Parameters

Sampling frequency = 160 Hz. a = 1.822 (10)-5 ; b = 1.816 (10)-5

qref = 200 packets Buffer size = 800 packets RED parameters (defined by stability):

– pmax = 0.1– minth = 150– maxth = 700– wq = 1.33 (10)-6

Page 17: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 17

Experiment 3Experiment 3

PI “relatively”insensitive to loadPI “relatively”insensitive to load

Page 18: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 18

Experiment 4Experiment 4

PI Controller hasfaster responsetime.

PI Controller hasfaster responsetime.

Time varyingdynamics removed

Time varyingdynamics removed

Page 19: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 19

Experiment 5Experiment 5

180 FTP flows and360 HTTP flows

PI Controller ismore robust forhigher loads.

180 FTP flows and360 HTTP flows

PI Controller ismore robust forhigher loads.

Page 20: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 20

Experiment 6Experiment 6

16 FTP flows and180 HTTP flows

Under lighter load,RED oscillates.

16 FTP flows and180 HTTP flows

Under lighter load,RED oscillates.

Page 21: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 21

Experiment 7Experiment 7

400 FTP flows and180 HTTP flows

The heavy load haspushed the operatingqueue length beyondthe buffer size forRED and PC.

400 FTP flows and180 HTTP flows

The heavy load haspushed the operatingqueue length beyondthe buffer size forRED and PC.

Page 22: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 22

Experiment 8Experiment 8

Time varying settingsof Experiment1 withpropagation delaysreduced to 40 ms.

Time varying settingsof Experiment1 withpropagation delaysreduced to 40 ms.

Page 23: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 23

PI – Delay-Utilization Tradeoff

PI – Delay-Utilization Tradeoff

Page 24: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 24

RED - Delay-Utilization Tradeoff

RED - Delay-Utilization Tradeoff

Page 25: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Advanced Computer Networks - PI Controller 25

ConclusionsConclusions The authors introduced both the Proportional

and the PI Controllers for AQM. Both controllers respond faster than RED. PI is better with respect to regulating the

steady-state queue length. PI controlled exhibited superior performance

to RED in all the ns simulations shown. Note – At the very end of the paper, the authors advocate the use of ECN (namely, marking) in all AQM’s.

Page 26: “On Designing Improved Controllers for AQM Routers Supporting TCP Flows” The PI Controller Presented by Bob Kinicki

Thanks!

[email protected]