Quality of Service (QoS)

Similar documents
Mohammad Hossein Manshaei 1393

Improving QOS in IP Networks. Principles for QOS Guarantees

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

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

Real-Time Protocol (RTP)

Internet Services & Protocols. Quality of Service Architecture

of-service Support on the Internet

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

Common network/protocol functions

Week 7: Traffic Models and QoS

Real-Time Control Protocol (RTCP)

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

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

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

Telematics 2 & Performance Evaluation

Network Layer Enhancements

Multimedia networking: outline

EPL606. Quality of Service and Traffic Classification

Advanced Computer Networks

Multimedia networking: outline

QUALITY of SERVICE. Introduction

Quality of Service II

Network Support for Multimedia

Intserv: QoS guarantee scenario. IETF Integrated Services. Call Admission. Intserv QoS: Service models [rfc2211, rfc 2212] Arriving session must :

The Diffie-Hellman Key Exchange

Lecture 13. Quality of Service II CM0256

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.

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

Lecture Outline. Bag of Tricks

Quality of Service (QoS)

Multicast and Quality of Service. Internet Technologies and Applications

Chapter 7: Multimedia Networking

Quality of Service in the Internet

Quality of Service in the Internet

CSE 123b Communications Software

Chapter 4 Network Layer: The Data Plane

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

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

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

Quality of Service. Qos Mechanisms. EECS 122: Lecture 15

Today. March 7, 2006 EECS122 Lecture 15 (AKP) 4. D(t) Scheduling Discipline. March 7, 2006 EECS122 Lecture 15 (AKP) 5

Lesson 14: QoS in IP Networks: IntServ and DiffServ

Chapter 4. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, sl April 2009.

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

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

Multimedia Networking

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

Lecture 14: Performance Architecture

QoS Guarantees. Motivation. . link-level level scheduling. Certain applications require minimum level of network performance: Ch 6 in Ross/Kurose

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

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

Lecture 24: Scheduling and QoS

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

Principles for QOS Guarantees. Improving QOS in IP Networks

55:054 Communication Networks 12/11/2008

Multimedia Networking. Network Support for Multimedia Applications

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

Chapter 7 Multimedia Networking

Overview Computer Networking What is QoS? Queuing discipline and scheduling. Traffic Enforcement. Integrated services

Tema 0: Transmisión de Datos Multimedia

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

Quality of Service (QoS)

CSE 461 Quality of Service. David Wetherall

Topic 4a Router Operation and Scheduling. Ch4: Network Layer: The Data Plane. Computer Networking: A Top Down Approach

Integrated and Differentiated Services. Christos Papadopoulos. CSU CS557, Fall 2017

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

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

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

Quality of Service (QoS)

ETSF10 Internet Protocols Transport Layer Protocols

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: FIFO. Link Scheduling: Strict Priority

Kommunikationssysteme [KS]

Differentiated Services

VoIP Protocols and QoS

Towards Service Differentiation on the Internet

Multimedia Networking

Chapter 7 Multimedia Networking

Congestion Control and Resource Allocation

QOS IN PACKET NETWORKS

Multimedia Applications over Packet Networks

Unit 2 Packet Switching Networks - II

Chapter 7 Multimedia Networking

"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.

Multimedia Networking and Quality of Service

Internet QoS 1. Integrated Service 2. Differentiated Service 3. Linux Traffic Control

CS 268: Integrated Services

ITBF WAN Quality of Service (QoS)

Multimedia Networking

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

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

Chapter 3 Transport Layer

QoS for Real Time Applications over Next Generation Data Networks

Differentiated Services

Prof. Dr. Abdulmotaleb El Saddik. site.uottawa.ca mcrlab.uottawa.ca. Quality of Media vs. Quality of Service

Introduction to IP QoS

Transcription:

Quality of Service (QoS) A note on the use of these ppt slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you can add, modify, and delete slides (including this one) and slide content to suit your needs. They obviously represent a lot of work on our part. In return for use, we only ask the following: q If you use these slides (e.g., in a class) in substantially unaltered form, that you mention their source (after all, we d like people to use our book!) q If you post any slides in substantially unaltered form on a www site, that you note that they are adapted from (or perhaps identical to) our slides, and note our copyright of this material. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009. Thanks and enjoy! JFK / KWR All material copyright 1996-2009 J.F Kurose and K.W. Ross, All Rights Reserved 7: Multimedia Networking 7-1

MM Networking Applications Classes of MM applications: 1) stored streaming 2) live streaming 3) interactive, real-time Jitter is the variability of packet delays within the same packet stream Fundamental characteristics: typically delay sensitive end-to-end delay delay jitter loss tolerant: infrequent losses cause minor glitches antithesis of data, which are loss intolerant but delay tolerant. 7: Multimedia Networking 7-2

Multimedia Over Today s Internet TCP/UDP/IP: best-effort service no guarantees on delay, loss?????? But you said multimedia apps requires QoS and level of performance to be effective!????? Today s Internet multimedia applications use application-level techniques to mitigate (as best possible) effects of delay, loss 7: Multimedia Networking 7-3

How should the Internet evolve to better support multimedia? Integrated services philosophy: fundamental changes in Internet so that apps can reserve end-to-end bandwidth requires new, complex software in hosts & routers Laissez-faire no major changes more bandwidth when needed content distribution, application-layer multicast application layer Differentiated services philosophy: fewer changes to Internet infrastructure, yet provide 1st and 2nd class service What s your opinion? 7: Multimedia Networking 7-4

Providing Multiple Classes of Service thus far: making the best of best effort service one-size fits all service model alternative: multiple classes of service partition traffic into classes network treats different classes of traffic differently (analogy: VIP service vs regular service) granularity: differential service among multiple 0111 classes, not among individual connections history: ToS bits 7: Multimedia Networking 7-5

Multiple classes of service: scenario H1 R1 R2 H3 H2 R1 output interface queue 1.5 Mbps link H4 7: Multimedia Networking 7-6

Scenario 1: mixed FTP and audio Example: 1Mbps IP phone, FTP share 1.5 Mbps link. bursts of FTP can congest router, cause audio loss want to give priority to audio over FTP R1 R2 Principle 1 packet marking needed for router to distinguish between different classes; and new router policy to treat packets accordingly 7: Multimedia Networking 7-7

Principles for QOS Guarantees (more) what if applications misbehave (audio sends higher than declared rate) policing: force source adherence to bandwidth allocations marking and policing at network edge: 1 Mbps phone similar to ATM UNI (User Network Interface) R1 R2 1.5 Mbps link packet marking and policing Principle 2 provide protection (isolation) for one class from others 7: Multimedia Networking 7-8

Principles for QOS Guarantees (more) Allocating fixed (non-sharable) bandwidth to flow: inefficient use of bandwidth if flows doesn t use its allocation 1 Mbps phone R1 1 Mbps logical link R2 1.5 Mbps link 0.5 Mbps logical link Principle 3 While providing isolation, it is desirable to use resources as efficiently as possible 7: Multimedia Networking 7-9

Scheduling And Policing Mechanisms scheduling: choose next packet to send on link FIFO (first in first out) scheduling: send in order of arrival to queue real-world example? discard policy: if packet arrives to full queue: who to discard? Tail drop: drop arriving packet priority: drop/remove on priority basis random: drop/remove randomly 7: Multimedia Networking 7-10

Scheduling Policies: more Priority scheduling: transmit highest priority queued packet multiple classes, with different priorities class may depend on marking or other header info, e.g. IP source/dest, port numbers, etc.. Real world example? 7: Multimedia Networking 7-11

Scheduling Policies: still more round robin scheduling: multiple classes cyclically scan class queues, serving one from each class (if available) real world example? 7: Multimedia Networking 7-12

Scheduling Policies: still more Weighted Fair Queuing: generalized Round Robin each class gets weighted amount of service in each cycle real-world example? 7: Multimedia Networking 7-13

Policing Mechanisms Goal: limit traffic to not exceed declared parameters Three common-used criteria: (Long term) Average Rate: how many pkts can be sent per unit time (in the long run) crucial question: what is the interval length: 100 packets per sec or 6000 packets per min have same average! Peak Rate: e.g., 6000 pkts per min. (ppm) avg.; 1500 ppm peak rate (Max.) Burst Size: max. number of pkts sent consecutively (with no intervening idle) 7: Multimedia Networking 7-14

Policing Mechanisms Token Bucket: limit input to specified Burst Size and Average Rate. bucket can hold b tokens tokens generated at rate r token/sec unless bucket full over interval of length t: number of packets admitted less than or equal to (r t + b). 7: Multimedia Networking 7-15

Policing Mechanisms (more) token bucket, WFQ combine to provide guaranteed upper bound on delay, i.e., QoS guarantee! arriving traffic token rate, r bucket size, b WFQ D = b/r max per-flow rate, R 7: Multimedia Networking 7-16

IETF Differentiated Services want qualitative service classes behaves like a wire relative service distinction: Platinum, Gold, Silver scalability: simple functions in network core, relatively complex functions at edge routers (or hosts) signaling, maintaining per-flow router state difficult with large number of flows don t define define service classes, provide functional components to build service classes 7: Multimedia Networking 7-17

Diffserv Architecture Edge router: q per-flow traffic management Core router: q per class traffic management 7: Multimedia Networking 7-18

Diffserv Architecture Edge router: q per-flow traffic management q marks packets as in-profile and out-profile b r marking Core router: q per class traffic management 7: Multimedia Networking 7-19

Diffserv Architecture Edge router: q per-flow traffic management q marks packets as in-profile and out-profile scheduling. Core router: q per class traffic management q buffering and scheduling based on marking at edge q preference given to in-profile packets 7: Multimedia Networking 7-20

Edge-router Packet Marking profile: pre-negotiated rate A, bucket size B packet marking at edge based on per-flow profile Rate A B User packets Possible usage of marking: class-based marking: packets of different classes marked differently intra-class marking: conforming portion of flow marked differently than non-conforming one 7: Multimedia Networking 7-21

Classification and Conditioning Packet is marked in the Type of Service (TOS) in IPv4, and Traffic Class in IPv6 6 bits used for Differentiated Service Code Point (DSCP) and determine PHB that the packet will receive 2 bits are currently unused 7: Multimedia Networking 7-22

Classification and Conditioning may be desirable to limit traffic injection rate of some class: user declares traffic profile (e.g., rate, burst size) traffic metered, shaped if non-conforming 7: Multimedia Networking 7-23

Forwarding (PHB) PHB result in a different observable (measurable) forwarding performance behavior PHB does not specify what mechanisms to use to ensure required PHB performance behavior Examples: Class A gets x% of outgoing link bandwidth over time intervals of a specified length Class A packets leave first before packets from class B 7: Multimedia Networking 7-24

Forwarding (PHB) PHBs being developed: Expedited Forwarding: pkt departure rate of a class equals or exceeds specified rate logical link with a minimum guaranteed rate Assured Forwarding: 4 classes of traffic each guaranteed minimum amount of bandwidth each with three drop preference partitions 7: Multimedia Networking 7-25

Principles for QOS Guarantees (more) Basic fact of life: can not support traffic demands beyond link capacity 1 Mbps phone R1 R2 1 Mbps phone 1.5 Mbps link Principle 4 Call Admission: flow declares its needs, network may block call (e.g., busy signal) if it cannot meet needs 7: Multimedia Networking 7-26

QoS guarantee scenario Resource reservation call setup, signaling (RSVP) traffic, QoS declaration per-element admission control QoS-sensitive scheduling (e.g., WFQ) request/ reply 7: Multimedia Networking 7-27

IETF Integrated Services architecture for providing QOS guarantees in IP networks for individual application sessions resource reservation: routers maintain state info (a la VC) of allocated resources, QoS req s admit/deny new call setup requests: Question: can newly arriving flow be admitted with performance guarantees while not violated QoS guarantees made to already admitted flows? 7: Multimedia Networking 7-28

Call Admission Arriving session must : declare its QOS requirement R-spec: defines the QOS being requested characterize traffic it will send into network T-spec: defines traffic characteristics signaling protocol: needed to carry R-spec and T- spec to routers (where reservation is required) RSVP 7: Multimedia Networking 7-29

Intserv QoS: Service models [rfc2211, rfc 2212] Guaranteed service: worst case traffic arrival: leaky-bucket-policed source simple (mathematically provable) bound on delay [Parekh 1992, Cruz 1988] Controlled load service: "a quality of service closely approximating the QoS that same flow would receive from an unloaded network element." arriving traffic token rate, r bucket size, b WFQ per-flow rate, R D = b/r max 7: Multimedia Networking 7-30

Signaling in the Internet connectionless (stateless) forwarding by IP routers best effort service + = no network signaling protocols in initial IP design New requirement: reserve resources along end-to-end path (end system, routers) for QoS for multimedia applications RSVP: Resource Reservation Protocol [RFC 2205] allow users to communicate requirements to network in robust and efficient way. i.e., signaling! earlier Internet Signaling protocol: ST-II [RFC 1819] 7: Multimedia Networking 7-31

RSVP Design Goals 1. accommodate heterogeneous receivers (different bandwidth along paths) 2. accommodate different applications with different resource requirements 3. make multicast a first class service, with adaptation to multicast group membership 4. leverage existing multicast/unicast routing, with adaptation to changes in underlying unicast, multicast routes 5. control protocol overhead to grow (at worst) linear in # receivers 6. modular design for heterogeneous underlying technologies 7: Multimedia Networking 7-32

RSVP: does not specify how resources are to be reserved rather: a mechanism for communicating needs determine routes packets will take that s the job of routing protocols signaling decoupled from routing interact with forwarding of packets separation of control (signaling) and data (forwarding) planes 7: Multimedia Networking 7-33

RSVP: overview of operation senders, receiver join a multicast group done outside of RSVP senders need not join group sender-to-network signaling path message: make sender presence known to routers path teardown: delete sender s path state from routers receiver-to-network signaling reservation message: reserve resources from sender(s) to receiver reservation teardown: remove receiver reservations network-to-end-system signaling path error reservation error 7: Multimedia Networking 7-34