Week 7: Traffic Models and QoS

Similar documents
Quality of Service (QoS)

Improving QOS in IP Networks. Principles for QOS Guarantees

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

of-service Support on the Internet

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

Mohammad Hossein Manshaei 1393

Real-Time Protocol (RTP)

Advanced Computer Networks

Internet Services & Protocols. Quality of Service Architecture

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

Lecture Outline. Bag of Tricks

Real-Time Control Protocol (RTCP)

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

Multimedia networking: outline

Multimedia networking: outline

Telematics 2 & Performance Evaluation

Common network/protocol functions

Network Layer Enhancements

Network Support for Multimedia

Lecture 24: Scheduling and QoS

Multimedia Networking

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

Part1: Lecture 4 QoS

Multicast and Quality of Service. Internet Technologies and Applications

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

Master Course Computer Networks IN2097

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

Master Course Computer Networks IN2097

Multimedia Networking

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

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

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

The Diffie-Hellman Key Exchange

Quality of Service II

CSE 123b Communications Software

QUALITY of SERVICE. Introduction

Lecture 13. Quality of Service II CM0256

Lecture 14: Performance Architecture

CSE 461 Quality of Service. David Wetherall

Quality of Service (QoS)

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

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

Multimedia Networking. Network Support for Multimedia Applications

ETSF10 Internet Protocols Transport Layer Protocols

Converged Networks. Objectives. References

Kommunikationssysteme [KS]

Internet Quality of Service: an Overview

Tema 0: Transmisión de Datos Multimedia

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

EPL606. Quality of Service and Traffic Classification

Quality of Service in the Internet

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

Quality of Service in the Internet

QOS IN PACKET NETWORKS

Lesson 14: QoS in IP Networks: IntServ and DiffServ

CSC 4900 Computer Networks: Multimedia Applications

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

Configuring QoS CHAPTER

H3C S9500 QoS Technology White Paper

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

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

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

Episode 5. Scheduling and Traffic Management

Multimedia Networking

EE 122: Differentiated Services

"Charting the Course... Implementing Cisco Quality of Service (QOS) Course Summary

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

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

Chapter 7 Multimedia Networking

IP QOS Theory and Practice. eng. Nikolay Milovanov CCIE SP# 20094

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

Unit 2 Packet Switching Networks - II

Configuring QoS. Understanding QoS CHAPTER

Lecture 5: Performance Analysis I

Towards Service Differentiation on the Internet

Packet Scheduling and QoS

Sections Describing Standard Software Features

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

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

Quality of Service (QoS)

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

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

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Congestion Control and Resource Allocation

Quality of Service (QoS)

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

ITBF WAN Quality of Service (QoS)

Multimedia Applications over Packet Networks

Priority Traffic CSCD 433/533. Advanced Networks Spring Lecture 21 Congestion Control and Queuing Strategies

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

TELE Switching Systems and Architecture. Assignment Week 10 Lecture Summary - Traffic Management (including scheduling)

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

Mohammad Hossein Manshaei 1393

Configuring QoS CHAPTER

Outline. QoS routing in ad-hoc networks. Real-time traffic support. Classification of QoS approaches. QoS design choices

Multimedia Networking and Quality of Service

Convergence of communication services

Transcription:

Week 7: Traffic Models and QoS Acknowledgement: Some slides are adapted from Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition, J.F Kurose and K.W. Ross All Rights Reserved, copyright 1996-2002 Network Performance, 2010s1 7-1

Outline What is QoS? What does Internet traffic look like? Is it Poisson? What are the implications for network performance? Approaches to providing QoS: Laissez faire approach No change to network; Application-level bag of tricks Structured approach Change network to provide some performance guarantees QoS mechanisms: Packet classification and marking Packet policing/shaping Packet scheduling Resource allocation IETF IntServ and DiffServ frameworks Network Performance, 2010s1 7-2

What is QoS? Applications: Existing: email, ftp, web; delay insensitive, loss sensitive Emerging: VoIP, multimedia; delay sensitive, loss insensitive Streaming stored/live audio and video Real-time interactive audio and video Integrated network to support existing and new apps Best-effort model adequate? QoS network provides application with level of performance needed for application to function. Network Performance, 2010s1 7-3

Internet Traffic: Need a model All performance techniques must make some assumptions regarding traffic Analytical models: arrival and service time distributions Simulation: traffic generators Experiments: traffic traces or real traffic Analysis of trace data A trace is captured from a live network Normally want to statistically characterize the trace to build a model, but may be able to use the trace directly How do we know our sample is typical or large enough? Network Performance, 2010s1 7-4

Markovian Models Poisson Process Appropriate if there is a large number of independent users and no source dominates? We know and love it! (good handle on M/M/1 queues) Variations: µ 01 rate λ 1 0 1 rate λ 2 µ 10 Markov Modulated Poisson Process (MMPP) A Poisson arrival process with time-varying arrival rate λ(t) Process modulating the Poisson arrivals has a Markov chain Markov Modulated Fluid Process (MMFP) Embedded Markov models, Regression models, Network Performance, 2010s1 7-5

Traffic Burstiness Variability in traffic rate / volume Why is burstiness important? Peak traffic demands on buffer resources can lead to overflow and lost traffic Peak demands may create quality of service (QoS) problems in a network Need to characterize burstiness for traffic sources in a QoS environment Can be characterized in many ways: Ratio of peak rate to mean rate Coefficient of variation of traffic load over different intervals Index of dispersion of intervals (IDI) Index of sipersion of counts (IDC) Spectral (frequency) characteristics Stochastic process entropy rate Network Performance, 2010s1 7-6

Traffic Modeling Pre-1990 s: Traffic modeling in the world of telephony was the basis for initial network models Assumed Poisson arrival process Assumed exponential call duration Well established queuing literature based on these assumptions Enabled very successful engineering of telephone networks In 1989, Leland and Wilson begin taking high resolution traffic traces at Bellcore Ethernet traffic from a large research lab 100 µsec time stamps Packet length, status, 60 bytes of data Mostly IP traffic (a little NFS) Four data sets over three year period Over 100 million packets in traces Traces considered representative of normal use Network Performance, 2010s1 7-7

Measured Traffic Network Performance, 2010s1 7-8

Poisson Traffic Network Performance, 2010s1 7-9

Generated vs. Measured Traffic Network Performance, 2010s1 7-10

Fractals: Scaling property A Poisson process When observed on a fine time scale will appear bursty When aggregated on a coarse time scale will flatten (smooth) to white noise A Self-Similar (fractal) process A phenomenon that is self-similar looks or behaves the same when viewed at different degrees of magnification or different scales on a dimension (time or space) When aggregated over wide range of time scales will maintain its bursty characteristic Hurst parameter H (0.5 H 1) measures degree of self-similarity Network Performance, 2010s1 7-11

Why Do We Care? If network traffic is self-similar, there is significant amount of clustering at all time scales Requires more buffering Leads to higher queueing delays Mean waiting time Queue occupancy Network Performance, 2010s1 7-12

IP QoS History Inception: ToS byte in IP header 1986: TCP developed Early-1990s: QoS mechanisms for routers: Packet scheduling Packet dropping Traffic conditioning Resource allocation Mid-1990s: IntServ framework firm guarantees ( contract ) Late-1990s: DiffServ framework Classes that receive differential service 2000s: MPLS and Traffic Engineering Network Performance, 2010s1 7-13

QoS in 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 Network Performance, 2010s1 7-14

Ad-hoc approach: Application-level solutions Example: Internet Phone UDP: avoid TCP congestion control (delays) for timesensitive traffic Delay compensation: adaptive play-out delay at client Loss compensation: FEC, interleaving, retransmissions Bandwidth estimation: server side matches stream bandwidth to available client-to-server path bandwidth chose among pre-encoded stream rates dynamic server encoding rate Network Performance, 2010s1 7-15

Structured approach: Principles 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 Principle 1 packet classification and marking needed for router to distinguish traffic Network Performance, 2010s1 7-16

Principles for QOS (contd.) what if applications misbehave (audio sends higher than declared rate) Policing/shaping: force source to adherence to bandwidth allocations Principle 2 provide protection (isolation) for one class from others Network Performance, 2010s1 7-17

Principles for QOS (contd.) Allocating fixed (non-sharable) bandwidth to flow: inefficient use of bandwidth if flows doesn t use its allocation Principle 3 While providing isolation, it is desirable to use resources as efficiently as possible Network Performance, 2010s1 7-18

Principles for QOS (contd.) Basic fact of life: can not support traffic demands beyond link capacity Principle 4 Resource allocation and Call Admission: network may block call (e.g., busy signal) if it cannot meet needs Network Performance, 2010s1 7-19

Summary of QoS Principles Let s next look at mechanisms for achieving this. Network Performance, 2010s1 7-20

Packet Classification and Marking Classification can be based on: 5-tuple: <src-ip, dst-ip, proto, src-port, dst-port> Ethernet MAC addresses Packet content: e.g. URL Marking done in IP ToS byte, now renamed the Diff-Serv Code Point (DSCP) byte Core routers can use marking, need not reclassify Network Performance, 2010s1 7-21

Policing and Shaping Goal: limit traffic to not exceed declared parameters Three common-used criteria: (Long term) Average Rate Peak Rate (Maximum) Burst Size Policing/Shaping Mechanism: Token Bucket: limit input to specified Burst Size and Average Rate. bucket can hold b tokens tokens generated at r token/sec unless bucket full over interval of length t: number of packets/bytes admitted no more than (r t + b). Network Performance, 2010s1 7-22

Packet Scheduling scheduling: choose next packet to send on link FIFO (first in first out) scheduling: send in order of arrival to queue example: supermarket check-out Network Performance, 2010s1 7-23

Scheduling Policies (contd.) 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.. example: airline check-in? Network Performance, 2010s1 7-24

Scheduling Policies (contd.) Weighted Fair Queuing: generalized Round Robin each class gets weighted amount of service in each cycle real-world example? Network Performance, 2010s1 7-25

Resource Reservation RSVP (ReSerVation Protocol) call setup, signaling traffic, QoS declaration per-element admission control QoS-sensitive scheduling (e.g., WFQ) request/ reply Network Performance, 2010s1 7-26

IETF Integrated Services (IntServ) Objective: QOS guarantees for individual application sessions resource reservation: routers maintain state info 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? Network Performance, 2010s1 7-27

IntServ Architecture Policing/shaping: token bucket Per-flow classification and queueing WFQ scheduling Resource reservation / call admission All the above combine to provide guaranteed upper bound on delay, i.e., QoS guarantee! arriving traffic token rate, r bucket size, b WFQ per-flow rate, R D = b/r max Network Performance, 2010s1 7-28

IETF Differentiated Services (DiffServ) Concerns with Intserv: Scalability: signaling, maintaining per-flow router state difficult with large number of flows Flexible Service Models: Intserv has only two classes. Also want qualitative service classes behaves like a wire relative service distinction: Platinum, Gold, Silver Diffserv approach: simple functions in network core, relatively complex functions at edge routers (or hosts) Do t define define service classes, provide functional components to build service classes Network Performance, 2010s1 7-29

Diffserv Architecture Edge router: - per-flow traffic management - marks packets as in-profile and out-profile b marking r scheduling... Core router: - per class traffic management - buffering and scheduling based on marking at edge - preference given to in-profile packets Network Performance, 2010s1 7-30

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? Network Performance, 2010s1 7-31