Top Banner
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues
39

1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

1

Emulating AQM from End Hosts

Presenters:Syed Zaidi

Ivor Rodrigues

Page 2: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

2

Introduction

Congestion control at the End Host

Treating the Network as a Black Box

Main indicator Round Trip Time

Probabilistic Early Response TCP (PERT)

Page 3: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

3

Motivation

Implementing AQM at the Router is not easy. Current techniques depend on Packet loss to detect

congestion. Easier to modify TCP stack at the End Host. Can work any AQM mechanism at the router.

Page 4: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

4

Challenges

RTT based estimation have been characterized to be inaccurate.

Hard to measure Queuing Delays when they are small compared to the RTT.

Page 5: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

5

Accuracy of End-host Based Congestion Estimation

Previous studies looked at the relation between increase in RTT and packet loss for a single stream.

Results 1. Losses are preceded by increase in RTT in very

few cases.

2. Responding to a false prediction results in severe loss in performance.

Page 6: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

6

Accuracy of End-host Based Congestion Estimation

4 is false negative and 5 is false positive

Page 7: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

7

Accuracy of End-host Based Congestion Estimation

Previous studies claim transition 5 happens more then transition 2

Limitation of previous studies is to look at the relation between higher RTT in packet loss for a single flow

Packet loss should be looked at the router not for a single flow

Page 8: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

8

Accuracy of End-host Based Congestion Estimation

Ns-2 simulationTwo routers connected to a100 Mps link with end nodes having 500 Mbps

link, different combination of long term and short term flows. The reference flows have RTT of 60ms which is equal to 12000Km.

Page 9: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

9

Different Congestions Predictors

Efficiency of Packet loss prediction(Number of 2 transitions)/(2 transitions +5 transitions)

False Positives(Number of 5 transitions)/(2 transitions +5 transitions)

False Negatives(Number of 4 transitions)/(2 transitions +4 transitions)

Page 10: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

10

Previous WorkIn 1989 first paper was published proposing to enhance

TCP with delay-based congestion avoidance.

TRI-S: Throughput is used to detect congestion instead of delay DUAL: Current RTT is compared with Average of Minimum and

Maximum RTT Vegas: Achieved throughput is compared to expected

throughput based on minimum Observed RTT. CIM: Moving Average of small number of RTT samples is

compared with moving average of large number of RTT samples CARD: Congestion Avoidance using RTT Delay

Page 11: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

11

Improving Congestion Prediction

*Vegas, Card, TRI-S, and dual obtain RTT samples once per RTT.

Smoothed RTT Exponential Weighted Moving Average

Page 12: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

12

Improving Congestion Prediction

We improve accuracy by more frequent sampling and history information

End-host congestion prediction is not perfect, thus we need mechanisms to counter this inaccuracy.

Page 13: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

13

Response to Congestion PredictionHow do we reduce the impact of FALSE Positives?

Keeping the amount of Response small.

Respond Probabilistically.

Page 14: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

14

Response to Congestion PredictionHow do we reduce the impact of FALSE Positives?

Keeping the amount of Response small.

Respond Probabilistically.

Not much Loss in throughput

Maintains High link Utilization

Buildup of the bottleneck queue “may not be cleared out” quickly.

VEGAS

Page 15: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

15

Response to Congestion PredictionHow do we reduce the impact of FALSE Positives?

No Loss of throughput Maintains High link

Utilization Buildup of the

bottleneck queue “may not be cleared out” quickly.

VEGAS

This causes a tradeoff in the fairness properties of TCP to maintain high link utilization

Vegas uses “additive decrease” for early congestion response

Page 16: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

16

Response to Congestion PredictionHow do we reduce the impact of FALSE Positives?

No Loss of throughput Maintains High link

Utilization Buildup of the bottleneck

queue “may not be cleared out” quickly.

VEGAS

This causes a tradeoff in the fairness properties of TCP to maintain high link utilization

AI/AD for these transitions will result in compromising the fairness properties of the protocol.

Vegas uses “additive decrease” for early congestion response

Page 17: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

17

Response to Congestion PredictionHow do we reduce the impact of FALSE Positives?

No Loss of throughput Maintains High link

Utilization Buildup of the

bottleneck queue “may not be cleared out” quickly.

VEGAS

Compared to the flow starting earlier, flows that start late may have a different idea of the Minimum RTT on the path.

This gives an unfair advantage to flows starting later, giving them more share of the Bandwidth.RTT= Propagation Delay

+ Queuing Delay

Page 18: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

18

Response to Congestion PredictionHow do we reduce the impact of FALSE Positives?

Keeping the amount of Response small.

Respond Probabilistically.

When the probability of false positives is high, the probability of response to an early congestion signal should be low

High Probability of False Positives Low Response!

Low Probability of False Positives High response!

Page 19: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

19

Designing the Probabilistic ResponseFalse positives occur…

False Positives occur when the queue length is smaller.

False positives occur when the queue length is less than 50% of the total queue size.

srtt0.99 is the signal congestion predictor

Page 20: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

20

Designing the Probabilistic Responsewhat should be my response function?

Response should be

Small for low queue size

Response should large for large queue size.

srtt0.99 is the signal congestion predictor

Page 21: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

21

Designing the Probabilistic Responsewhat should be my response function?

Thus we emulate the probabilistic response function of RED.

Thus

P - probabilistic

E - early

R - response

T - TCP

Page 22: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

22

PERT

Tmin = Minimum Threshold =P+ 5ms=5ms

Tmax = Maximum Threshold=P+10ms=10ms

pmax =maximum probablity of response=.05 P= propagation delay= ??= 0!!!

Page 23: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

23

Probabilistic Response Curve used by PERT

Page 24: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

24

Is it necessary to have a 50% reduction in the congestion window in case of early response??

Routers are commonly set to the Bandwidth Delay Product of the Link since the TCP flow reduces its window by 50%

If B is the buffer size and f is the window reduction factor, the relationship between them is given by

Since the flows respond before the bottleneck queue is full, a large multiplicative decrease can result in lower link utilization but reducing the amount of response make it hard to empty the buffer, leading to unfairness.

Page 25: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

25

Experimental Evaluation Impact of Bottleneck link Bandwidth

Setup: Single bottleneck with bottle neck bandwidth between 1 Mbps to 1Gbps, RTT from 10ms to 1s. Simulations run for 400s. Results measured between stable period. RTT set to 60ms.

Page 26: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

26

Experimental Evaluation

Impact of Round Trip DelaysThe bottleneck link bandwidth is 150 Mbps and number of flows is 50. The end-to-end delay is varied from

10ms to 1s.

Page 27: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

27

Experimental Evaluation

Impact of Varying the Number of Long-term Flows.

Link bandwidth set to 500 Mbps, end to end delay set to 60ms.

Page 28: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

28

Bottle Neck Link b/w -150Mbps

End-End Delay - 60ms

Long term Flows – 50

Short Term varying from 10 to 1000

Bottle Neck Link b/w -150Mbps

End-End Delay – n * 12

1<n<10

Short Term - 100

Page 29: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

29

Multiple Bottlenecks

Bottleneck link bandwidth –150Mbps; Delay - 5ms; Link capacity – 1 Gbps; Delay – 5ms

Response to sudden changes in responsive traffic:

Page 30: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

30

Page 31: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

31

Modeling of PERT

Forward propagation delay:

C – link capacity ; q(t) – queue size at time t ;

Note: Queuing Delay is perceived before R(t)

The Window Dynamics of PERT:

( A )

( 2 )

( 3 )

Page 32: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

32

Modeling of PERTNote: PERT makes its decision at the end host and not the router.

Incoming rate y(t) =>

( 5 )

( 6 )

( 4 )

Page 33: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

33

Modeling of PERTBy equation (A)

( 7 )

Page 34: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

34

Simulations Stability

Page 35: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

35

Emulating PI

Page 36: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

36

Discussion

Impact of Reverse traffic

Co-existence with Non-Proactive Flows

Page 37: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

37

Conclusion

Congestion prediction at end host is more accurate than characterized by previous studies, but requires further research to improve the accuracy of end host delay-based predictors.

PERT emulates the behavior of AQM in the congestion response function

Benefits are similar to ECN Its link utilization is similar to router –based schemes PERT is flexible, in the sense that other AQM

schemes can be emulated.

Page 38: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

38

Few of Our Observations

The authors have put a good deal of effort, but is its as simple and eye-catching if we implemented on any kind of network in real time?

What modifications have to now be made at the end host, such as additional hardware/software and cost??

Is it compatible with other versions of TCP? Will this implementation give an advantage to other

connections less/least proactive connections or misbehaving connections to take advantage of my readiness to lessen the job a router has to perform?

Page 39: 1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.

39

Questions