Multicast and Quality of Service. Internet Technologies and Applications

Similar documents
Basics (cont.) Characteristics of data communication technologies OSI-Model

Improving QOS in IP Networks. Principles for QOS Guarantees

Mohammad Hossein Manshaei 1393

Internet Services & Protocols. Quality of Service Architecture

Real-Time Protocol (RTP)

Advanced Computer Networks

Network Support for Multimedia

ETSF10 Internet Protocols Transport Layer Protocols

Quality of Service (QoS)

Quality of Service in the Internet

Multimedia Networking

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

Quality of Service in the Internet

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Leaky Bucket Algorithm

Quality of Service II

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach

Lecture Outline. Bag of Tricks

Real-Time Control Protocol (RTCP)

Lecture 13. Quality of Service II CM0256

Hands-On IP Multicasting for Multimedia Distribution Networks

Week 7: Traffic Models and QoS

of-service Support on the Internet

Lecture 24: Scheduling and QoS

Telecommunication Services Engineering Lab. Roch H. Glitho

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

Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

Quality of Service (QoS)

Lecture 14: Performance Architecture

Multimedia networking: outline

Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

Presentation Outline. Evolution of QoS Architectures. Quality of Service Monitoring and Delivery Part 01. ICT Technical Update Module

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

Index. 2G mobile networks G mobile networks GPP network, see LTE networks

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

Lesson 14: QoS in IP Networks: IntServ and DiffServ

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

CSCD 433/533 Advanced Networks Spring Lecture 22 Quality of Service

Quality of Service (QoS)

VoIP Protocols and QoS

Tutorial 9 : TCP and congestion control part I

Telematics 2. Chapter 3 Quality of Service in the Internet. (Acknowledgement: These slides have been compiled from Kurose & Ross, and other sources)

Part1: Lecture 4 QoS

CSE 461 Quality of Service. David Wetherall

Master Course Computer Networks IN2097

Contents. QoS overview 1

Modular Quality of Service Overview on Cisco IOS XR Software

QoS in IPv6. Madrid Global IPv6 Summit 2002 March Alberto López Toledo.

QUALITY of SERVICE. Introduction

QoS Services with Dynamic Packet State

Quality of Service (QoS) Computer network and QoS ATM. QoS parameters. QoS ATM QoS implementations Integrated Services Differentiated Services

Last time! Overview! 14/04/15. Part1: Lecture 4! QoS! Router architectures! How to improve TCP? SYN attacks SCTP. SIP and H.

CCVP QOS Quick Reference Sheets

Multimedia Networking. Network Support for Multimedia Applications

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

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Maintaining Cisco Service Provider Quality of Service

Master Course Computer Networks IN2097

Differentiated Services

Configuring priority marking 63 Priority marking overview 63 Configuring priority marking 63 Priority marking configuration example 64

Convergence of communication services

Overview. Lecture 22 Queue Management and Quality of Service (QoS) Queuing Disciplines. Typical Internet Queuing. FIFO + Drop tail Problems

EPL606. Quality of Service and Traffic Classification

Page 1. Quality of Service. CS 268: Lecture 13. QoS: DiffServ and IntServ. Three Relevant Factors. Providing Better Service.

RSVP Scalability Enhancements

Network Layer Enhancements

Converged Networks. Objectives. References

EE 122: Differentiated Services

Differentiated Services

The Diffie-Hellman Key Exchange

RSVP and the Integrated Services Architecture for the Internet

Real-Time Applications. Delay-adaptive: applications that can adjust their playback point (delay or advance over time).

Configuring QoS CHAPTER

H3C S9500 QoS Technology White Paper

Institute of Computer Technology - Vienna University of Technology. L73 - IP QoS Integrated Services Model. Integrated Services Model

4A0-107 Q&As. Alcatel-Lucent Quality of Service. Pass Alcatel-Lucent 4A0-107 Exam with 100% Guarantee

Network Layer Chapter 5

Multimedia Applications over Packet Networks

Design Intentions. IP QoS IntServ. Agenda. Design Intentions. L73 - IP QoS Integrated Services Model. L73 - IP QoS Integrated Services Model

Chapter 6: Congestion Control and Resource Allocation

Kommunikationssysteme [KS]

Introduction to IP QoS

PESIT Bangalore South Campus Hosur road, 1km before Electronic City, Bengaluru -100 Department of Computer Science & Engineering

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

CSE 123b Communications Software

"Filling up an old bath with holes in it, indeed. Who would be such a fool?" "A sum it is, girl," my father said. "A sum. A problem for the mind.

Internet Protocol, Version 6

Configuring global CAR 73 Overview 73 Configuring aggregate CAR 73 Configuration procedure 73 Configuration example 73

Problems with IntServ. EECS 122: Introduction to Computer Networks Differentiated Services (DiffServ) DiffServ (cont d)

Multimedia networking: outline

Multimedia Networking and Quality of Service

CSCI Spring Final Exam Solution

Unit 2 Packet Switching Networks - II

Quality of Service (QoS)

Congestion Control and Resource Allocation

Mul$media Networking. #10 QoS Semester Ganjil 2012 PTIIK Universitas Brawijaya

Telematics 2 & Performance Evaluation

Transcription:

Multicast and Quality of Service Internet Technologies and Applications

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) ITS 413 - Multicast and QoS 2

Addressing and Delivery Mechanisms

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 125.70.16.3 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 413 - Multicast and QoS 4

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 192.168.1.2/24 sends a datagram to the network broadcast address 192.168.1.255/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 413 - Multicast and QoS 5

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 225.70.8.20. When a host sends a datagram to 225.70.8.20, 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 413 - Multicast and QoS 6

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 ITS 413 - Multicast and QoS 7

Addressing and Delivery Mechanisms 8

IP Multicast

Multicast Example ITS 413 - Multicast and QoS 10

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 413 - Multicast and QoS 11

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 413 - Multicast and QoS 12

IP Multicast Addresses IP multicast addresses range from: 224.0.0.0 to 239.255.255.255 (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 413 - Multicast and QoS 13

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 413 - Multicast and QoS 14

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) ITS 413 - Multicast and QoS 15

Quality of Service (QoS)

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 413 - Multicast and QoS 17

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 413 - Multicast and QoS 18

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 413 - Multicast and QoS 19

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 413 - Multicast and QoS 20

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 413 - Multicast and QoS 21

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 413 - Multicast and QoS 22

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 413 - Multicast and QoS 23

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 413 - Multicast and QoS 24

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 413 - Multicast and QoS 25

Resource Reservation Example ITS 413 - Multicast and QoS 26

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 ITS 413 - Multicast and QoS 27