with extra bandwidth and time for adjustment tcp is competitive

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

Upload: ordell

Post on 24-Jan-2016

27 views

Category:

Documents


0 download

DESCRIPTION

With Extra Bandwidth and Time for Adjustment TCP is Competitive. J . Edmonds, S . Datta, and P . Dymon d. TCP (Transport Control Protocol). Email Web Telnet. Many Packets » Data Flow. Input: Set of Sender/Jobs. File Size. Arrival time. Fixed Path. General Network. Adjustments. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

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

TCP (Transport Control Protocol)

• Email

• Web

• Telnet

Bytes on the Internet

TCP

Other

Page 3: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

•Arrival time

•File Size

Input: Set of Sender/Jobs

•Many Packets Data Flow

•Fixed Path

Page 4: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

General Network

Page 5: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Adjustments

Bottleneck Capacity and Adjustments

B

b ,t

b ,t

B

(not buffer or time delay)

Page 6: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

TCP Protocol

Time

A=1 c=½

b ,t

Additive increase

Multiplicative decrease

Page 7: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

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 8: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

A Paradigm Shift

Computation TaskFile to Transfer

??? Speed up

# ProcessorsBottleneck Capacity

Processor AllocationBandwidth Allocation b ,t

Work Size & TimesFile Size & Times ca ,,

Network

Page 9: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

User Perceived LatencyFlow Time

(c - a )AVG

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

Bad(J) =

…Good(J) =

……

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

(n-1) + Long n

ca

ca

Page 10: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Comparison with other Schedulers

BTCP

BEQUI

ShortestRemainingWork First

B

•[CJ] TCP EQUI

•Optimal

Page 11: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Knowledge of Scheduler

Non-Clairvoyant: ?

Online: ?Future

Distributed: ?

Optimal: All KnowingAll Powerful

TCP

Page 12: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Not Competitive

Page 13: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Competitive

Adj

Page 14: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Previous Results(Batch)

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

[ECBD] 3.73

a

Page 15: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Previous Results(Lower Bounds)

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

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

aa aa a

Page 16: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

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/)

?

TCP[Cor] A c1

TCP

B-TCP

Page 17: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

New Results

CorollaryA c1

A=1 c=½

New

New Future Work

Page 18: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

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

New Results

AdjAdj Adj

q q

OPT1(J)TCPO(1)(J)

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

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

Proof: Reduction

Page 19: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

New ResultsRandom Asynchronous Early Marking

•“Drops”packets before cap reached

•No packets actually dropped

!

b ,t

•“Drops” individual random packets•Smooth total transmission

•Challenge#

# packets to drop

?

Page 20: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

TCP: Fair ??

New Results

mTCPO(m3)(J)

OPT1(J) O(m)

TCP2+(J)OPT1(J) O(1/)

(Free Market & Locally)

f f

A c1

A=1 c=½

[F] say no

hope

Open: Dynamical System •converges? •bounded?

Page 21: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Proof Sketches

Page 22: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

TCP EQUI

[CJ] global measure

BTCP

BEQUI

•TCP EQUI

New: Job by job comparison

Page 23: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Proof Sketch

b ,t

Unadjusted Adjusted

Page 24: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Time

A=1 c=½

UnadjustedAdjusted

b ,t

At , Total B

Total Adjusted (1-cq) B

After q , Total Unadjusted cq B

Proof Sketch

Page 25: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Proof Sketch

Time

A=1 c=½

UnadjustedAdjusted

b ,t

Total Adjusted (1-cq) Bhas fair share Adjusted

After q , at ,

= (1-cq) EQUIb ,tBb ,t (1-cq) nTCP

Page 26: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Proof Sketch

c=½b ,tTCP

EQUI b ,t

After q , at ,

TCP (1-cq) EQUIb ,t b ,t

TCPO(1) b ,t

b ,tTCPO(1) EQUI b ,t

Page 27: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Proof Sketch

AdjAdj Adj

q q

TCPO(1) b ,t

EQUI b ,t

Less Adj

Less Less Less

Page 28: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Proof Sketch

EQUI

After q , at , b ,tTCPO(1) EQUI b ,t

Page 29: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Proof Sketch

EQUI

Less

Adjq

Page 30: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Proof Sketch

AdjAdj Adj

q q

TCPO(1) b ,t

EQUI b ,t

Less Adj

Less Less Less

Page 31: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

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

New Results

AdjAdj Adj

q q

OPT1(J)TCPO(1)(J)

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

Page 32: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

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 33: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

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 Done

Page 34: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

TCP: Fair ??

New Results

mTCPO(m3)(J)

OPT1(J) O(m)

TCP2+(J)OPT1(J) O(1/)

(Free Market & Locally)

f f

A c1

A=1 c=½

[F] say no

hope

Open: Dynamical System •converges? •bounded?

Page 35: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

TCP2+(J)OPT1(J) O(1/)

f f

Proof Sketch

•Each charges f for its bandwidth

TCP Free Market Fair

•Allocates , so all charged the same.

fff

• supply & demand cost for bandwidthf

Page 36: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Proof Sketch

TCP Locally Fair•Allocates , so locally fair at each

mTCPO(m3)(J)

OPT1(J) O(m)

Page 37: With Extra Bandwidth  and Time for Adjustment TCP  is  Competitive

Conclusion

TCP is Competitive