End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM,...

67
1 End System Multicast Hui Zhang School of Computer Science Carnegie Mellon University May 2004 http://esm.cs.cmu.edu/

Transcript of End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM,...

Page 1: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

1

End System Multicast

Hui ZhangSchool of Computer Science

Carnegie Mellon University

May 2004

http://esm.cs.cmu.edu/

Page 2: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

222

http://esm.cs.cmu.edu/

A Virtual Classroom

Prof. Harry BovikCMU

Stanford

Berkeley

MIT

Page 3: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

333

http://esm.cs.cmu.edu/

Solution Based on IP Unicast

Stanford

Poor performance scalabilitydelay, throughput

sender, network

MIT

CMU

Berkeley

Page 4: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

444

http://esm.cs.cmu.edu/

The Emerging Internet

Multi-party applicationsAudio/video conferencing

Multi-party games

Distributed simulation

Broadcast of web cams

Subscriber-publisher

Consider a world with ...Tens of millions of simultaneously running multi-point applications

Each application with tens to several thousand of end points

Page 5: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

555

http://esm.cs.cmu.edu/

IP Multicast

Berkeley

StanfordMIT

Router duplicates multicast packetsOne packet on each linkGood performance scaling property

CMU

Page 6: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

666

http://esm.cs.cmu.edu/

IP Multicast Overview

Seminal work by Steve Deering in 1989Huge amount of follow-on work

Research– 1000s papers on multicast routing, reliable multicast, multicast

congestion control, layered multicast

– SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award

Standard: IPv4 and IPv6, DVMRP/CBT/PIM

Development: in both routers (Cisco etc) and end systems (Microsoft, all versions of Unix)

Deployment: Mbone, major ISP’s

Applications: vic/vat/rat/wb …

Situation todayStill not used across the Internet

Page 7: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

777

http://esm.cs.cmu.edu/

Many Technical Problems Unsolved

Poor routing scalability property

Difficult to support higher functionalities

Serious security concern

Address allocation

Page 8: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

888

http://esm.cs.cmu.edu/

IP Multicast Scalability

How to tell a packet is a multicast packet? each group has a group address

How to tell which hosts are in the group?How to decide where and how to branch?

routing protocol needs to set up per group state at routers

Multi-point connection? Scalability and Robustness?

Page 9: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

999

http://esm.cs.cmu.edu/

Error Control: Reliable Multicast

IP is best-effortHow to achieve reliable delivery?

Page 10: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

101010

http://esm.cs.cmu.edu/

Ack Implosion

Scalability: number of acks increase with number of receivers

Page 11: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

111111

http://esm.cs.cmu.edu/

Routers Collect Acks

Overload router functionalities

even more per group states

Page 12: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

121212

http://esm.cs.cmu.edu/

Congestion/Flow Control

Diverse link technologies: different rates on each linkDynamic network condition: available bandwidth changes on each linkWhat rate should sender transmit?

Page 13: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

131313

http://esm.cs.cmu.edu/

Many Technical Problems Unsolved

Poor routing scalability property

routers need to keep per group/connection state

violation of fundamental Internet architecture principle

Difficult to support higher functionalities

error control, flow control, congestion control

Serious security concern

access control, both senders and receivers

Denial of Service attack

Address allocation

Page 14: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

141414

http://esm.cs.cmu.edu/

End System vs. Network

One of the most important design decisions in networksdivision of functionalities between hosts and routers, or

division of functionalities between end systems and networks

Page 15: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

151515

http://esm.cs.cmu.edu/

IP Architecture

“Dumb” IP layer minimal functionalities for connectivity

Unicast addressing, forwarding, routing

Smart end systemtransport layer or application performs more sophisticated functionalities

flow control, error control, congestion control

Advantagesaccommodate heterogeneous technologies

support diverse applications and decentralized network administration

IP

X Windows, Telnet,Web, FTP, Video, Audio

Ethernet, Modem,Wireless, Satellite, ATM,

SONET, DWDM

TCP, UDP

The “Hourglass Model”,

Page 16: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

161616

http://esm.cs.cmu.edu/

Key Principle: Stateless Architecture

Minimalist IP layer maintains no per flow state

IP layer maintains routing state

Highly aggregated

140K routing entries today for hundreds of millions hosts

Page 17: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

171717

http://esm.cs.cmu.edu/

What New Functionalities Should be Added to IP Layer ?

IP layer functionalities means functionalities that need to be implemented by all routers

New additions to IP

Quality of Service– Intserv: per flow state management

– Diffserv: no per flow state management

Multicast– Per group state management

Others

Mobility, security

IP

Steve Deering:

Watch for the Waist of IP Hourglass

Page 18: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

181818

http://esm.cs.cmu.edu/

Multicast Revisited

Can we achieve

efficient multi-point delivery,

without support from the IP layer?

Page 19: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

191919

http://esm.cs.cmu.edu/

End System MulticastStan-LANStanfordMIT

Stan-Modem

CMUStan-Modem

Berk2Berk1

Overlay TreeStan-LAN

MIT

Berkeley

Berk1

Berk2

CMU

Page 20: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

202020

http://esm.cs.cmu.edu/

End System Multicast: Benefits

ScalabilityRouters do not maintain per-group state

Easy to deployWorks over the existing IP infrastructure

Can simplify support for higher level functionality

CMU

MITUnicast congestioncontrol

Stan-Modem

TranscodingStan-LAN

Berk1

Berk2

Page 21: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

212121

http://esm.cs.cmu.edu/

ESM: The Unknowns

Several potential concerns with ESM

What penalties are involved with an overlay approach?

How to organize receivers into efficient overlays?

Will users cooperate? ….

Is ESM viable?How far and real can we make the architectural vision?

Page 22: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

222222

http://esm.cs.cmu.edu/

Performance Challenges

Degradation in application performance: delay, throughput

Network overhead: packet duplication over the same link

Berkeley

StanfordMIT

CMU

Berkeley

Stanford

CMU

MIT

Two copies of the same packet

Page 23: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

232323

http://esm.cs.cmu.edu/

More ChallengesStan-LAN

CMUStan-Modem

Berk2Berk1

MIT

Overlays must adapt to network dynamics and congestion

CMU

Stan-LAN

Stan-Modem

Berk2Berk1

MIT

Group membership is dynamic: members can join and leave

Page 24: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

242424

http://esm.cs.cmu.edu/

CMU ESM Project (1997 – present)Laying the foundation (1997 – 2001)

Self-organizing protocol

Simulation and Internet experiments to validate

Making it real (2002 – 2003)Build and deploy Internet video broadcast system based on ESM

Refining and Pushing it out (ongoing)Zero effort Internet video broadcast:

– any host to any set of hosts

Incentive mechanism for end point cooperation

Mechanism for resource-constraint environment

Better virtual experiences by leveraging on-line features

Page 25: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

252525

http://esm.cs.cmu.edu/

ESM Protocols

ObjectivesSelf-organizing: adapt to dynamic membership changes

Self-improving: automatically evolve into efficient overlays

Two versions of protocolMulti-source, smaller scale conferencing apps

Single source, larger scale broadcasting apps

Page 26: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

262626

http://esm.cs.cmu.edu/

Inefficient Overlay Trees

Berk1

Berk2

MIT

Stan2 CMU

Stan1-Modem

-Poor network usage-Potential congestion near CMU

CMU

High latencyBerk2

MIT

Stan2

Stan1-Modem

Berk1

MIT

CMU

Berk2

Stan-Modem

Stan-LAN

Berk1

Poor bandwidthto members

Page 27: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

272727

http://esm.cs.cmu.edu/

An Efficient Overlay Tree

MIT

CMU

Berk2

Stan-LAN

Stan-Modem

Berk1

Page 28: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

282828

http://esm.cs.cmu.edu/

Key Components of Protocol

Overlay Management:

How many other members does a member know?

How is this membership information maintained?

Overlay Optimization:

Constructing efficient overlay among members

Page 29: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

292929

http://esm.cs.cmu.edu/

Group Management

Build separate control structure decoupled from tree

Each member knows small random subset of group members

Information maintained using gossip-like algorithm

Members also maintain path from source

Other design alternatives possible:

Example: a hierarchical structure, a DHT

No clear winner between design alternatives

S

A

Page 30: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

303030

http://esm.cs.cmu.edu/

Bootstrap

AsiaUS2

Euro2Euro3

Euro2, Euro3, ...

Source (US)

US1

Modem1

Asia

Euro1US2

US4, …US

Node that joins:–Gets a subset of group membership from source–Finds parent using parent selection algorithm

Page 31: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

313131

http://esm.cs.cmu.edu/

Parent Selection

Source (US)

Modem1X

–X sends PROBE_REQ to subset of members it knows–Evaluates remote nodes and chooses a candidate parent

Euro2, Euro3, ...

US1Asia

Euro1US2

US4, …

Page 32: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

323232

http://esm.cs.cmu.edu/

Factors in Parent Selection

Filter out P if it is a descendant of XPerformance of P

Application throughput received by P

Delay of path from S to P

Saturation level of PPerformance of link P-X

Delay of link P-X

TCP bandwidth of link P-X

S

PX

Page 33: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

333333

http://esm.cs.cmu.edu/

Causes for Parent Switch

Member Leave/Death Congestion/ poor bandwidth

Modem1

Euro3, ...

Source (US)

US1Asia

Euro2US2

US4, …Euro2, Euro3, ...

Modem1

Source (US)

US1Asia

Euro1US2

US4, …

Modem1

Euro3, ...

Source (US)

US1Asia

Euro2US2

US4, …

Better Clustering

Euro4

Page 34: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

343434

http://esm.cs.cmu.edu/

Probing Heuristics

Study of light-weight probing heuristics

RTT-probes, 10 KByte transfers, Bottleneck bandwidth

Simple RTT probes effective in lowering convergence time

Avoid probing hosts with low bottleneck bandwidth

History of performance of previously chosen parent

S

PX

Page 35: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

353535

http://esm.cs.cmu.edu/

Bandwidth Adaptation

Detection Time: when to adapt to congestion?

Constrained hosts tricky to tackle

Hosts in Asia, behind wireless etc.

Need to avoid unproductive parent switches

Key difficulty: automatically detecting host is constrained

Duplicate parent heuristic could backfire

P

C

P

C

Q

Page 36: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

363636

http://esm.cs.cmu.edu/

Evaluation

Driving QuestionIs ESM viable? What are the performance penalties involved?

Application level metricsLatency

Throughput

Network level MetricsStress

Resource Usage

Protocol Overhead

Page 37: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

373737

http://esm.cs.cmu.edu/

Internet Test-bed (Sigcomm 2001)

Twenty hosts: 1 DSL host, 3-4 hosts in Asia and Europe

Unicast

ESM

Page 38: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

383838

http://esm.cs.cmu.edu/

Simulation Experiments Sigmetrics 2000

stan2CMU

Berk1

Berk2MIT

Stan1

Delay from CMU to Delay from CMU to Stan1 increasesStan1 increases Relative Delay

Penalty (RDP)

Stan2

MIT Berk1Stress

CMU

Berk2Stan1 Stress

Typical experiment with 128 members–90% of member pairs have RDP less than 4–Stress reduced by factor of 14 compared to naïve unicast

Page 39: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

393939

http://esm.cs.cmu.edu/

Limitations of Evaluation

Internet-based evaluationScale limited by availability of expermental end points

Bias in end system selections

Simulation-based evaluationScale limited by computing power and memory size

Difficult to model topology

Difficult to model dynamic cross traffic

Join and leave pattern? Duration?

Page 40: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

404040

http://esm.cs.cmu.edu/

The Evaluation Question

Question: how to evaluate Internet-scale systems? Answer: deploy Internet-scale application and attract real usersProperties wanted

High bandwidth, large number of simultaneous users

Free and compelling content

Anwer: auido/video webcast

Page 41: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

414141

http://esm.cs.cmu.edu/

System Overview

Broadcast Source

EncoderA/V Signal

Monitor

Logger

Page 42: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

424242

http://esm.cs.cmu.edu/

Publisher Toolkit

Page 43: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

434343

http://esm.cs.cmu.edu/

Support for Heterogeneous Receivers

UDP-basedcongestion control

CMU

Stanford-Modem

MIT

Priority DroppingStanfod-LAN

Berk1

–Audio–Multiple layers of video

Encoder

Berk2

A/V Signal

Each receiver: receive as many layers as capacity allows

Page 44: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

444444

http://esm.cs.cmu.edu/

Support for NATs

NAT

PublicNAT

Cannotcommunicate

–System supports NATs as children–Allows NATs to be parents of public hosts–Public hosts can be parents of all hosts

Page 45: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

454545

http://esm.cs.cmu.edu/

Deployment Experience

First broadcast in Aug ’02: Sigcomm02Total ~25 events, ~200 operational hours

~6600+ participants: across 5 continents

in home, academic and commercial environments

behind various technologies (DSL/cable modem, wireless, T1, T3, Ethernet) and NAT/Firewall.

Ease of Use:Viewer: 2 or 3 Clicks, Download & install software: seconds

Publisher: Audio/video/computer equipments: ~ 0.5 -- 3 hours. (depending on the environment and quality requirement)

Page 46: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

464646

http://esm.cs.cmu.edu/

Major Event Highlight

Event Duration(hours)

Unique Hosts

Peak Size

SIGCOMM ’02 25 338 83SIGCOMM ’03 72 705 101

DISC’03 16 30 20

Slashdot 24 1609 160Grand Challenge 6 2005 280

SOSP’03 24 401 56

Distinguished Lectures

11 400 80

AID Meeting 14 43 14Buggy Race 24 85 44

Page 47: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

474747

http://esm.cs.cmu.edu/

Group Dynamics

lunch

conference end

conference start

10am west coast

folks notactivelywatching?

Page 48: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

484848

http://esm.cs.cmu.edu/

Overlay Tree at 2:09 pm

U.S. East CoastU.S. Central

U.S. West CoastEurope

AsiaUnknown

Source (CMU)

Page 49: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

494949

http://esm.cs.cmu.edu/

Duration of Participation

Page 50: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

505050

http://esm.cs.cmu.edu/

Receiver Bandwidth

Sigcomm02

Tail: constrained hostsHosts in Asia, behind wireless etc.Cannot receive full source rate

Page 51: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

515151

http://esm.cs.cmu.edu/

Transient Performance: Outages

Outage: loss rate exceeds 5%

95% of hosts have less than 3% outages for audio

3% outage ≈ 2 second glitch every minute

Page 52: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

525252

http://esm.cs.cmu.edu/

System Dynamics

Page 53: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

535353

http://esm.cs.cmu.edu/

Loss Diagnosis

Not all losses recoverable

Congestion near source

Constrained host, or congestion near host

51% of loss events : not recoverable

Explains the tail

Source

Not recoverable Recoverable

Page 54: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

545454

http://esm.cs.cmu.edu/

Loss Diagnosis

Loss event: any packet loss in 5-second intervalLoss “not recoverable” (51%)

Constrained hosts (49%)

Local congestion (2%)

Congestion near source (rare)

Loss potentially recoverable (31%)Loss at parent / ancestor

Congestion near parent

Parent leave

Loss not categorized (18%)

Source

Page 55: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

555555

http://esm.cs.cmu.edu/

May not be fixable viaself-org.18%

Problems atancestors

Fixable 31%

Network congestion near broadcast source (rare)

Parent leave

Not fixable via self-organization

51%

Network congestion(unknown location)

Host is bandwidthconstrained

Network congestion near host

Network congestion near parent

Loss Analysis Result

Page 56: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

565656

http://esm.cs.cmu.edu/

Performance: Multiple Broadcasts

Page 57: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

575757

http://esm.cs.cmu.edu/

Performance: Multiple Broadcasts

Slashdot

Page 58: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

585858

http://esm.cs.cmu.edu/

Diversity of Hosts

100%AsiaOceania T1

Public

0%

20%

40%

60%

80%

NorthAmerica

EuropeIndustryGov.

DSLUniv.

10Mbps

NATHome

CableModem

Sigc

omm

Sigc

omm

Sigc

omm

Slas

hdot

Slas

hdot

Slas

hdot

Slas

hdot

Page 59: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

595959

http://esm.cs.cmu.edu/

Coping with NATS

Page 60: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

606060

http://esm.cs.cmu.edu/

Where We Stand

ESM deployment

Extremely easy to deploy

Zero effort Internet broadcast achievable

Page 61: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

616161

http://esm.cs.cmu.edu/

Ongoing Research: Scalability

What about large groups?Same or different problems as small-scale?

Chicken and egg problem

Issues with large scaleEnough forwarding resource?

Rapid joins/leaves?

ApproachTrace-driven simulation with Akamai data

Evaluate intrinsic resource availability and stability

Initial results promising

Page 62: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

626262

http://esm.cs.cmu.edu/

Ongoing Research: Incentive

Why would a host contribute more than it receives?

Bit-by-bit scheme will leave up to 80% hosts unserved

Needs to create incentive for resource-rich hosts to contribute

Key observations

Asymmetry role of publisher and subscribers

Publisher has incentive to maximize social welfare

Publisher leverage multiple video quality levels to create incentives for subscribers

Apply the theory of taxation

Page 63: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

636363

http://esm.cs.cmu.edu/

Ongoing Research: On-Line Community

We observe that some people like Internet broadcast better than lecture hall

Can we make Internet participation a unique experience?

More than just a sub-optimal imitation of the physical experience

Leverage on the strength of virtual presence offered by the Internet

Page 64: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

646464

http://esm.cs.cmu.edu/

Related WorkYoid: architecture contribution, independently conceivedFollow-up overlay multicast protocols

Reducing group management overhead for larger group size– NICE, Overcast, HMTP, CAN,Bayuex,Delaunay,Scribe …

Redundancy in data delivery– Coopnet, Splitstream, Bullet

ESM ContributionsFirst to argue for architectural alternative

Evaluation framework: RDP, stress

Systems approach

“Father” of P2P Streaming

Page 65: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

656565

http://esm.cs.cmu.edu/

Other Overlay Systems

MBONE, RON, Planetlab

Infrastructure

Mainly used by network researchers

ESM

Infrastructure-less

Instantaneously deployable

Application that targets common Internet users

Page 66: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

666666

http://esm.cs.cmu.edu/

Other Broadcasting Systems

Mbone/IP Multicast Based

Vic/Vat

Infrastructure-Centric

Akamai/Real Broadcasting

Recent commercial peer-to-peer systems:

Allcast, Chaincast, Streamer, Peercast

Page 67: End System Multicasthzhang/Talks/ESMPrinceton.pdfcongestion control, layered multicast – SIGCOMM, ACM Multimedia award papers, ACM Dissertation Award Standard: IPv4 and IPv6, DVMRP/CBT/PIM

676767

http://esm.cs.cmu.edu/

Summary

Division of functionalities between end system and network One of the most important network architecture decision

IP Multicast is the wrong path Intractable technical challenges remain

Wrong direction to channel energy on

End System Multicast supports all multicast related functionalities in end system

Scalable, deployable, easy to support higher level functionalities

Can be designed to be efficient also

Application centric approach achieves multiple goalsValidate internet-scale systems with real users/workload

Valuable tool for ordinary users

Valuable tool for researchers