Quality of Service in the Internet

Similar documents
Quality of Service in the Internet

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

Real-Time Protocol (RTP)

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

Internet Services & Protocols. Quality of Service Architecture

Improving QOS in IP Networks. Principles for QOS Guarantees

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

Quality of Service (QoS)

Advanced Computer Networks

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

Quality of Service II

Lecture 13. Quality of Service II CM0256

Mohammad Hossein Manshaei 1393

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

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

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

Multicast and Quality of Service. Internet Technologies and Applications

Quality of Service (QoS)

Network Support for Multimedia

Lecture Outline. Bag of Tricks

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

Configuring QoS CHAPTER

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

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

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

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

II. Principles of Computer Communications Network and Transport Layer

CSE 123b Communications Software

ETSF10 Internet Protocols Transport Layer Protocols

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

Quality of Service (QoS)

QoS for Real Time Applications over Next Generation Data Networks

Lecture 14: Performance Architecture

of-service Support on the Internet

Configuring QoS. Finding Feature Information. Prerequisites for QoS

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

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

EE 122: Differentiated Services

Configuring QoS. Understanding QoS CHAPTER

Multimedia Networking

Differentiated Services

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

Configuring QoS CHAPTER

Part1: Lecture 4 QoS

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

QUALITY of SERVICE. Introduction

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

Before configuring standard QoS, you must have a thorough understanding of these items:

H3C S9500 QoS Technology White Paper

Configuring QoS CHAPTER

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

Common network/protocol functions

Computer Network Fundamentals Fall Week 12 QoS Andreas Terzis

Unit 2 Packet Switching Networks - II

Networking Quality of service

CS519: Computer Networks. Lecture 5, Part 5: Mar 31, 2004 Queuing and QoS

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Lecture 24: Scheduling and QoS

EEC-484/584 Computer Networks

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

CSE 461 Quality of Service. David Wetherall

Lesson 14: QoS in IP Networks: IntServ and DiffServ

Quality of Service (QoS)

Multimedia Applications over Packet Networks

Tutorial 9 : TCP and congestion control part I

Differentiated Services

Quality of Service Mechanism for MANET using Linux Semra Gulder, Mathieu Déziel

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

UNIT IV TRANSPORT LAYER

Real-Time Control Protocol (RTCP)

Multimedia Networking and Quality of Service

UNIT 2 TRANSPORT LAYER

EECS 122: Introduction to Computer Networks Resource Management and QoS. Quality of Service (QoS)

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

Outline EEC-682/782 Computer Networks I. Midterm 1 Statistics. Midterm 1 Statistics. High 99, Low 34, Average 66

CEN445 Network Protocols & Algorithms. Network Layer. Prepared by Dr. Mohammed Amer Arafah Summer 2008

Master Course Computer Networks IN2097

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

Master Course Computer Networks IN2097

QoS Technology White Paper

IP Network Emulation

Chapter 6. The Network Layer

Marking Traffic CHAPTER

Modular Quality of Service Overview on Cisco IOS XR Software

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

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

Configuring Quality of Service

Chapter 24 Congestion Control and Quality of Service 24.1

Multiplexing. Common network/protocol functions. Multiplexing: Sharing resource(s) among users of the resource.

Protocols. End-to-end connectivity (host-to-host) Process-to-Process connectivity Reliable communication

Sections Describing Standard Software Features

Internet Quality of Service: an Overview

Congestion Control and Resource Allocation

Computer Networking. Queue Management and Quality of Service (QOS)

Kommunikationssysteme [KS]

Chapter 24 Congestion Control and Quality of Service Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Sections Describing Standard Software Features

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: Application Reliability Delay Jitter Throughput E-Mail high File Transfer high medium Web Access high medium medium Remote Login high medium medium Audio on Demand high medium Video on Demand high high IP Telephony high high Video Conference high high high Page 1

QoS Parameters Important QoS-Aspects in Data Transmission: 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 2

Keeping the QoS Mechanism: regard a f of packets as stream, try to enforce quality requirements for the stream as a whole. 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) Traffic Shaping, e.g. Leaky Bucket and Token Bucket Packet Scheduling, e.g. Weighted Fair Queuing Page 3

Traffic Shaping: Congestion Control With excessive traffic, the performance of the network decreases rapidly Parameters for detecting overload: Delivered packets Maximum capacity of the network Perfect Desirable Overloaded Average length of the router queues Portion of the discarded packets in a router Number of packets in a router Number of packet retransmissions Average transmission delay from the sender to the receiver Standard deviation of the transmission delay Sent packets Solution: smoothing of the traffic amount, i.e. adjustment of the data rate Page 4

Traffic Shaping: Leaky Bucket Algorithm Inf (variable) Host Packet Leaky bucket Water drips in constant rate from the hole Unregulated f Bucket stores packets Adapted f Problem: Peak traffic is not considered. Data can be lost, even if sufficient capacity is available in the network. Network Page 5

Traffic Shaping: Token Bucket Algorithm Before Host After Host Per time unit a token fs into the bucket Bucket collects tokens Per token a packet is sent Network Network Page 6

Inside Routers: Packet Scheduling Determine the order, in which routers pass on arriving packets. 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. 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 highest priority, non-empty queue is always processed first. Page 7

Packet Scheduling Round Robin Scan all queues in turn and in each case send a packet from each non empty queue Weighted Fair Queuing Combine Round Robin with prioritizations of the individual queues Page 8

Weighted Fair Queuing 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. Router with five packets for line O high priority Sending time of the packets A 1 2 8 9 15 16 packet Sending time B 3 4 10 11 C 5 12 D 6 13 17 19 E 7 14 18 20 O B C A D E 11 12 16 19 20 priority Page 9

Guaranteeing Delay: Resource Reservation 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 1.) Best Effort: Take all free resources you can get 2.) Rate Sensitive: a guaranteed (minimal) data transmission rate is necessary 3.) Delay Sensitive: a guaranteed (maximal) delay is necessary RSVP can be used for Unicast and for Multicast Page 10

RSVP 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 11

QoS in the Internet: Integrated Services 1995-1997 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 Thus the principle adds a connection-orientation to IP Page 12

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 13

IntServ Router Lehrstuhl für Informatik 4 RSVP signaling Routing Agent Reservation Setup Agent (RSVP) RSVP signaling Policy Control Data Packet Classifier Admission Control Data 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 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 14

QoS in the Internet: Differentiated Services 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 15

Application of DiffServ with IP 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 Type of Service Total Length Time to Live Identification Protocol DM F F Fragment Offset Header Checksum Precedence D T R free Source Address Destination Address DSCP free The code point defines the transmission class, which informs a router, how it has to treat the packet in forwarding. Page 16

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 tries to emulate a rented line Assured Forwarding uses priorities and discarding probabilities used when an overload of a router is given Page 17

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 Page 18

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:, medium, high Thus: altogether 12 different service classes Principle: The priority class determines the portion of the transmission capacity of the routers During high 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 higher priority classes are already discarded. Page 19

Assured Forwarding p min-d 3 min-d 2 max-d 3 max-d 2 min-d 1 max-d 1 1 p max2 p max1 p max3 0 s Buffer level of a router Three probabilities of discarding as a function of the utilization extent of a router Page 20

Assured Forwarding 1. Classification of the packets in service classes 2. Appropriate choice of DSCP tags 4. Weighted Fair Queuing in accordance to priority classes 3. 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 Page 21

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: Actual label Service class For use in hierarchical networks Page 22

MPLS 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 23

Routing in the Edge, Switching in the Core 1. label request (IP) 2. label mapping (IP) 3. sending data IP IP L1 IP L2 IP IP-based routing MPLS-based path establishment and label switching 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 Page 24

Why MPLS? Lehrstuhl für Informatik 4 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. Note: none of the approaches for QoS is commonly used in the Internet so far momentarily everything is still in the experimental stage Page 25