EE122: Multicast. Internet Radio. Multicast Service Model 1. Motivation

Similar documents
EE122: Multicast. Kevin Lai October 7, 2002

Multicast EECS 122: Lecture 16

Announcements. EECS 122: Introduction to Computer Networks Multicast and Overlay Networks. Motivational Example: Streaming Media

Contents. Overview Multicast = Send to a group of hosts. Overview. Overview. Implementation Issues. Motivation: ISPs charge by bandwidth

Bandwidth measurement & Multicast

Bandwidth measurement & Multicast

CS4700/CS5700 Fundamentals of Computer Networks

CS 268: IP Multicast Routing

Networking Acronym Smorgasbord: , DVMRP, CBT, WFQ

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa

EECS 122: Introduction to Computer Networks Overlay Networks and P2P Networks. Overlay Networks: Motivations

CSE 123A Computer Networks

Overlay Networks: Motivations. EECS 122: Introduction to Computer Networks Overlay Networks and P2P Networks. Motivations (cont d) Goals.

Why multicast? The concept of multicast Multicast groups Multicast addressing Multicast routing protocols MBONE Multicast applications Conclusions

Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Distance Vector Link State. Shared tree.

Page 1. This Week. CS 269: Lecture 11 Multicast A Tale of Two Failures. Multicast and QoS: the lost decade. Irony. History. Lectures.

Goals. EECS 122: Introduction to Computer Networks Overlay Networks and P2P Networks. Solution. Overlay Networks: Motivations.

What is Multicasting? Multicasting Fundamentals. Unicast Transmission. Agenda. L70 - Multicasting Fundamentals. L70 - Multicasting Fundamentals

CS 356: Computer Network Architectures. Lecture 24: IP Multicast and QoS [PD] Chapter 4.2, 6.5. Xiaowei Yang

Multicast Communications. Tarik Čičić, 4. March. 2016

IP Multicast Technology Overview

EE 122: Network Applications

Lecture 6: Multicast

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Multicast Technology White Paper

Multicast Communications

Peer-to-Peer Streaming Systems. Behzad Akbari

21: IP Multicast. Classic example: British and Indian communities in the US want to watch cricket. Americans worldwide want to watch baseball.

Broadcast and Multicast Routing

CSCE 463/612 Networks and Distributed Processing Spring 2018

UDP, TCP, IP multicast

Lecture 6: Multicast

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

EE 122: Transport Protocols. Kevin Lai October 16, 2002

IP Multicast. What is multicast?

Hands-On IP Multicasting for Multimedia Distribution Networks

Broadcast Routing. Multicast. Flooding. In-network duplication. deliver packets from source to all other nodes source duplication is inefficient:

IP Multicast Technology Overview

CS 268: Wireless Transport Protocols. Kevin Lai Feb 13, 2002

4.2 Multicast IP supports multicast to support one-to-many (radio, news, IP multicast was originally a many-to-many (any source MC or

ESM Live Broadcast System. Hui Zhang Carnegie Mellon University

CS4700/CS5700 Fundamentals of Computer Networks

19: Networking. Networking Hardware. Mark Handley

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

Configuring Basic IP Multicast

What is the difference between unicast and multicast? (P# 114)

Fast, Efficient, and Robust Multicast in Wireless Mesh Networks

Overlay Multicast. Application Layer Multicast. Structured Overlays Unstructured Overlays. CAN Flooding Centralised. Scribe/SplitStream Distributed

Mobile Communications. Ad-hoc and Mesh Networks

Mobile Routing : Computer Networking. Overview. How to Handle Mobile Nodes? Mobile IP Ad-hoc network routing Assigned reading

! Naive n-way unicast does not scale. ! IP multicast to the rescue. ! Extends IP architecture for efficient multi-point delivery. !

Multicast. Midterm. EECS 122: Lecture 16. University of California Berkeley. Exam was not meant to be easy

Multicast and Quality of Service. Internet Technologies and Applications

IP Multicast Jean Yves Le Boudec 2017

MULTICAST AND IGMPv3. Announcements. Today s Lecture. Multicast (No Sharing) Unicast. I. HW5 will be online today CIDR, subnets, routing

IP Multicast Routing Technology Overview

Announcements. IP Forwarding & Transport Protocols. Goals of Today s Lecture. Are 32-bit Addresses Enough? Summary of IP Addressing.

Lecture 19: Multicast. CSE 123: Computer Networks Stefan Savage

IP Multicast. Overview. Casts. Tarik Čičić University of Oslo December 2001

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

CS244a: An Introduction to Computer Networks

DATA COMMUNICATOIN NETWORKING

Page 1. Goals for Today" Discussion" Example: Reliable File Transfer" CS162 Operating Systems and Systems Programming Lecture 11

Review. Some slides are in courtesy of J. Kurose and K. Ross

Internet is Based on Packet Switching. EECS 122: Introduction to Computer Networks Semester Wrap-Up. Design Principles. Recap: Course Goals

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

IP Multicast. Falko Dressler Regionales Rechenzentrum Grundzüge der Datenkommunikation IP Multicast

NET ID. CS519, Prelim (March 17, 2004) NAME: You have 50 minutes to complete the test. 1/17

Advanced Networking. Multicast

Bayeux: An Architecture for Scalable and Fault Tolerant Wide area Data Dissemination

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

Overlay Multicast/Broadcast

Recommended Readings

ASM. Engineering Workshops

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

CSCI Computer Networks

List of groups known at each router. Router gets those using IGMP. And where they are in use Where members are located. Enhancement to OSPF

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

Some portions courtesy Srini Seshan or David Wetherall

Network Layer II. Getting IP addresses. DHCP client-server scenario. DHCP client-server scenario. C compiler. You writing assignment 2

MAC LAYER. Murat Demirbas SUNY Buffalo

Edge Device Multi-unicasting for Video Streaming

Introducing Campus Networks

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day?

IPv6 and Multicast. Outline. IPv6 Multicast. S Computer Networks - Spring 2005

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

Principles behind data link layer services

EEC-484/584 Computer Networks. Lecture 16. Wenbing Zhao

Module 7 Implementing Multicast

IP Multicast: Does It Really Work? Wayne M. Pecena, CPBE, CBNE

Introduction to Communication Networks Spring Unit 13 Network extensions Bridges.

Principles behind data link layer services:

Principles behind data link layer services:

Example questions for the Final Exam, part A

1: Review Of Semester Provide an overview of encapsulation.

Different Layers Lecture 20

IP Multicast Routing Protocols

Exercises to Communication Systems

DD2490 p IP Multicast routing. Multicast routing. Olof Hagsand KTH CSC

ITEC310 Computer Networks II

Transcription:

Internet Radio EE122: Multicast Kevin Lai October 7, 2002 wwwdigitallyimportedcom (techno station) - sends out 128Kb/s MP music streams - peak usage ~9000 simultaneous streams only 5 unique streams (trance, hard trance, hard house, eurodance, classical) - consumes ~11Gb/s bandwidth costs are large fraction of their expenditures (maybe 50%?) - if 1000 people are getting their groove on in Berkeley, 1000 unicast streams are sent from NYC to Berkeley laik@csberkeleyedu 2 Multicast Service Model 1 Motivation S [R 0, data] [R 1, data] [R n-1, data] Unicast Net [R 0, data] [R 1, data] [R n-1, data] R 0 R 1 R n-1 R 1 joins G R 0 joins G R n-1 joins G receivers join a multicast group which is identified by a multicast address (eg G) sender(s) send data to address G network routes data to each of the receivers S [G, data] Multicast Net [G, data] [G, data] [G, data] R 0 R 1 R n-1 Conserve bandwidth - use same bandwidth/link to send to n receivers as 1 receiver internet radio example: reduce bandwidth consumed by 9000/5=1800 - deals with flash crowds - eg, video/audio conferencing, streaming, news dissemination, file updates Separate identifier from address (logical addressing) - receiver can change location-dependent addresses without notifying sender - sender doesn t need to know about receivers - eg, service location, mobility, anonymity, naming laik@csberkeleyedu laik@csberkeleyedu 4 1

Multicast Service Model 2 Multicast and Layering Membership access control - open group: anyone can join - closed group: restrictions on joining Sender access control - anyone can send to group - anyone in group can send to group - only one host can send to group Packet delivery is best effort Multicast can be implemented at different layers - data link layer eg Ethernet multicast - network layer eg IP multicast - application layer eg as an overlay network like Kazaa Which layer is best? laik@csberkeleyedu 5 laik@csberkeleyedu 6 Multicast Implementation Issues Ethernet Multicast How are multicast packets addressed? How is join implemented? How is send implemented? How much state is kept and who keeps it? Reserve some Ethernet MAC addresses for multicast join group G - network interface card (NIC) normally only listens for packets sent to unicast address A and broadcast address B - to join group G, NIC also listens for packets sent to multicast address G (NIC limits number of groups joined) - implemented in hardware, so efficient send to group G - packet is flooded on all LAN segments, like broadcast - can waste bandwidth, but LANs should not be very large only host NICs keep state about who has joined scalable to large number of receivers, groups laik@csberkeleyedu 7 laik@csberkeleyedu 8 2

Problems with Data Link Layer Multicast IP Multicast single data link technology single LAN - limited to small number of hosts - limited to low diameter latency - essentially all the limitations of LANs compared to internetworks broadcast doesn t cut it in larger networks Overcomes limitations of data link layer multicast Performs inter-network multicast routing - relies on data link layer multicast for intra-network routing Portion of IP address space defined as multicast addresses - 2 28 addresses for entire Internet Open group membership Anyone can send to group - flexible, but leads to problems laik@csberkeleyedu 9 laik@csberkeleyedu 10 IP Multicast Routing Distance Vector Multicast Intra-domain - Distance-vector multicast (DVM) - Link-state multicast (LSM) Inter-domain - Protocol Independent Multicast (PIM) - Single Source Multicast (SSM) Extension to DV unicast routing Routers compute shortest path to each host - necessary for unicast delivery No join required - every link receives a copy, even if no interested hosts Packet forwarding - iff incoming link is shortest path to source - out all links except incoming - Reverse Path Flooding (RPF) - packets always take shortest path assuming delay is symmetric - link may have duplicates s:2 s:1 ss s: s: s:2 rr laik@csberkeleyedu 11 laik@csberkeleyedu 12

Reverse Path Broadcasting (RPB) Truncated Reverse Path Broadcasting (TRPB) Extend DV to eliminate duplicate packets Combine DV and spanning tree Choose parent router for each link - router with shortest path to source - lowest address breaks ties - each router can compute independently from already known information - each router keeps a bitmap with one bit for each of its links Only parent forwards onto link s:2 s:1 ss s: C s: s:2 r r P Extend DV/RPB to eliminate unneeded forwarding Identify leaves - routers announce that a link is their next link to source S - parent router can determine that it is not a leaf Explicit group joining - members periodically (with random offset) multicast report locally - hear an report, then suppress own Packet forwarding - iff not a leaf router or have members - out all links except incoming r2 r2 NL L r1 r1 NL SS NL L laik@csberkeleyedu 1 laik@csberkeleyedu 14 Problems with IP Multicast Model Internet Radio using IP Multicast Model Few groups have many senders - difficult to construct optimal tree for many senders Hard to implement sender control any node can send to the group - open group membership Multicast address scarcity - 2 28 addresses may not be enough for entire Internet - how prevent collisions? One sender - does not use multiple sender capability of model Someone other than Digitally Imported can send to group - clog 9000 clients links with useless data (Denial-of- Service attack) How can Digitally Imported get and keep a multicast address? - central organization to manage addresses adds overhead laik@csberkeleyedu 15 laik@csberkeleyedu 16 4

Single Source Multicast (SSM) SSM Join Network layer multicast SSM service model - only one sender can send to a group - any number of receivers Addressing - SSM address = (S, G) S: IP address of source, G: 24- bit group address - each sender has its own G-space receiver sends join to source routers on the path read the join packet they note a receiver on the incoming link r2 r2 SS r1 r1 laik@csberkeleyedu 17 laik@csberkeleyedu 18 SSM Send SSM vs IP Multicast router checks that packet is coming from direction of S if so, forward it down links that have receivers S1 S1 SS Restricted to one sender per group - for multiple senders, make multiple groups Can prevent denial-of-service attacks on group Senders can independently allocate multicast addresses Much simpler than other network layer multicast routing schemes r2 r2 r r1 r1 laik@csberkeleyedu 19 laik@csberkeleyedu 20 5

Problems with Network Layer Multicast (NLM) NLM Reliability Scales poorly with number of groups - A router must maintain state for every group that traverses it - many groups traverse core routers Supporting higher level functionality is difficult - NLM: best-effort multi-point delivery service - Reliability and congestion control for NLM complicated Deployment is difficult and slow - ISP s reluctant to turn on NLM Massive reduction in bandwidth not necessary - Internet Radio is using 11Gb/s - network layer multicast would reduce to 5 x 128Kb/s Assume reliability through retransmission Sender can not keep state about each receiver - eg, what receivers have received - number of receivers unknown and possibly very large Sender can not retransmit every lost packet - even if only one receiver misses packet, sender must retransmit, lowering throughput N(ACK) implosion - described next laik@csberkeleyedu 21 laik@csberkeleyedu 22 (N)ACK Implosion NACK Implosion (Positive) acknowledgements - ack every n received packets - what happens for multicast? Negative acknowledgements - only ack when data is lost - assume packet 2 is lost S 2 1 R1 R2 R When a packet is lost all receivers in the sub-tree originated at the link where the packet is lost send NACKs S 2? 2? 2? R1 R2 R laik@csberkeleyedu 2 laik@csberkeleyedu 24 6

Application Layer Multicast Narada: End System Multicast Provide multicast functionality above the IP layer overlay/application layer/end system multicast sender sends out multiple copies of packet receivers forward them to other receivers challenge - minimize delay - minimize bandwidth consumed Narada [Yang-hua et al, 2000] - Small group sizes <= hundreds of nodes - Typical application: chat Peercast laik@csberkeleyedu 25 CMU Gatech CMU Gatech Stanford Stan1 Stan2 Berk1 Berkeley Berk2 Overlay Tree Stan1 Stan2 Berk1 laik@csberkeleyedu Berk2 26 Performance Concerns Performance Concerns Stretch - ratio of latency in the overlay to latency in the underlying network Stress - number of duplicate packets sent over the same physical link Duplicate Packets: Bandwidth Wastage CMU Gatech Delay from CMU to Berk1 increases CMU Gatech Stan1 Stan2 Berk1 Stanford Berk2 Stan1 Stan2 Berk1 laik@csberkeleyedu 27 Berkeley laik@csberkeleyedu 28 Berk2 7

Properties Summary easier to deploy than NLM - don t have to modify every router on path easier to implement reliability than NLM - use hop-by-hop retransmissions can consume more bandwidth than NLM can have higher latency than NLM not clear which scales better - neither has been used for a group with 1M receivers or 1M groups can use network layer multicast where available to optimize performance Large amount of work on multicast routing Major problems - preventing flooding - minimizing state in routers - denial-of-service attacks - deployment Multicast can be implemented at different layers - lower layers optimize performance - higher layers provide more functionality IP Multicast still not widely deployed - Ethernet multicast is deployed - application layer multicast systems just released laik@csberkeleyedu 29 laik@csberkeleyedu 0 8