Network Layer4-1 Chapter 5 Multicast and P2P A note on the use of these ppt slides: All material copyright 1996-2007 J.F Kurose and K.W. Ross, All Rights.

Slides:



Advertisements
Similar presentations
A Construction of Locality-Aware Overlay Network: mOverlay and Its Performance Found in: IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 22, NO.
Advertisements

Computer Networking A Top-Down Approach Chapter 4.7.
Introduction 1 Lecture 22 Network Layer (Broadcast and Multicast) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Cooperative Overlay Networking for Streaming Media Content Feng Wang 1, Jiangchuan Liu 1, Kui Wu 2 1 School of Computing Science, Simon Fraser University.
Network Layer Routing Issues (I). Infrastructure vs. multi-hop Infrastructure networks: Infrastructure networks: ◦ One or several Access-Points (AP) connected.
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.
Opportunities and Challenges of Peer-to-Peer Internet Video Broadcast J. Liu, S. G. Rao, B. Li and H. Zhang Proc. of The IEEE, 2008 Presented by: Yan Ding.
Network Layer4-1 Spanning trees r Suppose you have a connected undirected graph m Connected: every node is reachable from every other node m Undirected:
School of Information Technologies Internet Multicasting NETS3303/3603 Week 10.
© nCode 2000 Title of Presentation goes here - go to Master Slide to edit - Slide 1 Reliable Communication for Highly Mobile Agents ECE 7995: Term Paper.
CoolStreaming/DONet: A Data- driven Overlay Network for Peer- to-Peer Live Media Streaming INFOCOM 2005 Xinyan Zhang, Jiangchuan Liu, Bo Li, and Tak- Shing.
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
Computer Networking Lecture 24 – Multicast.
1March -05 Jiangchuan Liu with Xinyan Zhang, Bo Li, and T.S.P.Yum Infocom 2005 CoolStreaming/DONet: A Data-Driven Overlay Network for Peer-to-Peer Live.
Network Layer4-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley,
1 IP Multicasting. 2 IP Multicasting: Motivation Problem: Want to deliver a packet from a source to multiple receivers Applications: –Streaming of Continuous.
Anonymous Gossip: Improving Multicast Reliability in Mobile Ad-Hoc Networks Ranveer Chandra (joint work with Venugopalan Ramasubramanian and Ken Birman)
6/28/2015Reza Rejaie INFOCOM 07 1 Nazanin Magharei, Reza Rejaie University of Oregon PRIME: P2P Receiver-drIven MEsh based.
1 CSE 401N:Computer Network LECTURE-14 MULTICAST ROUTING.
A Case for End System Multicast Author: Yang-hua Chu, Sanjay G. Rao, Srinivasan Seshan and Hui Zhang.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
CSE679: Multicast and Multimedia r Basics r Addressing r Routing r Hierarchical multicast r QoS multicast.
Slide courtesy: Dr. Sumi Helal & Dr. Choonhwa Lee at University of Florida, USA Prof. Darshan Purandare at University of Central Florida, USA Dr. Meng.
P2P File Sharing Systems
Communication (II) Chapter 4
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Layer4-1 R1 R2 R3R4 source duplication R1 R2 R3R4 in-network duplication duplicate creation/transmission duplicate Broadcast Routing r Deliver.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
ON DESIGING END-USER MULTICAST FOR MULTIPLE VIDEO SOURCES Y.Nakamura, H.Yamaguchi, A.Hiromori, K.Yasumoto †, T.Higashino and K.Taniguchi Osaka University.
Application-Layer Multicast -presented by William Wong.
Multicast Routing in Mobile Ad Hoc Networks (MANETs)
Multicasting. References r Note: Some slides come from the slides associated with this book: “Mastering Computer Networks: An Internet Lab Manual”, J.
CS 5565 Network Architecture and Protocols Godmar Back Lecture 22.
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
Higashino Lab. Maximizing User Gain in Multi-flow Multicast Streaming on Overlay Networks Y.Nakamura, H.Yamaguchi and T.Higashino Graduate School of Information.
Multicast Routing Algorithms n Multicast routing n Flooding and Spanning Tree n Forward Shortest Path algorithm n Reversed Path Forwarding (RPF) algorithms.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 37 – P2P Streaming and P2P Applications/PPLive Klara Nahrstedt Spring 2011.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks  4.3 What ’ s inside a router r 4.4 IP: Internet.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
TOMA: A Viable Solution for Large- Scale Multicast Service Support Li Lao, Jun-Hong Cui, and Mario Gerla UCLA and University of Connecticut Networking.
IPv6. r Initial motivation: 32-bit address space soon to be completely allocated. r Additional motivation: m header format helps speed processing/forwarding.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
PRIME: P2P Receiver-drIven MEsh based Streaming Nazanin Magharei, Reza Rejaie University of Oregon Presenter Jungsik Yoon.
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
Broadcast and multicast routing. R1 R2 R3R4 source duplication R1 R2 R3R4 in-network duplication duplicate creation/transmission duplicate Broadcast Routing.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 37 – P2P Applications/PPLive Klara Nahrstedt Spring 2009.
APPLICATION LAYER MULTICASTING
Network Layer4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 Routing Principles 4.3 Hierarchical Routing 4.4 The Internet (IP) Protocol.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 21: Multicast Routing Slides used with.
March 2001 CBCB The Holy Grail: Media on Demand over Multicast Doron Rajwan CTO Bandwiz.
Overlay Networks and Overlay Multicast May Definition  Network -defines addressing, routing, and service model for communication between hosts.
4: Network Layer4-1 Chapter 4: Network Layer Last time: r Internet routing protocols m RIP m OSPF m IGRP m BGP r Router architectures r IPv6 Today: r IPv6.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
CS 6401 Overlay Networks Outline Overlay networks overview Routing overlays Resilient Overlay Networks Content Distribution Networks.
Network Layer4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 Routing Principles 4.3 Hierarchical Routing 4.4 The Internet (IP) Protocol.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
22.1 Network Layer Delivery, Forwarding, and Routing.
Application Layer 2-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A.
PRESENTATION COMPUTER NETWORKS
EE 122: Lecture 22 (Overlay Networks)
IP Multicast COSC /5/2019.
Optional Read Slides: Network Multicast
Presentation transcript:

Network Layer4-1 Chapter 5 Multicast and P2P A note on the use of these ppt slides: All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.

Network Layer4-2 R1 R2 R3R4 source duplication R1 R2 R3R4 in-network duplication duplicate creation/transmission duplicate Broadcast Routing r Deliver packets from source to all other nodes r Source duplication is inefficient: r Source duplication: how does source determine recipient addresses?

Network Layer4-3 In-network Duplication r Flooding: when node receives brdcst pckt, sends copy to all neighbors m Problems: cycles & broadcast storm r Controlled flooding: node only brdcsts pkt if it hasn’t brdcst same packet before m Node keeps track of pckt ids already brdcsted m Or reverse path forwarding (RPF): only forward pckt if it arrived on shortest path between node and source r Spanning tree m No redundant packets received by any node

Network Layer4-4 A B G D E c F A B G D E c F (a) Broadcast initiated at A (b) Broadcast initiated at D Spanning Tree r First construct a spanning tree r Nodes forward copies only along spanning tree

Network Layer4-5 A B G D E c F (a)Stepwise construction of spanning tree A B G D E c F (b) Constructed spanning tree Spanning Tree: Creation r Center node r Each node sends unicast join message to center node m Message forwarded until it arrives at a node already belonging to spanning tree

Multicast Routing: Problem Statement r Goal: find a tree (or trees) connecting routers having local mcast group members m tree: not all paths between routers used m source-based: different tree from each sender to rcvrs m shared-tree: same tree used by all group members Shared tree Source-based trees

Approaches for Building Mcast Trees Approaches: r Source-based tree: one tree per source m Shortest path trees m Reverse path forwarding r Group-shared tree: group uses one tree m Minimal spanning (Steiner) m Center-based trees …You can read the details about the above approaches in the textbook ……

Network Layer4-8 IP Multicast – Related Works r Seminal work by S. Deering in 1989 r Huge amount of follow-on work m Research 1000s papers on multicast routing, reliable multicast, multicast congestion control, layered multicast m Standard: IPv4 and IPv6, DVMRP/CBT/PIM m Development: in both routers (Cisco etc.) and end systems (Microsoft, all versions of Unix) m Deployment: Mbone, major ISP’s

Network Layer4-9 IP Multicast – Problems r Problems m Scalability Large number of multicast groups m Requirement of dynamic spanning tree Practical problem under dynamic environment m System complexity Routers maintain state information of multicast groups – deviated from stateless router design Bring out higher level features, e.g. error, congestion control.. m Autonomous Difficult across different domain for consistent policies

Network Layer4-10 Content Distribution Networks (CDN) r Push content to servers at network edge close to users r Support on-demand traffic, but also support broadcast r Reduce backbone traffic r CDNs like Akamai places ten of thousands of severs Akamai Edge Server Source:

Network Layer4-11 CDN – Streams Distribution Content delivery network (CDN)... Splitter servers Media server Example AOL webcast of Live 8 concert (July 2, 2005) 1500 servers in 90 locations 50 Gbps 175,000 simultaneous viewers 8M unique viewers Slide by Bernd Girod

Network Layer4-12 The Scale Problem r The aggregate capacity m To reach 1M viewers with MPEG-5 (1.5 Mbps) TV quality video, it requires 1.5 Tbps aggregate capacity m CBS NCAA tournament (March 2006), video at 400 Kbps with 268,00 users, the aggregate capacity is 100 Gbps m Akamai, the largest CND service provider, reports at the peak 200 Gbps aggregate capacity r Implication m Self-scaling property

Network Layer4-13 Overlay Multicast – Basic r Application layer multicast or Overlay Multicast r Build multicast trees at the application end m A virtual topology over the unicast Internet m End systems communicate through an overlay structure r Existing multicast approaches m Swarming-based (tree-less or data-driven) m Tree-based (hierarchical-based) r Examples: m End system multicast (ESM) – Hui Zhang et al. m Yoid – Paul Francis et al. m…m…

Network Layer4-14 Overlay Multicast

Network Layer4-15 Overlay Multicast – Discussion r Major advantages m Efficient multicast service deployment without the need of infrastructure support m Feasibility of implementing multicast function at the end of system m Easy to apply additional features (metrics) r Issues m Limited topological information at end user side? m How to find/determine an ideal topology? m Lack of practical system and experiment?

Network Layer4-16 Ideal Overlay r Efficiency: m Routing (delay) in the constructed overlay network is close to the one in the underlying network m Efficient use of bandwidth Less duplicated packets on the same link Proper number of connections at each node m Support node locality in overlay construction r Scalability: m Overlay remains tractable with the increasing number of hosts and data traffic m Small overlay network maintenance cost m Overlay constructed in a distributed way and support node locality

Network Layer4-17 r Randomly- connected overlay Locality-aware and Randomly-connected Overlay AS-1 AS-2 r Locality-aware overlay AS-1 AS

Network Layer4-18 r Objective of mOverlay [1] m The ability to exploit local resources over remote ones when possible Locate nearby object without global communication Permit rapid object delivery m Eliminate unnecessary wide-area hops for inter- domain messages Eliminate traffic going through high latency, congested stub links Reduce wide-area bandwidth utilization Locality-aware Unstructured Overlay [1] X. Zhang, Q. Zhang, Z. Zhang, G. Song and W. Zhu, "A Construction of Locality-Aware Overlay Network: mOverlay and its performance", IEEE JSAC Special Issue on Recent Advances on Service Overlay Networks, Jan

Network Layer4-19 Key Concepts for mOverlay r Two-level hierarchical network m A group consists of a set of hosts close to each other For ANY position P in the underlying network, the distance between P and hosts within a group could be considered as equal m Neighbor groups in this overlay are the groups nearby in the underlying network m A desirable overlay structure is that most links are between hosts within a group and only a few links between two groups r Approximation m Use neighbors of a group as dynamic landmarks

Network Layer4-20 Locating Process (1) Return boot host B from Group 1 (2) Measurement and information exchange (3) (4) (5) (6) (7) r 4 phrases locating m Contact RP to fetch boot hosts m Measure the distance to boot host and its neighbor groups m Determine the closest group with group criterion checking m Terminate with group criterion or stop criterion meet

Network Layer4-21 Popular Deployed Systems r Live P2P streaming has become increasingly popular approach r Many real deployed systems. Just name a few … r Coolstreaming: Cooperative Overlay Streaming m First release: May 2004 Till Oct 2006  Download: > 1,000,000  Average online users: 20,000  Peak-time online user: 80,000  Google entries (CoolStreaming): 370,000 CoolStreaming is the base technology for Roxbeam Corp., which launched live IPTV programs jointly with Yahoo Japan in October 2006

Network Layer4-22 Popular Deployed Systems (Cont.) r PPlive: well-known IPTV system m 3.5 M subscribers in 2005 m 36.9 M subscribers in 2009 predicted m May 2006 –over 200 distinct online channels m Revenues could up to $10 B m Need to understand current system to design better future systems r More to come …

Network Layer4-23 Pull-based Streaming r Almost all real-deployed P2P streaming systems are based on pull-based protocol m Also called “data-driven”/“swarming” protocol r Basic idea m Live media content is divided into segments and every node periodically notifies its neighbors of what packets it has m Each node explicitly requests the segments of interest from its neighbors according to their notification m Very similar to that of BitTorrent r The well-acknowledged advantages m Robustness and simplicity

Network Layer4-24 Hybrid Pull-Push Protocol r Pull-based protocol has the tradeoff between control overhead and delay m To minimize the delay Node notifies its neighbors of packet arrival immediately Neighbors should also request the packet immediately Result in a remarkable control overhead m To diminish the overhead Node can wait until dozens of packets arrived before inform its neighbors Neighbors can also request a bunch of packets each time Leads to a considerable delay

Network Layer4-25 Push-Pull Streaming Mechanism r How to reduce the delay of pull mechanism while keeping the advantages of pull mechanism? m Use the pull mechanism as a startup to measure the partners’ ability to provide video packets m Use the push mechanism to reduce the delay m Partition the video stream according to the video packets received from the partners in last interval m Packets loss during push time interval will be recovered by pull mechanism

Network Layer4-26 GridMedia r Gridmedia is designed to support large-scale live video streaming over world-wide Internet r The first generation: Gridmedia I m Mesh-based multi-sender structure m Combined with IP multicast m First release: May 2004 r The second generation: Gridmedia II m Unstructured overlay m Push-pull streaming mechanism m First release: Jan. 2005

Network Layer4-27 Real Deployment  Gala Evening for Spring Festival 2005 and 2006 m Streaming server: double-core Xeon server m Video encoding rate = 300 kbps m Maximum connections from server 2005: : 800 m Partners number = about 10 m Buffer Deadline = 20s For the largest TV station in China (CCTV)

Network Layer4-28 Performance Analysis r Gala Evening for Spring Festival 2005 m More than 500,000 person times in total, maximum concurrent users 15,239 m Users from 66 countries, 78.0% from China m Enabled 76 times (15,239/200≈76) in terms of capacity amplification to bounded server outgoing bandwidth Others 22% China 78% Canada 20% USA 18% UK 15% Japan 13% Others 28% GM 6%

Network Layer4-29 Performance Analysis (Cont.) r Gala Evening for Spring Festival 2006 m More than 1,800,000 person times in total, maximum concurrent users 224,453 m Users from 69 countries, 79.2% from China m Enabled 280 times (224,453/800≈280) in terms of capacity amplification to bounded server outgoing bandwidth

Network Layer4-30 Deployment Experience Online Duration Connection Heterogeneity Request Characteristics r In 2005, about 60.8% users were behind different types of NATs while at least 16.0% users (in China) accessed Internet via DSL connections r In 2006, about 59.2% users were behind different types of NATs while at least 14.2% users (in China) accessed Internet via DSL connections An effective NAT traversal scheme should be carefully considered in the system design of P2P-based live streaming applications

Network Layer4-31 r In 2005, nearly 50% users spent less 3 minutes and about 18% users kept active for more than 30 minutes r In 2006, roughly 30% users in 2006 left the system in 3 minutes and more than 35% user would like to enjoy the show for more than 30 minutes r Peers with longer online duration are expected to have larger average remaining online time Deployment Experience Online Duration Connection Heterogeneity Request Characteristics Taking online duration information into consideration when designing overlay structure or selecting upstream peers can improve system performance

Network Layer4-32 Deployment Experience Online Duration Connection Heterogeneity Request Characteristics Request rate per 30 seconds from 23:00pm to 0:00am in 2005 and 2006 r The average request rate always kept at a record of hundreds in 2005 while thousands in 2006 r Occasionally the request rate rushed to a peak beyond 3,700 in 2005 while 32,000 in 2006 The high request rate and sporadic flush-crowd essentially pose great challenge on the reliability and stability of RP server and system

Network Layer4-33 Future Directions r Throughput improvement should not be the only key focus r Interesting future directions m Minimize ISP core network and cross-ISP traffic Use proxy cache and locality-aware technique to relieve the link stress m Server bandwidth reduction How to let home users broadcast video with high quality? m Real Internet environment Connections across the peer link bridge between ISPs have low rate NAT/firewall prevent end-host from connecting with each other