Multicast and Quality of Service Internet Technologies and Applications.

Slides:



Advertisements
Similar presentations
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Advertisements

20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 - The Internet Protocol Version 4
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Copyright 2010 Cisco Press & Priscilla Oppenheimer.
Traffic Shaping Why traffic shaping? Isochronous shaping
Engineering Internet QoS
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
Courtesy: Nick McKeown, Stanford 1 Intro to Quality of Service Tahir Azim.
Real-Time Protocol (RTP) r Provides standard packet format for real-time application r Typically runs over UDP r Specifies header fields below r Payload.
CPSC Topics in Multimedia Networking A Mechanism for Equitable Bandwidth Allocation under QoS and Budget Constraints D. Sivakumar IBM Almaden Research.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
A Case for Relative Differentiated Services and the Proportional Differentiation Model Constantinos Dovrolis Parameswaran Ramanathan University of Wisconsin-Madison.
School of Information Technologies Internet Multicasting NETS3303/3603 Week 10.
QoS Protocols & Architectures by Harizakis Costas.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
Multicast Communication
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
Internet QoS Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE CS/ECE 438: Communication Networks.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
Design of QoS Router Terrance Lee. Broadband Internet Architecture Intelligent Access Electronic Switch (Intserv or Diffserv) Switching /Routing QoS Security.
24-1 Chapter 24. Congestion Control and Quality of Service part Quality of Service 23.6 Techniques to Improve QoS 23.7 Integrated Services 23.8.
Ch 7. Multimedia Networking Myungchul Kim
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 23 - Multimedia Network Protocols (Layer 3) Klara Nahrstedt Spring 2011.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
© 2006 Cisco Systems, Inc. All rights reserved. 3.3: Selecting an Appropriate QoS Policy Model.
Quality of Service (QoS)
QOS مظفر بگ محمدی دانشگاه ایلام. 2 Why a New Service Model? Best effort clearly insufficient –Some applications need more assurances from the network.
CSC 336 Data Communications and Networking Lecture 8d: Congestion Control : RSVP Dr. Cheer-Sun Yang Spring 2001.
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Oppenheimer.
1 Internet Quality of Service (QoS) By Behzad Akbari Spring 2011 These slides are based on the slides of J. Kurose (UMASS)
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Beyond Best-Effort Service Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot November 2010 November.
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
Multimedia Wireless Networks: Technologies, Standards, and QoS Chapter 3. QoS Mechanisms TTM8100 Slides edited by Steinar Andresen.
© Jörg Liebeherr, Quality-of-Service Architectures for the Internet Integrated Services (IntServ)
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
Björn Landfeldt School of Information Technologies NETS 3303 Networked Systems Multicast.
CS 4396 Computer Networks Lab
Bjorn Landfeldt, The University of Sydney 1 NETS3303 Networked Systems.
High-Speed Policy-Based Packet Forwarding Using Efficient Multi-dimensional Range Matching Lakshman and Stiliadis ACM SIGCOMM 98.
Mr. Mark Welton.  Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it  QoS allows.
Ch 6. Multimedia Networking Myungchul Kim
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.
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Providing QoS in IP Networks
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
Multimedia Communication Systems Techniques, Standards, and Networks Chapter 4 Distributed Multimedia Systems.
Chapter 30 Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Group Communications: Host Group and IGMP Dr. Rocky K. C. Chang 19 March, 2002.
1 CMPT 471 Networking II Multicasting © Janice Regan,
Instructor Materials Chapter 6: Quality of Service
QoS & Queuing Theory CS352.
Multicast Outline Multicast Introduction and Motivation DVRMP.
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Copyright 2010 Cisco Press & Priscilla Oppenheimer.
Congestion Control, Quality of Service, and Internetworking
Chapter 25 Multimedia TCP/IP Protocol Suite
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Quality of Service Connecting Networks.
What’s “Inside” a Router?
Chapter 16. Internetwork Operation
EE 122: Differentiated Services
CIS679: Two Planes and Int-Serv Model
Presentation transcript:

Multicast and Quality of Service Internet Technologies and Applications

ITS Multicast and QoS2 Aims and Contents Aims –Introduce the multicast and the benefits it offers –Explain quality of service and basic techniques for delivering QoS Contents –Addressing and Delivery Mechanisms –IP Multicast –QoS Service Differentiation (DiffServ) Guaranteed QoS (IntServ)

Addressing and Delivery Mechanisms

ITS Multicast and QoS4 Unicast One-to-one association between address and host The most common method of data delivery A host sends a packet to destination address X – the packet should be delivered to X (and only X will process the packet) –IP unicast: IP datagram sent to is delivered only to the host with that address –MAC unicast: frame sent to 00:17:31:5A:E5:89 is processed only by the host with that address A host that receives a packet to which it is not the unicast destination will discard that packet

ITS Multicast and QoS5 Broadcast One-to-many association between address and hosts Many = every host on the network Examples: –IP network broadcast address (all 1’s in host portion): a host with IP address /24 sends a datagram to the network broadcast address /24. All other hosts on the IP network will receive the datagram –MAC broadcast address (all 1’s): a host with MAC address 00:17:31:5A:E5:89 sends a frame to the broadcast address FF:FF:FF:FF:FF:FF. All other hosts on the network will receive the frame Applications: –Distributing control/management information, e.g. routing information, address requests Used by many routing protocols, DHCP, ARP, …

ITS Multicast and QoS6 Multicast One-to-many association between address and hosts Many = selected group of hosts A more general form of broadcast, where only a selected set of the hosts in the network receive the packet Requires management protocols for the hosts to “subscribe” or “join” the multicast destination group (much more complex than broadcast) Example: –IP multicast: a set of hosts on the Internet “subscribe” to the multicast group with address When a host sends a datagram to , the datagram is delivered to all hosts subscribed to that multicast group Applications: –Multimedia and collaborative applications that involve many users Audio/video/TV streaming, presentations, video/audio conferencing, shared document editing,..

ITS Multicast and QoS7 Anycast One-to-many association between address and hosts Many = any host in a group Similar to multicast, but a packet sent to an anycast address is delivered to only one (any one) of the subscribed hosts Applications: –Used in advanced DNS implementations: there are multiple, replicated copies of DNS servers in the world; a DNS query will be sent to an anycast address; anycast routing will deliver that query to one of the replicated DNS servers

8 Addressing and Delivery Mechanisms

IP Multicast

ITS Multicast and QoS10 Multicast Example

ITS Multicast and QoS11 Multicasting vs Multiple Unicasting Multicasting –A single packet is sent from source –Copies are made at multicast router where necessary Multiple Unicasting –Use unicast to “emulate” multicast –Source uses unicast to send a copy of the same packet to each destination –Doesn’t require routers/hosts to support multicast protocols –Very inefficient

ITS Multicast and QoS12 IP Multicast Components IP Multicast is an optional feature of IP hosts and routers –Most hosts and routers support multicast today, but many ISPs have not enabled multicast When a group of computers want to communicate, they use a single IP multicast address –32 bit IP addresses include a range for multicast addresses Routers must be notified as to which computers belong to which multicast group –Internet Group Management Protocol (IGMP) Routers must be able to delivery multicast datagrams in the correct direction –Forwarding principles are more complex than IP unicast forwarding –Multicast routing protocols such as DVMRP, PIM, MOSPF, PGM, …

ITS Multicast and QoS13 IP Multicast Addresses IP multicast addresses range from: – to (there are some special cases) A single IP multicast address identifies a destination group of computers –Multicast address can only be a destination; never a source

ITS Multicast and QoS14 IGMP Any host can send a datagram to an IP multicast address –(Although in practice, security policies at routers may prevent this) The hosts registered with that address will receive the datagram –Those hosts are in the same multicast group IGMP allows hosts to join and leave a group –When a host wants to join a group it sends a IGMP Join message to the group multicast address –Local multicast routers receive the request and propagate the information to other multicast routers in the Internet –Local multicast routers periodically send messages to group members to confirm if the hosts are still part of the group With multicast routers managing group membership, a source does not need to know all members of the group

ITS Multicast and QoS15 IP Multicast Forwarding and Routing When a host sends a datagram to a IP multicast address: –Sent to local multicast router E.g. using Ethernet multicast or broadcast –The local multicast router must forward to the appropriate next router(s) Multicast routing protocol is used by multicast routers to determine the next router(s) to reach all destination –Several routing protocols in use: DVMRP, PIM, MOSPF, PGM, … –Trees are used to define the least-cost path from a source to all destinations in a group –A multicast router may need to send a copy of a datagram to multiple next routers IP Multicast forwarding and routing is much harder than unicast IP –E.g. least-cost routes may change rapidly (as hosts join/leave groups) –E.g. multicast delivery is often unreliable (cannot send ACKs back)

Quality of Service (QoS)

ITS Multicast and QoS17 The Internet: Best Effort Service IP is connectionless protocol using packet switching –IP provides unreliable delivery –TCP adds reliability but still no guarantees on performance Some applications/users desire performance guarantees, e.g. –A user watching IPTV requires 6Mb/s sustained throughput –A VoIP call requires delay less than 100ms and jitter less than 5ms –A medical file transfer requires packet loss rate of less than 0.5% –A business requires 2Mb/s minimum and 3Mb/s average data rate How do we provide such guarantees in an IP network?

ITS Multicast and QoS18 Quality of Service (QoS) QoS refers to statistical performance guarantees that a network system can make: Packet loss, delay, jitter, throughput are common measures There are numerous QoS mechanisms available QoS is only an issue with network utilisation is high Hard QoS (or guaranteed QoS): –Absolute performance guarantees –A user requests 1Mb/s from a network operator, then they will be guaranteed 1Mb/s –Reserve resources for users; control the number of users/traffic entering a network Soft QoS (or service differentiation): –Relative performance guarantees –A user requests 1Mb/s from a network operator; they will be delivered 1Mb/s when possible, but not guaranteed –Provide priority to users/traffic No QoS: –All users/traffic treated the same; no guarantees or prioritisation

ITS Multicast and QoS19 Service Differentiation (Soft QoS) Give different priority to different types of traffic in the network May be applied at different levels of granularity: –Flow or Session level: My VoIP call gets higher priority than your FTP download –Class (or Aggregate of Flows) level: All VoIP calls get higher priority than all FTP downloads All voice traffic gets higher priority than non-voice traffic In the Internet, DiffServ is the name of an architecture that provides service differentiation –Applied on the Class level –E.g. ISP treats all packets marked as voice with certain priority

ITS Multicast and QoS20 Service Differentiation Example Simple network with two applications –Assume the LANs are 100Mb/s –The bottleneck link is router R1 to R2: 1.5Mb/s If sending rate of H1 and H2 exceeds 1.5Mb/s, then packet delay and packet loss will occur at R1

ITS Multicast and QoS21 Service Differentiation: Marking Two applications: –1Mb/s video application: requires low delay and packet loss –FTP file transfer: no strict time constraints How can we give priority to video application? –Queue at router R1 can treat video packets with priority Whenever a video packet arrives, it is sent, even if there are FTP packets waiting in the queue –Need Packet Marking: IP packets must be marked such that routers can recognise the class of service they should be allocated In IPv4, the ToS or DiffServ (DSCP) field in the header In the queue of R1, video packets are given higher priority than FTP packets

ITS Multicast and QoS22 Service Differentiation: Classification What if FTP application belongs to a “premium” user? –User paid ISP more money than the video user –Now may want to give priority to FTP packets Packet Classification –Classify packets based on some criteria Common criteria: –Class (e.g. Control, Video, Voice, Data, Background): DSCP in IP header –Source/Destination address (identify the user): IP addresses and port numbers –Packets are marked by a source host or some entry point into a network (e.g. ISP border router) –Routers determine the priority to give packets based on these markings Achieved using queuing schemes: FIFO, Priority Queues, Round Robin, Weighted Fair Queuing (WFQ), … –The priority is a policy decision, e.g. made by ISP

ITS Multicast and QoS23 Service Differentiation: Policing Assume the router knows it should give priority to the 1Mb/s video application What if the video application sends at a higher rate than agreed? –Error in the host, or malicious behaviour Traffic Metering and Policing is required –Routers measure the characteristics of arriving traffic Average rate, peak rate, burst size –If application traffic exceeds some agreed values, routers may drop or delay packets Achieved using Leaky Bucket

ITS Multicast and QoS24 Limitation of Service Differentiation Service differentiation on its own canNOT deliver guaranteed performance –Two 1Mb/s video applications –Both given equal (high) priority, but the full 1Mb/s cannot be delivered to either Packet delays and loss will occur at R1

ITS Multicast and QoS25 Guaranteed (Hard) QoS Resource Reservation: –Only way to guarantee that an application/user will have sufficient resources to reserve the resources (e.g. link bandwidth, queue space, processing time) Cannot over-reserve –An application needs to be able to state the required resources –Resource Reservation Protocol (RSVP) is standardised for the Internet Admission Control –When application requests resources, the network (routers) must make a decision to accept or reject Can only accept if sufficient resources to process the traffic In the Internet, IntServ is the name of the architecture that provides guaranteed QoS –Applied at the flow level –E.g. applications use RSVP to reserve resources along a path in the Internet

ITS Multicast and QoS26 Resource Reservation Example

ITS Multicast and QoS27 Soft vs Hard QoS Service Differentiation (including DiffServ) –Relative priorities given the class of traffic –Simpler to implement in large network Do not need complex signalling, routers only prioritise amongst classes of traffic (not amongst each individual application flow) –No guaranteed QoS Guaranteed (Hard) QoS (including IntServ) –Absolute performance guaranteed to application flows –Same principles of traditional telephone networks –Complex (RSVP, routers) and requires applications to state their resource requirements Today, neither approach is widely deployed across entire Internet –Some ISPs use these approaches within their networks –There are combinations and variations (MPLS, traffic engineering) –End users do not have access to QoS mechanisms yet