EP2210 Scheduling. Lecture material:

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

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

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

Lecture 24: Scheduling and QoS

Lecture 21. Reminders: Homework 6 due today, Programming Project 4 due on Thursday Questions? Current event: BGP router glitch on Nov.

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)

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

Network Model for Delay-Sensitive Traffic

Lecture 14: Congestion Control"

Episode 5. Scheduling and Traffic Management

Packet Scheduling and QoS

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

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

Lecture 5: Performance Analysis I

Unit 2 Packet Switching Networks - II

COMP/ELEC 429/556 Introduction to Computer Networks

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

CS551 Router Queue Management

CS557: Queue Management

Network Layer Enhancements

Advanced Computer Networks

Kommunikationssysteme [KS]

Quality of Service (QoS)

Scheduling (Chapter 9) Outline

Lecture 14: Congestion Control"

048866: Packet Switch Architectures

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

Chapter 6 Queuing Disciplines. Networking CS 3470, Section 1

Episode 5. Scheduling and Traffic Management

Congestion Control and Resource Allocation

CSE 461 Quality of Service. David Wetherall

DiffServ Architecture: Impact of scheduling on QoS

Core-Stateless Proportional Fair Queuing for AF Traffic

TDDD82 Secure Mobile Systems Lecture 6: Quality of Service

Congestion Control 3/16/09

Network Support for Multimedia

Router s Queue Management

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

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

LS Example 5 3 C 5 A 1 D

TCP Congestion Control : Computer Networking. Introduction to TCP. Key Things You Should Know Already. Congestion Control RED

Fairness, Queue Management, and QoS

15-744: Computer Networking. Overview. Queuing Disciplines. TCP & Routers. L-6 TCP & Routers

Lecture Outline. Bag of Tricks

Performance Evaluation of Scheduling Mechanisms for Broadband Networks

Communication Networks

A Probabilistic Approach for Achieving Fair Bandwidth Allocations in CSFQ

Lecture 14: Performance Architecture

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

Overview. TCP & router queuing Computer Networking. TCP details. Workloads. TCP Performance. TCP Performance. Lecture 10 TCP & Routers

Congestion Control In the Network

CS 268: Computer Networking

Queue Management. Last Wed: CongesDon Control. Today: Queue Management. Packet Queues

On Generalized Processor Sharing with Regulated Traffic for MPLS Traffic Engineering

In-network Resource Allocation (Scribed by Ambuj Ojha)

CS CS COMPUTER NETWORKS CS CS CHAPTER 6. CHAPTER 6 Congestion Control

Optical Packet Switching

Random Early Detection (RED) gateways. Sally Floyd CS 268: Computer Networks

Congestion Control. Queuing Discipline Reacting to Congestion Avoiding Congestion. Issues

CS 356: Computer Network Architectures Lecture 19: Congestion Avoidance Chap. 6.4 and related papers. Xiaowei Yang

CSE 123b Communications Software

6.033 Spring Lecture #12. In-network resource management Queue management schemes Traffic differentiation spring 2018 Katrina LaCurts

Lecture 21: Congestion Control" CSE 123: Computer Networks Alex C. Snoeren

Activity-Based Congestion Management for Fair Bandwidth Sharing in Trusted Packet Networks

Introduction: Two motivating examples for the analytical approach

An Approach for Enhanced Performance of Packet Transmission over Packet Switched Network

Lecture 22: Buffering & Scheduling. CSE 123: Computer Networks Alex C. Snoeren

Lesson 14: QoS in IP Networks: IntServ and DiffServ

TCP Congestion Control. Lecture 16. Outline. TCP Congestion Control. Additive Increase / Multiplicative Decrease (AIMD)

EP2200 Performance analysis of Communication networks. Topic 3 Congestion and rate control

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.

Implementation of Start-Time Fair Queuing Algorithm in OPNET

of-service Support on the Internet

Chapter 6 Congestion Control and Resource Allocation

A Better-Than-Best Effort Forwarding Service For UDP

Router Architectures

Computer Networking

Congestion Control in Communication Networks

Fair Queueing. Presented by Brighten Godfrey. Slides thanks to Ion Stoica (UC Berkeley) with slight adaptation by Brighten Godfrey

THERE are a growing number of Internet-based applications

Wide area networks: packet switching and congestion

ADVANCED COMPUTER NETWORKS

Communication using Multiple Wireless Interfaces

ENSC 427 Communication Networks Final Project Presentation Spring Comparison and analysis of FIFO, PQ, and WFQ Disciplines in OPNET

Quality of Service in the Internet

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

Quality of Service in the Internet

MUD: Send me your top 1 3 questions on this lecture

Week 7: Traffic Models and QoS

Congestion Control End Hosts. CSE 561 Lecture 7, Spring David Wetherall. How fast should the sender transmit data?

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

Generic Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture

Improving QOS in IP Networks. Principles for QOS Guarantees

QUALITY of SERVICE. Introduction

Congestion. Can t sustain input rate > output rate Issues: - Avoid congestion - Control congestion - Prioritize who gets limited resources

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

Service Disciplines for Guaranteed Performance Service in Packet-Switching Networks

Scheduling Algorithms to Minimize Session Delays

Transcription:

EP2210 Scheduling Lecture material: Bertsekas, Gallager, 6.1.2. MIT OpenCourseWare, 6.829 A. Parekh, R. Gallager, A generalized Processor Sharing Approach to Flow Control - The Single Node Case, IEEE Infocom 1992 1

Scheduling fairness concept X X X congestion control rate control admission control error control delay control X scheduling (congestion control) (error control) (admission control) 2

Scheduling - Problem definition Scheduling happens at the routers (switches) or at user nodes if there are many simultaneous connections many flows transmitted simultaneously at an output link packets waiting for transmission are buffered Question: which packet to send, and when? Simplest case: FIFO packets of all flows stored in the same buffer in arrival order first packet in the buffer transmitted when the previous transmission is complete packet transmission in the order of packet arrival packet arriving when buffer is full dropped Complex cases: separate queues for flows (or set of flows) one of the first packets in the queues transmitted according to some policy needs separate queues and policy specific variable for each flow PER FLOW STATE 3

Scheduling - Requirements Easy implementation has to operate on a per packet basis at high speed routers Fair bandwidth allocation for elastic (or best effort) traffic all competing flows receive the some fair amount of resources Provide performance guarantees for flows or aggregates service provisioning in the Internet (guaranteed service per flow) guaranteed bandwidth for SLA, MPLS, VPN (guaranteed service for aggregates) integrated services in mobile networks (UMTS, 4G) Performance metrics throughput, delay, delay variation (jutter), packet loss probability performance guarantees should be de-coupled (coupled e.g., high throughput -> low delay variation) 4

Scheduling Implementation issues Scheduling discipline has to make a decision before each packet transmission every few microseconds Decision complexity should increase slower than linearly with the number of flows scheduled e.g., complexity of FIFO is 1 scheduling where all flows have to be compared scales linearly Information to be stored and managed should scale with the number of flows e.g., with per flow state requirement it scales linearly (e.g., queue length or packet arrival time) Scheduling disciplines make different trade-off among the requirements on fairness, performance provisioning and complexity e.g., FIFO has low complexity, but can not provide fair bandwidth share for flows 5

Scheduling classes Work-conserving server (output link) is never idle when there is packet waiting input 1 input 2 output time utilizes output bandwidth efficiently burstiness of flows may increase loss probability at the network nodes on the transmission path increases latency variations at each switch may disturb delay sensitive traffic 6

Scheduling classes Nonwork-conserving add rate control for each flow each packet assigned an eligibility time when it can be transmitted e.g, based on minimum d gap between packets server can be idle if no packet is eligible input 1 input 2 d output time server idle, while packet waiting from input 2 burstiness and delay variations are controlled some bandwidth is lost can be useful for transmission with service guarantees 7

Scheduling for fairness The goal is to share the bandwidth among the flows in a fair way fairness can be defined a number of ways (see lectures later) here fairness is considered for one single link, not for the whole transmission path Max-min fairness Maximize the minimum bandwidth provided to any flow not receiving all bandwidth it requests E.g.: no maximum requirement, single node the flows should receive the same bandwidth Specific cases: weighted flows and maximum requirements 8

Max-min fairness Maximize the minimum bandwidth provided to any flow not receiving all bandwidth it requests C: link capacity B(t): set of flows with data to transmit at time t (backlogged (saturated) flows) n(t): number of backlogged flows at time t C i (t): bandwidth received by flow i at time t Case: without weights or max. requirements C ( t) i = C n( t) Case: weights w i : relative weight of flow i C ( t) i = wi w j B( t) j C Case: max. requirements r i : max. bandwidth requirement for flow i α(t): fair share at time t C ( t) = i α( t) : min( r α( t)) j B( t) i, min( r, α( t)) j = C 9

Max-min fairness C: link capacity B(t): set of backlogged flows at time t C i (t): bandwidth received by flow i at time t Case: weights w i : relative weight of flow I Case: max. requirements r i : max. bandwidth requirement for flow I α(t): fair share at time t C ( t) = i C ( t) = i α( t) : wi w j B( t) C min( r α( t)) j B( t) j i, min( r j, α( t)) = C Calculate fair shares: 3 backlogged (saturated) flows, equal weights, link capacity 10. 3 backlogged flows, weights 1,2,2 link capacity 10 4 backlogged flows, max requirements: 2, 3, 4, 5, link capacity 11. 3 backlogged flows, rate requirements: 2,4,5, the link capacity is 11. What are the fair shares now? 10

Fluid approximation Fair queuing-for max-min fairness fluid fair queuing (FFQ) or generalized processor sharing (GPS) idealized policy to split bandwidth assumption: dedicated buffer per flow assumption: flows from backlogged queues served simultaneously (like fluid) not implementable, used to evaluate real approaches used for performance analysis if per packet performance is not interesting 1 time unit fluid left to transmit (backlog) g=1/3 C g=1/2 physical or logical queues time g=1 3 5 6 t 11

Packet-level Fair queuing How to realize GPS/FFQ? Bit-by-bit fair queuing one bit from each backlogged queue in rounds (round robin) still not possible to implement rounds Packet-level fair queuing one packet from each backlogged queue in rounds??? Flows with large packets get more bandwidth! More sophisticated schemes required! 12

Packetized GPS (PGPS) How to realize GPS/FFQ? Try to mimic GPS Transmit packets that would arrive earliest with GPS Finishing time (F(p)) Quantify the difference between GPS and PGPS F(1) F(2) GPS PGPS 13

Fair queuing group work Packet-by-packet GPS (PGPS) Compare GPS (fluid) and PGPS (packetized) in the following scenarios draw diagrams backlogged traffic per flow vs. time. Consider one packet in each queue. C=1 unit/sec 1. Two flows, equal size packets, same weight, L1=L2=1 unit 2. Two flows, different size packets, same weight L1=1, L2=2 units 3. Two flows, same packet size, different weight, L1=L2=1 unit, w1=1, w2=2 C ( t) = i wi w j B( t) j C 14

Scheduling summary Scheduling: At the network nodes and at the edge To provide quality guarantees or fairness Work-conserving and non-work-conserving Max-min fairness in a single link, with weights and max. rate requirement GPS for max-min fairness in a fluid model PGPS (or WFQ) in the packetized version Schedule according to finish time in GPS Guaranteed performance compared to GPS Next lecture: PGPS in detail, work-conserving and non-work-conserving scheduling 16

Reading assignment A. Parekh, R. Gallager, A Generalized Processor Sharing Approach to Flow Control - The Single Node Case, IEEE Transaction on Networking, 1993, Vol.1, No.3. Read from I to III-before part A H. Zhang, Service Disciplines for Guaranteed Performance Service in Packet-Switching Networks, Proceedings of the IEEE, Oct, 1995, pp. 1374-1396 Read sections I, II, and III. 17