1 Netcomm 2005 Communication Networks Recitation 10.

Slides:



Advertisements
Similar presentations
Multicast on the Internet CSE April 2015.
Advertisements

CS640: Introduction to Computer Networks Aditya Akella Lecture 20 – QoS.
Traffic Characterization Specifies the traffic of a flow using parameters like bandwidth, delay, delay jitter requirements –for bursty traffic, bandwidth.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
UNCW UNCW SIGGRAPH 2002 Topic #3: Continuous Media in Wired and Wireless Environments Ronald J. Vetter Department of Computer Science University of North.
COS 420 Day 15. Agenda Assignment 3 Due Assignment 4 Posted Chap Due April 6 Individual Project Presentations Due IEPREP - Jeff MANETS - Donnie.
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:
Computer Networking Lecture 24 – Multicast.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
1 IP Multicasting. 2 IP Multicasting: Motivation Problem: Want to deliver a packet from a source to multiple receivers Applications: –Streaming of Continuous.
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
1 Comnet 2010 Communication Networks Recitation 13 Multicast Routing.
WDM Multicasting via Optical Burst / Label Switching By Krishna Kishore Konakanchi Fall /23/01.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
CS 268: Lecture 10 (Integrated Services) Ion Stoica March 4, 2002.
Multicast Security CS239 Advanced Network Security April 16 th, 2003 Yuken Goto.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
CSE679: Multicast and Multimedia r Basics r Addressing r Routing r Hierarchical multicast r QoS multicast.
Ch 7. Multimedia Networking Myungchul Kim
Multimedia Communications Student: Blidaru Catalina Elena.
Computer Networks 2 Lecture 1 Multicast.
Communications Recap Duncan Smeed. Introduction 1-2 Chapter 1: Introduction Our goal: get “feel” and terminology more depth, detail later in course.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Integrated Services Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot December 2010 December 2010.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
1 Integrated and Differentiated Services Multimedia Systems(Module 5 Lesson 4) Summary: r Intserv Architecture RSVP signaling protocol r Diffserv Architecture.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
CS 268: Integrated Services Lakshminarayanan Subramanian Feb 20, 2003.
CSC 336 Data Communications and Networking Lecture 8d: Congestion Control : RSVP Dr. Cheer-Sun Yang Spring 2001.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
1 Internet Quality of Service (QoS) By Behzad Akbari Spring 2011 These slides are based on the slides of J. Kurose (UMASS)
CS 5565 Network Architecture and Protocols Godmar Back Lecture 22.
Multimedia Over IP: RTP, RTCP, RTSP “Computer Science” Department of Informatics Athens University of Economics and Business Λουκάς Ελευθέριος.
IP Multicast A convention to identify a multicast address Each node must translate between an IP multicast address and a list of networks that contain.
Broadcast and Multicast. Overview Last time: routing protocols for the Internet  Hierarchical routing  RIP, OSPF, BGP This time: broadcast and multicast.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 21 – Case Studies for Multimedia Network Support (Layer 3) Klara Nahrstedt Spring 2009.
NUS.SOC.CS5248 Ooi Wei Tsang IP Multicast CS5248.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
IP Multicast COSC Addressing Class D address Ethernet broadcast address (all 1’s) IP multicast using –Link-layer (Ethernet) broadcast –Link-layer.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
CS 4396 Computer Networks Lab IP Multicast - Fundamentals.
Björn Landfeldt School of Information Technologies NETS 3303 Networked Systems Multicast.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
IP multicast Advisor: Prof. Wanjiun Liao Instructor: De-Nian Yang
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.
Ch 6. Multimedia Networking Myungchul Kim
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
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.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
Multicast Communications
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time, Interactive Multimedia: Internet.
2/25/20161 Multicast on the Internet CSE 6590 Fall 2009.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 12 - Multicast.
Integrated Services & RSVP Types of pplications Basic approach in IntServ Key components Service models.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
Communication Networks Recitation 11. Multicast & QoS Routing.
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 4 Distributed Multimedia Systems.
Multicast and Quality of Service Internet Technologies and Applications.
Multicast Outline Multicast Introduction and Motivation DVRMP.
CMPE 252A: Computer Networks
ECE544: Communication Networks-II Spring 2013
Chapter 5 The Network Layer.
Chapter 25 Multimedia TCP/IP Protocol Suite
CIS679: Two Planes and Int-Serv Model
IP Multicast COSC /5/2019.
Optional Read Slides: Network Multicast
Presentation transcript:

1 Netcomm 2005 Communication Networks Recitation 10

2 Netcomm 2005 Multimedia, QoS & Multicast Routing

3 Netcomm 2005 Quality of Service: What is it? Multimedia applications: network audio and video network provides application with level of performance needed for application to function. QoS

4 Netcomm 2005 Multimedia QoS Requirements live sources, stored sourceslive sources, stored sources requirements: deliver data in timely mannerrequirements: deliver data in timely manner –short end-end delay for interactive multimedia e.g., IP telephony, teleconf., virtual worlds, DISe.g., IP telephony, teleconf., virtual worlds, DIS –in time for “smooth” playout relaxed reliabilityrelaxed reliability –100% reliablity not always required

5 Netcomm 2005 Why is QoS so hard? need session’s input traffic must know app’s traffic demandmust know app’s traffic demand To provide performance (delay, loss) guarantees: compute session’s output scheduling disciplinescheduling discipline

6 Netcomm 2005

7 RTP - Real-time Transport Protocol Ip-based protocol providingIp-based protocol providing –time-reconstruction –loss detection –security –content identification Designed primarily for multicast of real- time dataDesigned primarily for multicast of real- time data

8 Netcomm 2005 General View and the result…and the result…

9 Netcomm 2005 RTCP – Real-time Control Protocol Designed to work together with RTPDesigned to work together with RTP In an RTP session the participants periodically send RTCP packet to give feedback on the quailty of the dataIn an RTP session the participants periodically send RTCP packet to give feedback on the quailty of the data Comparable to flow and congestion control of other transport protocolsComparable to flow and congestion control of other transport protocols RTP produces sender and receivers reports; statistics and packet countsRTP produces sender and receivers reports; statistics and packet counts

10 Netcomm 2005 RTSP – Real-time Streaming Protocol Client-server multimedia presentation protocol to enable controlled delivery.Client-server multimedia presentation protocol to enable controlled delivery. Provides ”vcr”-style remote controlProvides ”vcr”-style remote control RTSP is an application-level protocol designed to work with RTP (and RSVP) to provide a complete streaming service over internetRTSP is an application-level protocol designed to work with RTP (and RSVP) to provide a complete streaming service over internet

11 Netcomm 2005 RTSP Cont. Multimedia Data Ethernet header UDP header IP header RTP header RTSP header

12 Netcomm 2005 Example: Media on Demand client web server media servers HTTP GET presentation description (sdp) SETUP PLAY RTP audio/video RTCP TEARDOWN

13 Netcomm 2005 Intserv: QoS guarantees Resource reservationResource reservation –call setup, signaling (RSVP) –traffic, QoS declaration –admission control –QoS-sensitive scheduling (e.g., WFQ) request/ reply

14 Netcomm 2005 RSVP – Reservation Protocol Reservation is done in one directionReservation is done in one direction Receiver-initiatedReceiver-initiated The sender sends QoS wanted to the receiver which sends an RSVP message back to the senderThe sender sends QoS wanted to the receiver which sends an RSVP message back to the sender The sender does not need to know the capabilities along the path or at the receiverThe sender does not need to know the capabilities along the path or at the receiver

15 Netcomm 2005 Intserv QoS: Service Models Guaranteed service: worst case traffic arrival: leaky-bucket-policed sourceworst case traffic arrival: leaky-bucket-policed source simple bound on delaysimple bound on delay WFQ token rate, r bucket size, b per-flow rate, R D = b/R max Controlled load service: "a quality of service closely approximating the QoS that same flow would receive from an unloaded network element.""a quality of service closely approximating the QoS that same flow would receive from an unloaded network element." arriving traffic

16 Netcomm 2005 Differentiated Services edge routers: profile of allowable user trafficprofile of allowable user traffic packet marking:packet marking: in-profilein-profile out-of-profileout-of-profile “stateless” core routers: no notion of sessionsno notion of sessions forwarding: in-profile have “priority” over out-of-profileforwarding: in-profile have “priority” over out-of-profile

17 Netcomm 2005 Differentiated Services Cont. Complexity (per-flow state) at network edgeComplexity (per-flow state) at network edge –leaky bucket marking High-speed, stateless core routersHigh-speed, stateless core routers –1-bit determines forwarding behavior Over-provisioned bandwidth: for in-profile traffic used for out-profile, best effort trafficOver-provisioned bandwidth: for in-profile traffic used for out-profile, best effort traffic

18 Netcomm 2005 QoS Routing QoS Routing = Multiple parameter routing subject to constraintsQoS Routing = Multiple parameter routing subject to constraints –Link metrics are vectors –NP-complete (good heuristics needed) A B C DEF G H IJ K delay: 10 ms bandwidth :100 Mb/s cell loss ratio: 1.0e-6

19 Netcomm 2005 The Problem Traditional unicast model does not scale –Millions of clients –Server and network meltdown

20 Netcomm 2005 Solution: IP Multicast Source sends single streamSource sends single stream Routers split stream towards all clientsRouters split stream towards all clients Guarantee only one copy in each linkGuarantee only one copy in each link

21 Netcomm 2005 Multicast Routing Tree On tree relay router Router with directly attached group members IGMP Multicast Routing Protocol

22 Netcomm 2005 Internet Group Management Protocol (IGMP) Used by routers to learn about Multicast Group Memberships on their directly attached subnetsUsed by routers to learn about Multicast Group Memberships on their directly attached subnets Implemented over IPImplemented over IP Designated RouterDesignated Router –Each network has one Querier –All routers begin as Queriers –Mrouter with the lowest IP address chosen

23 Netcomm 2005 How IGMP Works one router is elected the “querier” querier periodically sends a Membership Query message to the all-systems group ( ), with TTL = 1 on receipt, hosts start random timers (between 0 and 10 seconds) for each multicast group to which they belong Qrouters: hosts:

24 Netcomm 2005 How IGMP Works (cont.) when a host’s timer for group G expires, it sends a Membership Report to group G, with TTL = 1 other members of G hear the report and stop their timers routers hear all reports, and time out non-responding groups Q GGGG

25 Netcomm 2005 Type of Service (TOS) Routing “ low delay ” “ high throughput ” Does not support real QoS

26 Netcomm 2005 Multicast Tree with QoS QoS constraintsQoS constraints –Link: minimum bandwidth; available buffer space. –Tree constraints: end-to-end delay; jitter. Optimization objectivesOptimization objectives –Link: maximize bandwidth. –Tree optimization: minimize the cost.

27 Netcomm 2005 Core-Based Trees (CBT) Core-based multicast routing:Core-based multicast routing: –One router is selected as the core for each multicast group. –A tree rooted at the core spans all group members. –Data packets are forwarded on all on-tree interfaces except the one on which packets arrive.

28 Netcomm 2005 CBT Multicast Routing Core On tree relay router On tree router Router with directly attached group member Sender

29 Netcomm 2005 Member Join in CBT Core Requesting router with a new member join-request join-ack

30 Netcomm 2005 QoS-Aware Member Join Core On tree relay router On tree group router join-request u v Eligibility Test Only after the join-request passes the eligibility tests will a join-acknowledgement be returned.

31 Netcomm 2005 Shortest Path Tree (SPT) Source Based Tree: Rooted at the source, composed of the shortest paths between the source and each of the receivers in the multicast group.Source Based Tree: Rooted at the source, composed of the shortest paths between the source and each of the receivers in the multicast group. If the routing metric used is the latency between neighbors, the resulted tree will minimize delay over the multicast group.If the routing metric used is the latency between neighbors, the resulted tree will minimize delay over the multicast group. Example: DVMRP.Example: DVMRP.

32 Netcomm 2005 Distance-Vector Multicast Routing Protocol (DMVRP) DVMRP consists of two major components: (1) a conventional distance-vector routing protocol (like RIP) (2) a protocol for determining how to forward multicast packets, based on the routing table and routing messages of (1)

33 Netcomm 2005 Example Topology gg s g

34 Netcomm 2005 Phase 1: Flooding gg s g

35 Netcomm 2005 Phase 2: Pruning gg s prune (s,g) g

36 Netcomm 2005 Steady State gg s g g

37 Netcomm 2005 graft (s,g) Joining on New Receivers gg s g g report (g)

38 Netcomm 2005 Steady State after Joining gg s g g

39 Netcomm 2005 Steiner Minimal Tree (SMT) Shared Tree: All sources use the same shared tree.Shared Tree: All sources use the same shared tree. SMT is defined to be the minimal cost subgraph (tree) spanning a given subset of nodes in a graphSMT is defined to be the minimal cost subgraph (tree) spanning a given subset of nodes in a graph Approximate SMT: KMBApproximate SMT: KMB

40 Netcomm 2005 An example of a Steiner Tree A B DG H I C F KJ E Mcast group members Relay Nodes *

41 Netcomm 2005 Step 1: Construct a complete directed distance graph G 1 =(V 1,E 1,c 1 ).Step 1: Construct a complete directed distance graph G 1 =(V 1,E 1,c 1 ). Step 2: Find the min spanning tree T 1 of G 1.Step 2: Find the min spanning tree T 1 of G 1. Step3: Construct a subgraph G S of G by replacing each edge in T 1 by its corresponding shortest path in G.Step3: Construct a subgraph G S of G by replacing each edge in T 1 by its corresponding shortest path in G. Step 4: Find the min spanning tree T S of G S.Step 4: Find the min spanning tree T S of G S. Step 5: Construct a Steiner tree T H from T S by deleting edges in T S if necessary, so that all the leaves in T H are Steiner points.Step 5: Construct a Steiner tree T H from T S by deleting edges in T S if necessary, so that all the leaves in T H are Steiner points. KMB Algorithm

42 Netcomm 2005 Due to [Kou, Markowsky and Berman 81’] Worst case time complexity O(|S||V| 2 ). Cost no more than 2(1 - 1/l) *optimal cost where l = number of leaves in the steiner tree. KMB Algorithm Cont.

43 Netcomm 2005 KMB Example A C D B A C D B A B CD EF G H I /2 2 1 B CD E F G H I A Destination Nodes Intermediate Nodes

44 Netcomm 2005 KMB Example Cont. B CD E F G H I /2 2 A B CD E F I A Destination Nodes Intermediate Nodes