1 a case for end system multicast yang-hua chu, sanjay rao and hui zhang carnegie mellon university...

25
1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

Post on 19-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

1

A Case For End System Multicast

Yang-hua Chu, Sanjay Rao and Hui Zhang

Carnegie Mellon University

Largely adopted from Jonathan Shapiro’s slides at umass

Page 2: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

2

IP Multicast

•No duplicate packets

•Highly efficient bandwidth usage

Key Architectural Decision: Add support for multicast in IP layer

Berkeley

Gatech Stanford

CMU

Routers with multicast support

Page 3: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

3

Key Concerns with IP Multicast• Scalability with number of groups

– Routers maintain per-group state– Analogous to per-flow state for QoS guarantees– Aggregation of multicast addresses is complicated

• Supporting higher level functionality is difficult– IP Multicast: best-effort multi-point delivery service– End systems responsible for handling higher level functionality

– Reliability and congestion control for IP Multicast complicated

• Inter-domain routing is hard.

• No management of flat address space.

• Deployment is difficult and slow– ISP’s reluctant to turn on IP Multicast

Page 4: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

4

End System MulticastStanford

CMU

Stan1

Stan2

Berk2

Overlay TreeGatech

Berk1

Berkeley

Gatech Stan1

Stan2

Berk1

Berk2

CMU

Page 5: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

5

• Scalability (number of sessions in the network)– Routers do not maintain per-group state

– End systems do, but they participate in very few groups

• Easier to deploy

• Potentially simplifies support for higher level functionality– Leverage computation and storage of end systems

– For example, for buffering packets, transcoding, ACK aggregation

– Leverage solutions for unicast congestion control and reliability

Potential Benefits

Page 6: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

6

Performance Concerns

CMU

Gatech Stan1

Stan2

Berk1

Berk2

Duplicate Packets:

Bandwidth Wastage

CMU

Stan1

Stan2

Berk2

Gatech

Berk1

Delay from CMU to

Berk1 increases

Page 7: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

7

What is an efficient overlay tree?• The delay between the source and receivers is small

• Ideally,

– The number of redundant packets on any physical link is low

Heuristic we use:

– Every member in the tree has a small degree

– Degree chosen to reflect bandwidth of connection to Internet

Gatech

“Efficient” overlay

CMU

Berk2

Stan1

Stan2

Berk1Berk1

High degree (unicast)

Berk2

Gatech

Stan2CMU

Stan1

Stan2

High latency

CMU

Berk2

Gatech

Stan1

Berk1

Page 8: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

8

Why is self-organization hard?

• Dynamic changes in group membership – Members join and leave dynamically

– Members may die

• Limited knowledge of network conditions– Members do not know delay to each other when they join

– Members probe each other to learn network related information

– Overlay must self-improve as more information available

• Dynamic changes in network conditions – Delay and bandwidth between members may vary over time due

to congestion

Page 9: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

9

Berk2 Berk1

CMU

Gatech

Stan1Stan2

Narada Design (1)

Step 1

“Mesh”: Subset of complete graph may have cycles and includes all group members

• Members have low degrees, why?

• Shortest path delay between any pair of members along mesh is small

Step 0Maintain a complete overlay graph of all group members

• Links correspond to unicast paths

• Link costs maintained by polling

Berk2Berk1

CMU

Gatech

Stan1Stan2

Page 10: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

10

Narada Design (2)

CMU

Berk2 GatechBerk1

Stan1Stan2

•Source rooted shortest delay spanning trees of mesh

•Constructed using well known routing algorithms

– Members have low degrees

– Small delay from source to receivers

Step 2

Page 11: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

11

Narada Components• Mesh Management:

– Ensures mesh remains connected in face of membership changes

• Mesh Optimization:– Distributed heuristics for ensuring shortest path delay between

members along the mesh is small

• Spanning tree construction:– Routing algorithms for constructing data-delivery trees

– Distance vector routing, and reverse path forwarding

Page 12: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

12

Optimizing Mesh Quality

• Members periodically probe other members at random

• New Link added ifUtility Gain of adding link > Add Threshold

• Members periodically monitor existing links

• Existing Link dropped ifCost of dropping link < Drop Threshold

Berk1

Stan2CMU

Gatech1

Stan1

Gatech2

A poor overlay topology

Page 13: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

13

The terms defined • Utility gain of adding a link based on

– The number of members to which routing delay improves

– How significant the improvement in delay to each member is

• Cost of dropping a link based on– The number of members to which routing delay increases, for

either neighbor

• Add/Drop Thresholds are functions of:– Member’s estimation of group size

– Current and maximum degree of member in the mesh

Page 14: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

14

Desirable properties

• Stability: A dropped link will not be immediately re-added

• Partition Avoidance: A partition of the mesh is unlikely to be caused as a result of any single link being dropped

Delay improves to Stan1, CMU

but marginally.

Do not add link!

Delay improves to CMU, Gatech1

and significantly.

Add link!

Berk1

Stan2CMU

Gatech1

Stan1

Gatech2

Probe

Berk1

Stan2CMU

Gatech1

Stan1

Gatech2Probe

Page 15: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

15

Used by Berk1 to reach only Gatech2 and vice versa.

Drop!!

An improved mesh !!

Gatech1Berk1

Stan2CMU

Stan1

Gatech2

Gatech1Berk1

Stan2CMU

Stan1

Gatech2

Page 16: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

16

Performance Metrics

• Delay between members using Narada

• Stress, defined as the number of identical copies of a packet that traverse a physical link

Berk2

Gatech Stan1Stress = 2

CMU

Stan2

Berk1

Berk2CMU

Stan1

Stan2Gatech

Berk1

Delay from CMU to Delay from CMU to

Berk1 increasesBerk1 increases

Page 17: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

17

Factors affecting performance• Topology Model

– Waxman Variant – Mapnet: Connectivity modeled after several ISP backbones – ASMap: Based on inter-domain Internet connectivity

• Topology Size– Between 64 and 1024 routers

• Group Size– Between 16 and 256

• Fanout range– Number of neighbors each member tries to maintain in the mesh

Page 18: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

18

Delay in typical run4 x unicast delay 1x unicast delay

Waxman : 1024 routers, 3145 linksGroup Size : 128 Fanout Range : <3-6> for all members

Page 19: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

19

Naive Unicast

Native Multicast

Narada : 14-fold reduction in

worst-case stress !

Stress in typical run

Page 20: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

20

Overhead

• Two sources– Pair-wise exchange of routing and control information

– polling for mesh maintenance.

• Claim: Ratio of non-data to data traffic grows linearly with group size.

• Narada is targeted at small groups.

Page 21: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

21

Related Work

• Yoid (Paul Francis, ACIRI)– More emphasis on architectural aspects, less on performance

– Uses a shared tree among participating members

• More susceptible to a central point of failure

• Distributed heuristics for managing and optimizing a tree are more complicated as cycles must be avoided

• Scattercast (Chawathe et al, UC Berkeley)– Emphasis on infrastructural support and proxy-based multicast

• To us, an end system includes the notion of proxies

– Also uses a mesh, but differences in protocol details

Page 22: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

22

Conclusions

• Proposed in 1989, IP Multicast is not yet widely deployed– Per-group state, control state complexity and scaling concerns

– Difficult to support higher layer functionality

– Difficult to deploy, and get ISP’s to turn on IP Multicast

• Is IP the right layer for supporting multicast functionality?

• For small-sized groups, an end-system overlay approach – is feasible

– has a low performance penalty compared to IP Multicast

– has the potential to simplify support for higher layer functionality

– allows for application-specific customizations

Page 23: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

23

Open Questions

• Theoretical bounds on how close an ESM tree can come to IP multicast performance.

• Alternate approach: Work with complete graph but modify multicast routing protocol.

• Leveraging unicast reliability and congestion contol.

• Performance improvements: Reduce polling overhead.

Page 24: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

24

Internet Evaluation • 13 hosts, all join the group at about the same time

• No further change in group membership

• Each member tries to maintain 2-4 neighbors in the mesh

• Host at CMU designated source

Berkeley

UCSB

UIUC1

UIUC2 CMU1

CMU2

UKY

UMass

GATech

UDelVirginia1

Virginia2

UWisc

8

31

1

10

13

15

14

111

381

10

Page 25: 1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass

25

Narada Delay Vs. Unicast Delay

Internet Routing

can be sub-optimal

(ms)

(ms)

2x unicast delay 1x unicast delay