Network Model for Delay-Sensitive Traffic

Similar documents
Scheduling. Scheduling algorithms. Scheduling. Output buffered architecture. QoS scheduling algorithms. QoS-capable router

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

IMPLEMENTATION OF CONGESTION CONTROL MECHANISMS USING OPNET

Unit 2 Packet Switching Networks - II

048866: Packet Switch Architectures

Implementation of Start-Time Fair Queuing Algorithm in OPNET

Quality of Service (QoS)

Network Layer Enhancements

Real-Time Protocol (RTP)

Improving QOS in IP Networks. Principles for QOS Guarantees

Episode 5. Scheduling and Traffic Management

CSE398: Network Systems Design

EP2210 Scheduling. Lecture material:

Delay Analysis of Fair Queueing Algorithms with the. Stochastic Comparison Approach. Nihal Pekergin

Lecture 17 Multimedia Transport Subsystem (Part 3)

Quality of Service Principles

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

Lecture Outline. Bag of Tricks

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

RSVP 1. Resource Control and Reservation

Resource Control and Reservation

Network Support for Multimedia

Lecture 24: Scheduling and QoS

of-service Support on the Internet

What Is Congestion? Computer Networks. Ideal Network Utilization. Interaction of Queues

A New Fair Weighted Fair Queuing Scheduling Algorithm in Differentiated Services Network

T-Spec Examples for Audio-Video Bridging. Osama Aboul-Magd

Wireless Networks (CSC-7602) Lecture 8 (15 Oct. 2007)

Advanced Computer Networks

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

Congestion in Data Networks. Congestion in Data Networks

Differentiated Service Queuing Disciplines in NS-3

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

Lecture 5: Performance Analysis I

Congestion Control Open Loop

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

Simulation of a Scheduling Algorithm Based on LFVC (Leap Forward Virtual Clock) Algorithm

Traffic Access Control. Hamid R. Rabiee Mostafa Salehi, Fatemeh Dabiran, Hoda Ayatollahi Spring 2011

different problems from other networks ITU-T specified restricted initial set Limited number of overhead bits ATM forum Traffic Management

Approximate Fair Queueing: A Low Complexity Packet Scheduler for Embedded Networks

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Episode 5. Scheduling and Traffic Management

1188 IEEE/ACM TRANSACTIONS ON NETWORKING, VOL. 13, NO. 5, OCTOBER Wei Sun, Student Member, IEEE, and Kang G. Shin, Fellow, IEEE

A Method for Traffic Scheduling Based on Token Bucket QoS Parameters

Quality of Service (QoS)

Core-Stateless Guaranteed Rate Scheduling Algorithms

Performance Evaluation of Scheduling Mechanisms for Broadband Networks

Lecture 4 Wide Area Networks - Congestion in Data Networks

Resource allocation in networks. Resource Allocation in Networks. Resource allocation

Packet Scheduling and QoS

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

Introduction to IP QoS

Scheduling (Chapter 9) Outline

VoIP Protocols and QoS

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

Design of a Weighted Fair Queueing Cell Scheduler for ATM Networks

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

Common network/protocol functions

CS551 Router Queue Management

Episode 5. Scheduling and Traffic Management

ATM Quality of Service (QoS)

What Is Congestion? Effects of Congestion. Interaction of Queues. Chapter 12 Congestion in Data Networks. Effect of Congestion Control

Kent State University

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

Application of Network Calculus to the TSN Problem Space

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

High Speed, Scalable, and Accurate Implementation of Packet Fair Queueing Algorithms in ATM Networks

Providing Quality of Service in Packet Switched Networks

MQC Hierarchical Queuing with 3 Level Scheduler

From ATM to IP and back again: the label switched path to the converged Internet, or another blind alley?

Router Design: Table Lookups and Packet Scheduling EECS 122: Lecture 13

Mohammad Hossein Manshaei 1393

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

Credit-Based Fair Queueing (CBFQ) K. T. Chan, B. Bensaou and D.H.K. Tsang. Department of Electrical & Electronic Engineering

Pipelined Sections: A New Buffer Management Discipline for Scalable QoS Provision

MODELLING & SIMULATION OF QUEUING DISCIPLINES OVER THE N/W CARRIED APPLICATIONS (FTP, VIDEO AND VOIP) FOR TRAFFIC DROPPED & TIME DELAY

Queuing. Congestion Control and Resource Allocation. Resource Allocation Evaluation Criteria. Resource allocation Drop disciplines Queuing disciplines

Communication Networks

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

Project Computer Networking. Resource Management Approaches. Start EARLY Tomorrow s recitation. Lecture 20 Queue Management and QoS

Lesson 14: QoS in IP Networks: IntServ and DiffServ

Simulation-Based Performance Comparison of Queueing Disciplines for Differentiated Services Using OPNET

Frame Relay. Frame Relay: characteristics

Communication using Multiple Wireless Interfaces

Multimedia Applications over Packet Networks

TRANSPORTING MPEG-II VIDEO STREAMS ON ATM NETWORKS WITH A MODIFIED J-EDD SCHEME

QoS provisioning. Lectured by Alexander Pyattaev. Department of Communications Engineering Tampere University of Technology

Buffered Crossbar based Parallel Packet Switch

Stop-and-Go Service Using Hierarchical Round Robin

Queueing Delays in Rate Controlled ATM Networks

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

An Efficient Implementation of Burst Fair Queuing for ATM Networking

Performance Analysis & QoS Guarantee in ATM Networks

NOTE03L07: INTRODUCTION TO MULTIMEDIA COMMUNICATION

Sharing Bandwidth Fairly During Congestion

Core-Stateless Guaranteed Rate Scheduling Algorithms

Core-Stateless Fair Queueing: Achieving Approximately Fair Bandwidth Allocations in High Speed Networks. Congestion Control in Today s Internet

Multimedia Networking and Quality of Service

SIMULATION OF PACKET DATA NETWORKS USING OPNET

Transcription:

Traffic Scheduling

Network Model for Delay-Sensitive Traffic Source Switch Switch Destination Flow Shaper Policer (optional) Scheduler + optional shaper Policer (optional) Scheduler + optional shaper cfla. Varma 4 1

Traffic Shaping Goal: Smooth out bursty traffic to prevent buffer overflows in the network. Also enables network to provide end-to-end delay guarantees Several approaches Leaky bucket Token bucket Token bucket with spacer (dual leaky bucket) cfla. Varma 4 2

Simple Leaky Bucket Rate Control cells Leaky bucket capacity σ cells transmitted at rate ρ Enforces minimum spacing between cells Algorithm: Arriving cells queued in leaky bucket Cells transmitted from bucket at rate ρ. Arriving cell discarded when bucket full. Used to shape CBR traffic Easy to police: Need to verify only spacing between cells cfla. Varma 4 3

Token Bucket Rate Control rate ρ Token bucket capacity σ cells get token Peak rate of traffic C Tokens generated at fixed rate ρ and placed into token bucket of capacity ff. When bucket full, new tokens are discarded. Cell must obtain token from token bucket before transmission. Limits number of bits transmitted in T interval (ff + T to ρ). cfla. Varma 4 4

Token Bucket with Spacer rate ρ Token bucket capacity σ cells get token Leaky bucket capacity c cells transmitted at rate q Combination of leaky bucket and token bucket Limits the instantaneous transmission rate to service rate from leaky bucket. Used to shape VBR traffic cfla. Varma 4 5

Generic Cell-Rate Algorithm (GCRA) Algorithm defined by ATM Form Traffic Management Spec for policing CBR and VBR traffic Arrival of cell k from connection at time t(k) TAT = Theoretical Arrival Time L = Limit I = Increment TAT < t(k)? Y N TAT = t(k) Non conforming cell Y TAT > t(k) + L? N TAT = TAT + I Conforming cell cfla. Varma 4 6

Traffic Scheduling 1 2 n Problem: Schedule transmission of packets on an outgoing link to meet QoS guarantees. Packets may be fixed or variable length Difficulties: Multiple constraints (delay, bandwidth, jitter, loss rate) Complexity of implementation cfla. Varma 4 7

Applications of Scheduling Algorithms Useful in many environments: Providing isolation to traffic requiring guarantees (example: Real-time video session requiring delay guarantee) Distributing available bandwidth to sessions fairly Implementing hierarchical link sharing 0.8 0.2 cfla. Varma 4 8

Desirable Attributes of a Scheduling Algorithm Low deterministic delay bound Affects output burstiness and buffer requirements Isolation from behavior of other sessions Delay bound independent of number of sessions Ability to efficiently control delay bound Fairness Distribution of free bandwidth Worst-case fairness Accuracy of algorithm in small timescales Complexity of implementation cfla. Varma 4 9

Classification of Traffic Schedulers Based on scheduling discipline: Work-conserving: Server never remains idle when a packet is in system. Non-work-conserving: Packets may wait even if server is idle. Based on implementation: Sorted priority: Timestamp associated with each packet. ffi Packets transmitted in the order of their time-stamps. ffi Frame based: Time split into frames. ffi Upper bound on number of packets from each connection ffi serviced during frame period. cfla. Varma 4 10

Scheduler Classification (continued) Based on type of guarantee 1. Algorithms based on rate guarantee Guarantees minimum service rate to a session Explicit bandwidth ) guarantee implicit delay guarantee Delay a function of allocated rate 2. Algorithms based on guaranteed rate and delay Allows different maximum delays to be guaranteed for the same rate Low-bandwidth sessions can still obtain low delays cfla. Varma 4 11

Some Proposed Scheduling Schemes Frame-based schedulers Round-robin (Weighted round-robin, deficit round-robin, hierarchical round-robin, etc.) Stop-and-Go queueing Sorted-priority (timestamp-based) schedulers Generalized Processor Sharing (GPS) Fair queueing and weighted fair queueing VirtualClock Self-clocked fair queueing Frame-based Fair Queueing Many other fair queueing algorithms cfla. Varma 4 12

Weighted Round-Robin Scheduler VC 0 50 Weighted Round Robin Scheduler Virtual Channels VC 1 1 Packet Transmission VC 50 1 Optimal when the sessions are allocated equal rates, but Limited flexibility in allocating bandwidth Worst-case delay proportional to size of round cfla. Varma 4 13

An Example Sorted-Priority Scheduler Timestamp calculated as departure time of last bit of packet in fluid model. Timestamp of current packet of i session = Timestamp of previous packet of i session Length of current packet Allocated rate of i session + Packet transmissions in order of timestamp values Session 1 50 TS=8 TS=6 TS=4 TS=2 Session 2 25 TS=12 TS=8 TS=4 Session 3 25 TS=12 TS=8 TS=4 Key property: Packet with timestamp = t would have departed by time t (assuming all sessions remain backlogged). cfla. Varma 4 14

An Example Sorted-Priority Scheduler (continued) Session 1 Session 2 Outgoing traffic 0 1000 Time 2000 Problem: Sessions using left-over bandwidth will be punished ) later Poor fairness Timestamp calculations must take into account global state for sessions to use excess bandwidth without future starvation. cfla. Varma 4 15

Generalized Processor Sharing (GPS) Flow 1 Flow 2 Output link Flow 3 Used as the baseline to compare other algorithms Assumes packets are infinitely divisible (fluid model) Flow i allocated a guaranteed rate of g i Backlogged connections serviced at each instant of time with rate proportional to their reservations Weighted Fair Queueing: Packet-level approximation of GPS Finishing times of packets under GPS used to order transmissions cfla. Varma 4 16

Tracking Global State in a WFQ Scheduler Virtual-time function v(t) maintains global state Piecewise linear function of real t time Slope depends on allocated rates of backlogged sessions. V Assume sessions, and allocated rate of i session ρ = i. Slope v(t) of during the (t1;t2) interval given by VX X i2b(t 1 ;t 2 ) ρ i; where B(t1;t2) set of backlogged sessions during the interval. j=1 ρ j= cfla. Varma 4 17

Tracking Global State in a WFQ Scheduler: Example Three sessions with bandwidth allocations 50, 25, and 25 percent. Link rate = 100,000 cells/second. cfla. Varma 4 18

Tracking Global State in a WFQ Scheduler: Example Backlog of session 1 Backlog of session 2 Backlog of session 3 slope = 2 slope = 4 virtual time v(t) slope = 1 slope = 1.33 slope = 2 0 2 4 17.33 27.33 29 time t (microseconds) cfla. Varma 4 19

k ψ max(ts k 1 i ; Real Time) + L TS : i i ρ VirtualClock Attempts to simulate time-division multiplexing. On arrival, packet stamped with time-stamp based on its arrival time and average rate. Packet time-stamps increase at allocated rate. Time-stamp of idle connection initialized from real time. Difference of time-stamp from real time unbounded Transmissions scheduled based on time-stamp. cfla. Varma 4 20

Self-Clocked Fair Queueing Proposed by Golestani to simplify time-stamp computation in Weighted Fair Queueing. Basic idea: Use time-stamp of packet currently under transmission to compute time-stamp on incoming packet Simple to implement, but delay bound grows with number of connections. cfla. Varma 4 21

End-to-end Delay Bound in a Fluid Server Switch 1 Switch 2 Switch k Source of session i σ i bits capacity = ρ i bits/sec Max delay in ideal fluid system = ff i =ρ i. cfla. Varma 4 22

End-to-end Delay Bound in a WFQ Server Entire packet must be received before forwarding ) Delay of i =ρ i per switch. L Packet server can be behind fluid server by L max =r, where L max is the maximum size of a packet across all sessions. Max delay in a network of k servers: D» (ff i =ρ i ) + (k 1)(L i =ρ i ) + k(l max =r) cfla. Varma 4 23

References H. Zhang, Service disciplines for guaranteed performance service in packet-switching networks, Proceedings of the IEEE, vol. 83, pp. 1374 96, October 1995. A.Demers, S. Keshav, and S.Shenker, Analysis and simulation of a fair queueing algorithm, Journal of Internetworking Research and Experience, vol. 1, no. 1, pp. 3 26, September 1990. D. Stiliadis, A. Varma, Rate-Proportional Servers: A General Methodology for the Design of Fair Queueing Algorithms, IEEE/ACM Transactions on Networking, April 1998. D. Stiliadis, A. Varma, Efficient Fair-Queueing Algorithms for ATM and Packet Networks, IEEE/ACM Transactions on Networking, April 1998. S. J. Golestani, A self-clocked fair queueing scheme for broadband applications, Proceedings of IEEE INFOCOM 94, pp. 636-646. D. Stiliadis, A. Varma, Latency-Rate Servers: A General Model for Analysis of Traffic Scheduling Algorithms, IEEE/ACM Transactions on Networking, October 1998. M. Shreedhar and G. Varghese, Efficient fair queueing using deficit round robin, in Proc. ACM SIGCOMM 95, pp. 231 242, September 1995. cfla. Varma 4 24