with extra bandwidth and time for adjustment tcp is competitive j. edmonds, s. datta, and p. dymond

30
With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Upload: derek-horn

Post on 06-Jan-2018

220 views

Category:

Documents


0 download

DESCRIPTION

Arrival time File Size Input: Set of Sender/Jobs Many Packets  Data Flow

TRANSCRIPT

Page 1: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

With Extra Bandwidth and Time for Adjustment

TCP is Competitive

J. Edmonds, S. Datta, and P. Dymond

Page 2: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

• Email• Web • Telnet

Bytes on the Internet

TCPOther

TCP (Transport Control Protocol)AIMD (Additive Increase, Multiplicative Decrease)

Page 3: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

•Arrival time •File Size

Input: Set of Sender/Jobs

•Many Packets Data Flow

Page 4: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Adjustments

Bottleneck Capacity and Adjustments

B

b ,t

b ,t B

(not buffer or time delay)

Page 5: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Time

A=1 c=½

b ,t

Additive increase

Multiplicative decrease

TCP (Transport Control Protocol)AIMD (Additive Increase, Multiplicative Decrease)

Page 6: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Evaluating TCP

•Fair to all Users

•Good observed performance •Simulation of approximate models•Few theoretical results

•[KKPS] 20 Questions to “guess” allocation

•[CJ] Single-bottleneck:TCP fair •[F] Multi-bottleneck: TCP not fair

(completion - arrival )AVG• “User Perceived Latency” or “Flow Time”

•Throughput & packet loss rate

Page 7: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

User Perceived LatencyFlow Time

(c - a )AVG

J = { , , , , , , … , , }

Bad(J)Good(J) (c - a )AVG= n Long

(n-1) + Long n

Good(J) =

…… ca

Bad(J) = … ca

Page 8: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Comparison with other Schedulers

BTCP

BEQUI

ShortestRemainingWork First

B

•[CJ] TCP EQUI

•Optimal

Page 9: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Knowledge of Scheduler

Non-Clairvoyant: ?

Online: ?Future

Distributed: ?

Optimal: All KnowingAll Powerful

TCP

Page 10: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Not Competitive

Page 11: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Competitive

Page 12: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Previous Results(Batch)

EQUI(J)OPT(J) 2[MPT]

[ECBD] 3.73

a

Page 13: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Previous Results(Lower Bounds)

EQUI(J)OPT(J) (n)[MPT]

NonClair(J)OPT(J) (n½)

aa aa a

Page 14: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Previous Results (Upper Bounds)

BAL1+(J)OPT1(J) O(1/)[KP]

[E] EQUI2+(J)OPT1(J) O(1/)

[EP] BROADCAST4+(J)OPT1(J) O(1/)

Page 15: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

O(1)OPT(J)TCP(J)

New Results

OPT1(J)TCPO(1)(J)

AdjAdj Adj

q q

OPT1(J)TCPO(1)(J) - Adj

Page 16: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

[E] EQUI2+(J)OPT1(J) O(1)

Reduction

Page 17: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

TCP EQUI

[CJ] global measure

BTCP

BEQUI

•TCP EQUI

New: Job by job comparison

Page 18: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

b ,t

Unadjusted Adjusted

Page 19: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

Time

A=1 c=½

UnadjustedAdjusted

b ,t

at ,b ,t

After q ,TCP (1-cq) EQUI b ,t

Page 20: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

c=½b ,tTCP

EQUI b ,t

at ,b ,t

After q ,TCP (1-cq) EQUI b ,t

TCPO(1) b ,t

b ,tTCPO(1) EQUI b ,t

Page 21: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

EQUI

Page 22: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

EQUI

Page 23: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

O(1)OPT(J)TCP(J)

New Results

OPT1(J)TCPO(1)(J)

OPT1(J) + AdjTCPO(1)(J)

Page 24: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

O(1)OPT1(J)TCPO(1)(J) EQUI2+(J’)

OPT1(J’ )Adj+ OPT1(J’ )+

J

TCPO(1) b ,t

EQUI b ,t

J’Less

Page 25: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

O(1)OPT1(J)TCPO(1)(J) EQUI2+(J’)

OPT1(J’ )Adj+ OPT1(J’ )+

J

TCPO(1) b ,t

EQUI b ,t

J’Less

Less

Page 26: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof SketchTCPO(1) b ,t

EQUI b ,t

AdjAdj Adj

q q

Less Adj

Less Less Less

Page 27: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

EQUI

Less

Adjq

Less Adj

Page 28: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

O(1)OPT1(J)TCPO(1)(J) EQUI2+(J’)

OPT1(J’ )Adj+ OPT1(J’ )+

J

TCPO(1) b ,t

EQUI b ,t

J’Less

Less

Page 29: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Proof Sketch

O(1)OPT1(J)TCPO(1)(J) EQUI2+(J’)

OPT1(J’ )Adj+ OPT1(J’ )+

J

TCPO(1) b ,t

EQUI b ,t

J’Less

Done

Page 30: With Extra Bandwidth and Time for Adjustment TCP is Competitive J. Edmonds, S. Datta, and P. Dymond

Conclusion

TCP is Competitive

Recent Result