ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ?...

24
ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec

Transcript of ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ?...

Page 1: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

ARC TCP Workshop, ENS, Paris, November 5-7, 2003

Equation-Based Rate Control: Is it TCP-friendly ?

Milan Vojnovic

Joint work with Jean-Yves Le Boudec

Page 2: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

2

The Axiom: TCP-friendliness

Requires adaptive sources to obey to TCP in the following sense:

TCP-friendliness (late 1990’s)

“A flow that is not TCP-friendly is one whose long-term arrival rate exceeds that of any conformant TCP in the same circumstances.” Floyd and Fall, 1999

Page 3: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

3

Equation-Based Rate Control: Basic Control

Estimator of 1/p:

Send rate:

Example Protocol: TFRC (RFC 3448, IETF proposed standard, Jan 2003)

Page 4: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

4

Is Equation-Based Rate Control a TCP Friend ?

We deduce: the Engineering Intuition

Problem: When the Intuition is True and when Not ?

p -> f(p) is TCP loss-throughput formulaSo, it must be that

if I adjust the send rate at loss-events to f(), evaluated at the on-line estimated loss-event

rate, my new protocol will be TCP-friendly

Page 5: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

5

Outline

1. Breakdown the TCP-friendliness into sub-conditions, study the sub-conditions separately Why the common evaluation practice to verify TCP-friendliness is not good ?

2. TCP-friendliness is difficult to verify Counterexamples to TCP-friendliness

3. Conservativeness is easier Sufficient conditions for conservativeness Or bounded non-conservativeness

Page 6: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

6

1. Common Evaluation Practice

Non-TCP

Common Practice:

TCP

Why the common evaluation practice is NOT GOOD ?

- hides a cause of the observed throughput deviation- may lead a protocol designer to an improper adjustment

measured throughputs

x

x’

Test: TCP-friendly iff x <= x’

Page 7: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

7

Breakdown the TCP-Friendliness Condition

(I) Does the source verify x <= f(p,r) ?

(II) Does the source attain the same loss-event rate as TCP ?

(III) Does the source see the same average round-trip time as TCP ?

(IV) Does TCP verify its throughput formula ?

Important to BREAKDOWN the TCP-friendliness condition into sub-conditions, and study them separately !

Page 8: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

8

Breakdown the TCP-Friendliness Condition (Cont’d)

(I) Conservativeness x <= f(p, r)

(II) Loss-Event Rates p >= p’

(III) Round-Trip Times r >= r’

(IV) Obedience of TCP to the Formula x’ >= f(p’, r’)

If (I), (II), (III), and (IV) hold, that implies TCP-friendliness.

TCPEquation-Based Rate Control

(x, p, r) (x’, p’, r’)

throughput loss-event rate average RTT

Page 9: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

9

2)b1(4

p'p

2. Counterexample to TCP-Friendliness:AIMD experiences larger loss rate than

EBRC

EBRC

)b1(2r)b1(a

p 2

r

Ass. EBRC uses f(p) in (1)AIMD

(a,b)

'p1

)b1(2)b1(a

'x

)b1(ra2

'p 22

r

(1)

TCP-like (b=1/2)p’/p=16/9 (approx. 1.7778)

Ob: p’ > p <=> non-TCP-friendliness

Example 1: Either One AIMD or One EBRC over a Link

Page 10: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

10

Convergence for One EBRC over a Linkslope K2/2

Page 11: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

11

Convergence for One EBRC over a Link (Cont’d)

Can be seen as Jacobi iterative solving of:

The equilibrium point:

If stable:

Remarks

both AIMD and EBRC are rate-based both AIMD and EBRC are fluid, no packetization effects

=> the deviation of the loss-event rates is intrinsic to the very nature of the dynamics of the two controls

Page 12: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

12

Validation by ns-2 Simulation

b pakets

TFRC

b pakets

TCP

x/x’

x/f(p,r) p’/p r’/r x’/f(p’,r’)

b

Breakdown:

Page 13: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

13

AIMD sees larger loss rate than EBRC (Cont’d)

time t is a loss-event iff at t-the sum of the send rates of the two sources = r

a loss-event is assigned to either AIMD or EBRC Zn = 1 iff the nth loss-event is assigned to EBRC, else Zn=0

g : R+L+1 -> R+ is a non-linear function; the system is non-linear

Example 2: One AIMD and One EBRC Competing for a Link

Page 14: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

14

Example 2: Numerical Simulations

Page 15: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

15

Example 2: Validation by ns-2 Simulation

b pakets

TCP

TFRC

x/x’

b

x/f(p,r) p’/p r’/r x’/f(p’,r’)

Breakdown:

Page 16: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

16

Internet Measurements

INRIA, KTH, UMASS,UMELB

EPFL Long-lived transmissions with TFRC and TCP

Estimated: loss-event rates, average round-trip times, throughputs

Page 17: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

17

EPFL to UMASS

x/x’

TFRC/TCP throughput

x/f(p,r) p’/p r’/r x’/f(p’,r’)

Breakdown into Sub-Conditions:

Page 18: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

18

3. Conservativeness

Convergence:

The send rate control:

The estimator is updated at special points in time

Q. Is x <= f(p) ?

assume: the send rate is a stationary ergodic process

Page 19: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

19

Conditions for Conservativeness

In practice: the conditions are true, or almost the result explains overly conservativeness

Page 20: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

20

Is Negative or Slightly Positive ?

InternetLAN to LANEPFL sender

InternetLAN to cable-modem

at EPFL

Lab

200 p],ˆcov[ 2

00 p],ˆcov[ 200 p],ˆcov[

Page 21: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

21

Throughput-Drop PuzzleEmpirical indications: TFRC looses throughput for large loss-event rates

E.g. Bansal et al (ACM SIGCOMM 2001): “ … in return to for smoother transmission rates, slowly-responsive algorithms lose throughput to faster ones (like TCP) under dynamic network conditions.”

Why ?

L=2

48

16

PFTK-simplified

Cause:

convexity

of 1/f(1/x)

PFTK

SQRT

Page 22: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

22

What Causes Excessive Conservativeness ?

Palm inversion:

Throughput: May make the control conservative ? !

Page 23: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

23

What Causes Excessive Conservativeness ? (Cont’d)

the “overshoot” bounded by a function of p and

1/f(1/x) is assumed to be convex, thus, it is above its tangents take the tangent at 1/p

Page 24: ARC TCP Workshop, ENS, Paris, November 5-7, 2003 Equation-Based Rate Control: Is it TCP-friendly ? Milan Vojnovic Joint work with Jean-Yves Le Boudec.

24

Conclusion

1. Breakdown the TCP-friendliness into sub-conditions, study the sub-conditions separately

2. TCP-friendliness is difficult to verify

3. Conservativeness is easier