u innsbruck informatik - 1 cadpc/ptp in a nutshell michael welzl , [email protected]...

21
U Innsbruck Informatik - U Innsbruck Informatik - 1 CADPC/PTP in a nutshell CADPC/PTP in a nutshell Michael Welzl Michael Welzl http://www.welzl.at , , michael [email protected] Distributed and Parallel Systems Group Distributed and Parallel Systems Group Institute of Computer Science Institute of Computer Science University of Innsbruck University of Innsbruck

Upload: gwendolyn-maxwell

Post on 16-Jan-2016

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 11

CADPC/PTP in a nutshellCADPC/PTP in a nutshell

Michael WelzlMichael Welzlhttp://www.welzl.at, , [email protected]

Distributed and Parallel Systems GroupDistributed and Parallel Systems Group

Institute of Computer ScienceInstitute of Computer Science

University of InnsbruckUniversity of Innsbruck

Page 2: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 22

OutlineOutline

• Problem identification

• The PTP signaling protocol

• The CADPC congestion control mechanism

• Simulation results

• Conclusion

Page 3: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 33

Some problems with TCP(-like) CCSome problems with TCP(-like) CC

• Special links (becoming common!):– noisy (wireless) links– “long fat pipes“ (large bandwidth*delay product)

• Stability issues– Fluctuations lead to regular packet drops + reduced throughput

problematic for streaming media– Stability depends on delay, capacity, load, AQM

• Rate hard to control / trace / predict– Load based charging difficult

• Main reason: binary congestion notification (E)CN– when it occurs, it‘s (almost) too late

Page 4: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 44

The CADPC/PTP SolutionThe CADPC/PTP Solution

• Totally different CC model– only rely on rare explicit bandwidth (=traffic) signaling

• Assumptions:

– extra forward signalling for CC = good idea ( common belief)

– router support

– mechanism must clearly outperform TCP to justify (even a little!) additional traffic

– timeouts necessary for loss of signalling packetsrate should not depend on round trip time

... yes it does :-)

Page 5: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 55

The Performance Transparency The Performance Transparency Protocol (PTP)Protocol (PTP)

• Basic idea: query routers for performance related information– designed to be as lightweight as possible

• Stateless + simple scalable!– all calculations @ end nodes

• Only every 2nd router needed for full functionality

• PTP Available Bandwidth Determination:– packet queries for:

• nominal bandwidth (“ifSpeed“) + address + traffic counter (“if(In/Out)Octets“) + timestamp)

• 2 consecutive such packets: table of traffic + interval at all routers at receiver• receiver calculates available bandwidth at bottleneck, informs sender

• Designed for flexibility - two modes:– Forward Packet Stamping, Direct Reply (not for available bandwidth (byte

counters))

No problems w/ wireless links!

Page 6: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 66

Forward Packet Stamping: how it Forward Packet Stamping: how it worksworks

Page 7: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 77

Forward Packet Stamping: how it Forward Packet Stamping: how it worksworks

Page 8: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 88

Forward Packet Stamping: how it Forward Packet Stamping: how it worksworks

Page 9: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 99

CADPC: a new CC mechanismCADPC: a new CC mechanism

• “Congestion Avoidance with Distributed Proportional Control“fully distributed convergence to max-min fairness– each source increases/decreases the rate depending on its

capacity share

• Only depends on old rate, smoothness factor and traffic– does not depend on RTT

• Feedback packets can be delayed scalable• reasonable choice: 4 x RTT

• Control realises logistic growth– Asymptotically stable in simplified fluid model with synchronous

RTTs– Smooth convergence to a steady rate

Page 10: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1010

Some simulation resultsSome simulation results

Many more can be found in:

Michael Welzl, „Scalable Performance Signalling and Congestion Avoidance“, Kluwer Academic Publishers

2003.

Page 11: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1111

CADPC vs. TCPCADPC vs. TCP

Page 12: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1212

SmoothnessSmoothness

10 x TFRC 10 x CADPC

Page 13: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1313

Startup enhancementStartup enhancement

Page 14: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1414

Heterogeneous RTTs + RobustnessHeterogeneous RTTs + Robustness

Page 15: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1515

Throughput Loss

Avg. Queue Length Fairness

CADPC vs. TCP-friendly CC. CADPC vs. TCP-friendly CC. mechanismsmechanisms

Page 16: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1616

CADPC vs. 3 TCP(+ECN) flavorsCADPC vs. 3 TCP(+ECN) flavors

Page 17: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1717

CADPC AdvantagesCADPC Advantages

• high utilisation

• close to zero loss

• small bottleneck queue length

• very smooth rate

• fully distributed precise max-min-fairness

• rapid response to bandwidth changes (e.g. from routing)

• provable asymptotic stability (synchronous RTTs, fluid model)

some say it‘s impossible :)

Page 18: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1818

CADPC Advantages /2CADPC Advantages /2

• Useful for asymmetric links

• Useful for noisy (wireless) links + “long fat pipes”

• Useful for QoS and load-based charging

DisadvantagesDisadvantages

• Requires router support

• Requires traffic isolation because…– not tcp-friendly– slowly responsive: bad results with web traffic

Page 19: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 1919

Related workRelated work

• XCP:closely related; main difference:– CADPC/PTP: explicit extra signaling packets (e.g. only 1 probe

message every 4 RTTs, no TCP-like ACKs for every packet)– XCP: routers examine every (payload) packet, TCP-like ACKs for

every packet necessary

• FAST TCP:– no explicit help from routers; utilizes delay– good idea, but less efficient than utilizing traffic measurements

(like ECN: reaction almost too late)– patent protected

• Scalable TCP, Highspeed TCP:– different increase decrease behavior– less efficient than above variants

Page 20: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 2020

ConclusionConclusion

• Separate signaling protocol + RTT-independence + high efficiency make CADPC/PTP applicable in various domains

• Possibilities:– control of traffic aggregates (signaling between edge routers)– control of microflows within a DiffServ class scalable fine-grain

QoS– etc. !

• This is where projects come into play !!!

Page 21: U Innsbruck Informatik - 1 CADPC/PTP in a nutshell Michael Welzl , michael.welzl@uibk.ac.at @uibk.ac.at

U Innsbruck Informatik - U Innsbruck Informatik - 2121

The End ...The End ...

• Publications

• CADPC+PTP ns code

• PTP Linux code (router kernel patch + end system implementation)

• Future updates

http://www.welzl.at/ptp