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



Similar documents
QoS Parameters. Quality of Service in the Internet. Traffic Shaping: Congestion Control. Keeping the QoS

Multimedia Requirements. Multimedia and Networks. Quality of Service

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

How To Provide Qos Based Routing In The Internet

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

Analysis of IP Network for different Quality of Service

Integrated Service (IntServ) versus Differentiated Service (Diffserv)

Internet Quality of Service

CS/ECE 438: Communication Networks. Internet QoS. Syed Faisal Hasan, PhD (Research Scholar Information Trust Institute) Visiting Lecturer ECE

Distributed Systems 3. Network Quality of Service (QoS)

18: Enhanced Quality of Service

A Review on Quality of Service Architectures for Internet Network Service Provider (INSP)

Improving QOS in IP Networks. Principles for QOS Guarantees. Principles for QOS Guarantees (more) Principles for QOS Guarantees (more)

Quality of Service (QoS)) in IP networks

QoS in IP networks. Computer Science Department University of Crete HY536 - Network Technology Lab II IETF Integrated Services (IntServ)

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

16/5-05 Datakommunikation - Jonny Pettersson, UmU 2. 16/5-05 Datakommunikation - Jonny Pettersson, UmU 4

Investigation and Comparison of MPLS QoS Solution and Differentiated Services QoS Solutions

4 Internet QoS Management

Protocols with QoS Support

02-QOS-ADVANCED-DIFFSRV

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

CS 268: Lecture 13. QoS: DiffServ and IntServ

Mixer/Translator VOIP/SIP. Translator. Mixer

Real-time apps and Quality of Service

6.6 Scheduling and Policing Mechanisms

MULTIMEDIA NETWORKING

Indepth Voice over IP and SIP Networking Course

Quality of Service. Translation of QoS Parameters. Quality of Service

Figure 1: Network Topology

Management of Telecommunication Networks. Prof. Dr. Aleksandar Tsenov

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

This topic lists the key mechanisms use to implement QoS in an IP network.

Improving Quality of Service

Network management and QoS provisioning - QoS in the Internet

Quality of Service for IP Videoconferencing Engineering White Paper

QoS Strategy in DiffServ aware MPLS environment

Per-Flow Queuing Allot's Approach to Bandwidth Management

Three Key Design Considerations of IP Video Surveillance Systems

IP-Telephony Quality of Service (QoS)

The network we see so far. Internet Best Effort Service. Is best-effort good enough? An Audio Example. Network Support for Playback

Sources: Chapter 6 from. Computer Networking: A Top-Down Approach Featuring the Internet, by Kurose and Ross

Announcements. Midterms. Mt #1 Tuesday March 6 Mt #2 Tuesday April 15 Final project design due April 11. Chapters 1 & 2 Chapter 5 (to 5.

Motivation. QoS Guarantees. Internet service classes. Certain applications require minimum level of network performance:

The Network Layer Functions: Congestion Control

5. DEPLOYMENT ISSUES Having described the fundamentals of VoIP and underlying IP infrastructure, let s address deployment issues.

Quality of Service Mechanisms and Challenges for IP Networks

Lecture 16: Quality of Service. CSE 123: Computer Networks Stefan Savage

Network Management Quality of Service I

Overview. QoS, Traffic Engineering and Control- Plane Signaling in the Internet. Telematics group University of Göttingen, Germany. Dr.

Technology Overview. Class of Service Overview. Published: Copyright 2014, Juniper Networks, Inc.

SPEAKEASY QUALITY OF SERVICE: VQ TECHNOLOGY

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT COMPUTER NETWORKS

Quality of Service versus Fairness. Inelastic Applications. QoS Analogy: Surface Mail. How to Provide QoS?

CS640: Introduction to Computer Networks. Why a New Service Model? Utility curve Elastic traffic. Aditya Akella. Lecture 20 QoS

Introduction to Differentiated Services (DiffServ) and HP-UX IPQoS

enetworks TM IP Quality of Service B.1 Overview of IP Prioritization

QoS : Computer Networking. Motivation. Overview. L-7 QoS. Internet currently provides one single class of best-effort service

Telecommunication Services Engineering (TSE) Lab. Chapter III 4G Long Term Evolution (LTE) and Evolved Packet Core (EPC)

"Charting the Course to Your Success!" QOS - Implementing Cisco Quality of Service 2.5 Course Summary

10CS64: COMPUTER NETWORKS - II

Project Report on Traffic Engineering and QoS with MPLS and its applications

Master Course Computer Networks IN2097

Quality of Service for VoIP

Quality of Service (QoS) EECS 122: Introduction to Computer Networks Resource Management and QoS. What s the Problem?

The Conversion Technology Experts. Quality of Service (QoS) in High-Priority Applications

Transport and Network Layer

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

Implementing Cisco Quality of Service QOS v2.5; 5 days, Instructor-led

EXPERIMENTAL STUDY FOR QUALITY OF SERVICE IN VOICE OVER IP

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

QUALITY OF SERVICE INTRODUCTION TO QUALITY OF SERVICE CONCEPTS AND PROTOCOLS

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

6.5 Quality of Service

King Fahd University of Petroleum & Minerals Computer Engineering g Dept

Highlighting a Direction

Performance Evaluation of Quality of Service Assurance in MPLS Networks

Introduction to IP v6

Multiprotocol Label Switching (MPLS)

QoS in VoIP. Rahul Singhai Parijat Garg

Differentiated Services

Chapter 9. IP Secure

ISTANBUL. 1.1 MPLS overview. Alcatel Certified Business Network Specialist Part 2

Voice Over IP - Is your Network Ready?

Advanced Internetworking

Congestion Control Overview

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Encapsulating Voice in IP Packets

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

MPLS Multiprotocol Label Switching

Course Description. Students Will Learn

VoIP network planning guide

How Routers Forward Packets

Review: Lecture 1 - Internet History

Quality of Service (QoS) on Netgear switches

WhitePaper: XipLink Real-Time Optimizations

Transcription:

Quality of Service in the Internet Problem today: IP is packet switched, therefore no guarantees on a transmission is given (throughput, transmission delay, ): the Internet transmits data Best Effort But: many applications need a certain Quality of Service (QoS) to achieve the results expected by the user: E-Mail Application File Transfer Web Access Remote Login Audio on Demand Video on Demand IP Telephony Video Conference Reliability Delay Jitter Throughput QoS Parameters Throughput (bytes/s) Which minimum/maximum/average data rate is necessary? Transmission delay (ms) Which maximum delay is tolerable? Jitter (ms) Which fluctuations in the transmission delay are tolerable? Availability (%) With which probability the communication service is available? Page Page Keeping the QoS Traffic Shaping: Leaky Bucket Algorithm Mechanism: regard a f of packets as stream, try to enforce quality requirements for the stream as a whole. Traffic Shaping, e.g. Leaky bucket and token bucket Over-provisioning: increased router capacities, buffers and line capacity Buffering: temporary store the data within the receiver. Thus the delay is increased, but the jitter is ered (audio/video on demand) Leaky bucket Inf (variable) Water drips in constant rate from the hole Host Packet Unregulated f Bucket stores packets Adapted f Packet Scheduling (e.g. Weighted Fair Queuing) Problem: Peak traffic is not considered. Data can be lost, even if sufficient capacity is available in the network. Network Page Page 4

Traffic Shaping: Token Bucket Algorithm Inside Routers: Packet Scheduling Determine the order, in which routers pass on arriving packets. Before Host After Host FIFO (First In, First Out) The packets will be transferred regarding their arrival; if the buffer is full, further packets are rejected. This is usual practice in routers. Per time unit a token fs into the bucket Bucket collects tokens Priority Queuing Basing on a characteristic (bit in the header, destination address, ) a priority is assigned to a packet. For each priority an own buffer exists. The est priority, non-empty queue is always processed first. Per token a packet is sent Network Network Page 5 Page 6 Packet Scheduling Weighted Fair Queuing Round Robin Scan all queues in turn and in each case send a packet from each non empty queue Traffic Shaping in a Router A router has several queues for an outgoing links. The queues are scanned cyclically for determining which one is aled to send. The scanning is made byte by byte of the queues; if a packet is completely scanned, it is sent. Weighted means that certain queues get larger portions of the scanning time than others. Weighted Fair Queuing Combine Round Robin with prioritizations of the individual queues Router with five packets for line O A 8 9 5 6 priority Sending time of the packets packet Sending time B 4 0 C 5 D 6 7 9 E 7 4 8 0 O B C A D E 6 9 0 priority Page 7 Page 8

Guaranteeing Delay: Resource Reservation RSVP Problem with all these techniques: packets can take different ways Necessary: establish a path through the network and reserve fixed amounts of network capacity, buffer capacity and CPU time with the routers. Standardized by the IETF as Resource Reservation Protocol, RSVP RSVP is not a routing protocol, but only an addition to such one. A description of the requirements of the receiver in form of a f specification (Level of the QoS) is needed. Categories of f specification are.) Best Effort: Take all free resources you can get.) Rate Sensitive: a guaranteed (minimal) data transmission rate is necessary.) Delay Sensitive: a guaranteed (maximal) delay is necessary RSVP can be used for Unicast and for Multicast Procedure of RSVP: The sender sends a RSVP Path Message to the receiver. Information about the routers on the network path are being collected and communicated to the receiver. (Additionally, also f specifications for the receiver are provided.) The receiver sends back RSVP Reservation Messages along the collected path, which contain its f specification. Every router on the path reserves resources accordingly. If a reservation is not possible with a router, an error message is sent back. As soon as the RSVP Reservation Message reaches the sender, the complete path is reserved, the sender begins to send its data. To delete outdated reservations, timeouts are defined. If the receiver does not refresh its reservation before expiration of the timer, it is deleted. Page 9 Page 0 RSVP with Multicast QoS in the Internet: Integrated Services 995-997 standardized by the IETF as an architecture for the transmission of multimedia streams Integrated Services (IntServ) uses RSVP for signaling of f specifications as well as reservations and provides QoS for each data f individually (a) A path from receiver to sender (b) A second path for sender, because both data streams are independent (c) For multicast, already existing reservations can be used Page Thus the principle adds a connection-orientation to IP Page

Integrated Services Classes of QoS: Guaranteed: Data rate, delay and reliability are guaranteed. Deviations do not occur, packets are not discarded. Suitable for intolerant real-time applications. Controlled Load: weak guarantees, small deviations are possible. Principle: for data streams of this class the network behaves as best effort for an unloaded network. No guarantees are given, suitable for tolerant real-time applications. Best Effort: as good as possible, normal Internet traffic. Problems: Scalability: for each data f a router has to maintain own f specifications How can authorization and priority be treated for a reservation request? The QoS classes are not sufficient to differentiate reasonably between different types of data streams. Possible: use IntServ only at the edge of large networks, where only few data fs are present Page IntServ Router Data RSVP signaling Routing Agent Packet Classifier Reservation Setup Agent (RSVP) Packet Scheduler Packet Classifier: classifies incoming packets regarding QoS class Packet Scheduler: sorts packets regarding basing on QoS class Reservation Setup Agent: configures Packet Classifier and Scheduler for new connections RSVP signaling Policy Control Admission Control Data Routing Agent: instructs classifier about routes for data streams Policy Control: checks the permission for resource reservations Admission Control: decides if a new reservation can be accepted based on resources already used Page 4 QoS in the Internet: Differentiated Services Application of DiffServ with IP Class-based approach (Differentiated Services, DiffServ): do without guarantees, only manage aggregated data streams Thus, the complexity in routers is shifted at the edge of the network, internal network routers can be kept simpler. Divide the network into domains. A domain is a part of the entire network, which supports DiffServ. It consists of access routers for the domain (Ingress routers, yel) and internal routers (core routers, blue). The domain defines service classes, each data f is assigned to such a class. With coming into the domain (at a Ingress Router), each packet is assigned a class, and in the network the forwarding bases on the class parameters (per-hop behavior). Looking only at the aggregated data fs, a better scalability as for IntServ is achieved. Page 5 Use of the Type of Service field in IPv4 for the classification (DSCP Differentiated Service Code Point). The DSCP value defines the per-hop behavior of the packet from one router to the next one. Version IHL Time to Live Identification Type of Service Protocol Source Address DM F F Destination Address Total Length Fragment Offset Header Checksum Precedence DSCP D T R The code point defines the transmission class, which informs a router, how it has to treat the packet in forwarding. free free Page 6

Service Classes DSCP free For DiffServ, amongst others the foling classes (for specifying transmission behavior) are defined at the moment: Default Forwarding realizes the usual Best Effort transmission Expedited Forwarding Idea with Expedited Forwarding: there are regular and expedited packets. Expedited packets are passed on in such a way, as if there would be no or only little further traffic. A minimum data transmission rate is guaranteed. Routers can manage two separated queues for these packet types (Weighted Fair Queuing). Possible: loss rate/delay/jitter as well as a guaranteed data transmission rate Expedited Forwarding tries to emulate a rented line Assured Forwarding uses priorities and discarding probabilities used when an overload of a router is given Page 7 Page 8 Assured Forwarding Assured Forwarding Improves differentiation: Definition of four priority classes with own resources (at the moment; there also is room for more classes) For each class, three probabilities for discarding a packet are defined:,, Thus: altogether different service classes Principle: The priority class determines the portion of the transmission capacity of the routers During load packets of er priority would be discarded completely Fairness: packets of each priority class should have chances to survive Therefore definition of the probabilities for each class: by suitable selection of the probabilities, a small part of the est priority level still is still forwarded, while packets of er priority classes are already discarded. p max p max p max 0 p min-d min-d max-d max-d min-d max-d Buffer level of a router Three probabilities of discarding as a function of the utilization extent of a router s Page 9 Page 0

Assured Forwarding Label Switching: MPLS While the IETF worked on IntServ and DiffServ, also routing manufacturers continued to think ahead: assign each packet with a label, on which basis the routing decisions are made (instead of the destination address, like for ATM). Result: MultiProtocol Label Switching, MPLS The label is not placed in the IP header it is sent before it:. Classification of the packets in service classes. Appropriate choice of DSCP tags 4. Weighted Fair Queuing in accordance to priority classes. Bring the data streams in a form according to their f specification. Exceeding the specifications leads to discarding data. If thereafter still too much data are present, discarding of packets in accordance with their probability Actual label Service class For use in hierarchical networks Page Page MPLS Routing in the Edge, Switching in the Core Principle: The first packet of a data stream determines the path. The routers stores the label information of the packet and sends all further packets with this label over the same link (logical channel). Thus a connection-orientation is achieved. Routers decide on the basis the label, on which outgoing link a packet is forwarded. At the same time, also a new label is set, which instructs the next router. A router again can manage different queues, the belonging of a packet is determined by the QoS field (service class as in DiffServ). At the end of the network the label can be removed and the IP address is used for path choice. Difference to connection-oriented networks: there is no connection establishment. In hierarchical networks a packet can have several stacked labels for the hierarchies. In this case the S-bit is set (S = stackable) Note: none of the approaches for QoS is commonly used in the Internet so far momentarily everything is still in the experimental stage Page. sending data IP-based routing The LANs need not to be modified, only enhancement of the routers inside the core network Path establishment using usual IP, similar to ATM LABEL SWITCHING At the edge networks: usual IP-based routing In the core network: enhanced Routers establish a path and use switching tables, not routing tables. label request (IP). label mapping (IP) IP IP L IP L IP MPLS-based path establishment and label switching IP-based routing Page 4

MPLS Label Distribution Label Switched Path (LSP) Intf Label Dest Intf Label Out Out 0.50 47. 0.40 Intf Label Dest Intf Out 0.40 47. Intf Label Dest Intf Label Out Out 0.50 47. 0.40 Intf Label Dest Intf Out 0.40 47. Request: 47. Intf Dest Intf Label In Out Out 47. 0.50 Mapping: 0.40 47. Request: 47. Mapping: 0.50 47. 47. Intf Dest Intf Label In Out Out 47. 0.50 47. IP 47... IP 47... 47. 47. Page 5 Page 6 Why MPLS? Conclusion IntServ cannot manage a large number of connections only useful at the network edge with a number of connections DiffServ is better for the core network, but only aggregates all Traffic to a few number of classes ATM is purely circuit switched and does not perform very well for data transmission IP is purely packet forwarding and not useful for multimedia data Thus: MPLS together with IP are kind of hybrid approach between packet forwarding and circuit switching: combine best of both worlds. TCP/IP reference model defines only one protocol for layer : IP Connectionless transmission, data packets are forwarded hop-by-hop Supported by routing protocols to determine the best way to a destination ICMP for exchange of control messages ARP for mapping of IP addresses to MAC addresses But: several problems with the current IPv4: address space, security, mobility, quality of service Large number of additional protocols to deal with these problems: network address translation, IPsec, Mobile IP, IntServ, DiffServ, MPLS, Successor IPv6 could deal with the problems, but will it ever come? Note: none of the approaches for QoS is commonly used in the Internet so far momentarily everything is still in the experimental stage Page 7 Page 8