cse679: multicast and multimedia

27
CSE679: Multicast and Multimedia Basics Addressing Routing Hierarchical multicast QoS multicast

Upload: brent-castillo

Post on 31-Dec-2015

36 views

Category:

Documents


2 download

DESCRIPTION

CSE679: Multicast and Multimedia. Basics Addressing Routing Hierarchical multicast QoS multicast. Multicast -motivation. Point-to-point delivery not efficient for events/transmissions of general interest Examples News multicast IETF sessions/rock concerts - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CSE679: Multicast and Multimedia

CSE679: Multicast and Multimedia

Basics Addressing Routing Hierarchical multicast QoS multicast

Page 2: CSE679: Multicast and Multimedia

Multicast -motivation

Point-to-point delivery not efficient for events/transmissions of general interest

Examples News multicast IETF sessions/rock concerts

Many receivers may share the same path Point-to-point delivery too expensive

Page 3: CSE679: Multicast and Multimedia

Multicast motivation

Page 4: CSE679: Multicast and Multimedia

Multicast issues

In point-to-point delivery, receiver address is known => routing is straightforward

In Multicast, many receivers How to transmit data to all the receivers? How to identify the group of receivers?

At the sender? In the network?

Page 5: CSE679: Multicast and Multimedia

Multicast issues

Identify multicast by a group/multicast address The membership changes as the receivers

join/leave the group Routers/Network need to recognize the

multicast address Receivers need to receive on their own IP

address and on the multicast address

Page 6: CSE679: Multicast and Multimedia

Multicast addressing

A multicast sender uses the group address as the receiver’s address when sending packets

Network/routers keep track of actual receiving subnets/paths for this group address (not the actual receivers)

Receivers can reply to sender’s address or to group address

Page 7: CSE679: Multicast and Multimedia

Multicast addressing

Part of IP address space reserved for multicast Multicast routers recognize multicast

addresses Need to get a multicast address for a

transmission before multicast can start Protocols exist for obtaining multicast

addresses and finding out a multicast address

Page 8: CSE679: Multicast and Multimedia

Class D addresses

High order 4 bits = 1110, followed by a 28-bit multicast group ID. 224.0.0.0 - 239.255.255.255

224.0.0.1 - all systems on this subnet 224.0.0.2 - all routers on this subnet 224.0.0.4 - all DVMRP routers 224.0.0.5 - all OSPF routers

Page 9: CSE679: Multicast and Multimedia

IGMP

Internet Group Membership Protocol Used to join a multicast group and to check on

the current status of receivers on a subnet IGMP -join message propagated up the routers

until the multicast tree reached. Routers periodically poll hosts on subnets to see

if any active receivers remain If no active receivers remain, routers propagate

leave messages upstream to reduce unnecessary traffic

Frequent polling can increase overhead Separate protocols for finding group membership

address - sd

Page 10: CSE679: Multicast and Multimedia

Multicast routing

For point-to-point delivery, a router looks up routing table and knows how to forward

For multicast, many receivers may have to forward packets on multiple outgoing

links too hard to keep track of individual receivers at each

router for each multicast group remember just the links on which to be forwarded -

change as receivers join/leave

Page 11: CSE679: Multicast and Multimedia

Multicast routing

Need to recognize multicast addresses The routing tables change as the receivers

join/leave a multicast group Every router keeps track of “downstream”

links on which to forward a packet Routing table and multicast address “expire”

at the end of session

Page 12: CSE679: Multicast and Multimedia

Multicast Routing Protocols

DVMRP - Distance Vector Multicast MOSPF - Multicast Extensions to OSPF PIM - Protocol Independent Multicast

Page 13: CSE679: Multicast and Multimedia

Multicast routing approaches

Flooding send on all links to reach the receivers not efficient

Spanning tree efficient could concentrate traffic on a few links

Page 14: CSE679: Multicast and Multimedia

Spanning tree based routing

Spanning trees rooted at the sender When a receiver wants to join a group, may

have to broadcast on all upstream links to find a path to the sender could cause a lot of overhead in sparse groups need better solutions

Page 15: CSE679: Multicast and Multimedia

Sparse Mode routing

Use a Core-based tree (CBT) Use a rendezvous point or a core router Direct all joins to RP which knows how to reach

the sender can avoid broadcasting multicast group information

to all routers in the network can result in non-optimal paths would need to modify multicast tree over time

Page 16: CSE679: Multicast and Multimedia

Reliable Multicast

In unicast, receiver ACKs give feedback ---Sender takes responsibility in transmitting data

In Multicast, many receivers -- too difficult for sender to keep track of every receiver’s status

ACK Implosion

Page 17: CSE679: Multicast and Multimedia

Receiver-driven Multicast

Sender based schemes don’t scale well as number of receivers increase

Receiver based schemes scale better Receivers can decide the level of reliability

needed as well as the level of quality desired etc.

Page 18: CSE679: Multicast and Multimedia

Send NAKs

Sender keeps no information of receivers’ status

Receivers send NAKs to reduce ACK implosion problem

How to send NAKs? Unicast NAKs to sender Multicast NAKs

Page 19: CSE679: Multicast and Multimedia

Unicast NAKs to sender

Reduces overhead when packet losses are isolated and rare

Packet loss early in the tree will result in too many NAKs

Page 20: CSE679: Multicast and Multimedia

Multicast NAKs

Others missing packets need not send NAKs if every receiver, sends a NAK immediately

after getting an out-of-sequence packet, too many NAKS at once!

Wait for a random time, send a NAK If some one else sends a NAK, suppress your

NAK Getting random timers tricky business Could cause burden on receivers if only one

receiver doesn’t get the packet

Page 21: CSE679: Multicast and Multimedia

Hierarchical Multicast

Organize multicast into a number of groups One Designated Receiver (DR) takes

responsibility for reliability On packet loss, NAK propagated to DR If DR has data, retransmits or re-multicasts

with limited scope to the group If DR doesn’t have data, sends NAK to sender

Page 22: CSE679: Multicast and Multimedia

Hierarchical Multicast

More scalable than other multicast protocols Specially useful when multicast over wide

geographic boundaries, keep one DR in each country for example

DR nodes may need more power than other receivers

Need mechanisms to find out DR Need mechanisms to delegate DR function to

another node as primary DR node leaves multicast

RMTP: Reliable Multicast Transport Protocol - Bell Labs

Page 23: CSE679: Multicast and Multimedia

Congestion control

Layered multicast Arrange layers in an exponentially increasing

data rates TCP-friendly Multicast

In steady state, packet drop => congestion, drop a layer

If layers are doubling in data rates, dropped layer = reducing multicast rate by half => TCP friendly

Page 24: CSE679: Multicast and Multimedia

QoS-Sensitive Multicast

The key issue is to construct a multicast tree with QoS constraints

Goal is to build a tree of paths to destinations such that sum of link costs (e.g. consumed bandwidth) is minimum and QoS constraints (e.g. delay) are satisfied

Exact solutions to such multi-constrained optimization problems are prohibitively expensive

Need heuristics that provide fast solutions of high quality

Page 25: CSE679: Multicast and Multimedia

An Example for Constructing A Tree

Application QoS requirements: end-to-end delay 13, jitter 7 example 1

example 2

10

10

10

2

10

6 6

10

Page 26: CSE679: Multicast and Multimedia

Mbone

Multicast Backbone Consists of all the multicast-enabled routers If two multicast routers are not directly

connected, uses tunneling over non-multicast routers

Allows gradual deployment

Page 27: CSE679: Multicast and Multimedia

Conclusion

Multicast basics Motivation and Issues Addressing Routing

Hierarchical multicast QoS multicast