QoS & Queuing Theory CS352.

Slides:



Advertisements
Similar presentations
Computer Networking Lecture 20 – Queue Management and QoS.
Advertisements

1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
1 Providing Quality of Service in the Internet Based on Slides from Ross and Kurose.
Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet with QoS guarantees m RSVP: signaling for resource.
Real-Time Protocol (RTP) r Provides standard packet format for real-time application r Typically runs over UDP r Specifies header fields below r Payload.
Chapter 6 Multimedia Networking Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley, July.
CSIS TAC-TOI-01 Quality of Service & Traffic Engineering (QoS & TE) Khaled Mohamed Credit: some of the sides are from Cisco Systems.
Scheduling CS 215 W Keshav Chpt 9 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
Networking Issues in LAN Telephony Brian Yang
Chapter 6 Multimedia Networking Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley, July.
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Packet Scheduling and QoS Computer Science Division Department of Electrical Engineering and.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Quality of Service Support
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
Computer Networking Queue Management and Quality of Service (QOS)
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
K. Salah 1 Beyond Best Effort Technologies Our primarily objective here is to understand more on QoS mechanisms so that you can make informed decision.
1 Internet Quality of Service (QoS) By Behzad Akbari Spring 2011 These slides are based on the slides of J. Kurose (UMASS)
Beyond Best-Effort Service Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot November 2010 November.
Multimedia networking: outline 7.1 multimedia networking applications 7.2 streaming stored video 7.3 voice-over-IP 7.4 protocols for real-time conversational.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
Network Support for QoS – DiffServ and IntServ Hongli Luo CEIT, IPFW.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Multimedia and QoS#1 Quality of Service Support. Multimedia and QoS#2 QOS in IP Networks r IETF groups are working on proposals to provide QOS control.
Scheduling CS 218 Fall 02 - Keshav Chpt 9 Nov 5, 2003 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
Queue Scheduling Disciplines
CSci5221: Packet Scheduling11 Packet Scheduling (and QoS) Packet Scheduling and Queue Management Beyond FIFO: –Class-based Queueing: Priority Queueing,
An End-to-End Service Architecture r Provide assured service, premium service, and best effort service (RFC 2638) Assured service: provide reliable service.
Providing QoS in IP Networks
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
Tel Hai Academic College Department of Computer Science Prof. Reuven Aviv Markov Models for data flow In Computer Networks Resource: Fayez Gebali, Analysis.
04/02/08 1 Packet Scheduling IT610 Prof. A. Sahoo KReSIT.
Internet Quality of Service
Congestion Control in Data Networks and Internets
Packet Scheduling (and QoS)
Topics discussed in this section:
Congestion Control, Quality of Service, and Internetworking
Buffer Management in a Switch
Queue Management Jennifer Rexford COS 461: Computer Networks
All Rights Reserved, copyright
Week 6: Traffic Models and QoS
CS 1652 The slides are adapted from the publisher’s material
CONGESTION CONTROL.
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Advanced Computer Networks
QoS Guarantees introduction call admission traffic specification
Queuing and Queue Management
CprE 458/558: Real-Time Systems
Week 5: Traffic Models and QoS
COS 461: Computer Networks
Computer Science Division
Congestion Control, Quality of Service, & Internetworking
“Promoting the Use of End-to-End Congestion Control in the Internet”
COMP/ELEC 429 Introduction to Computer Networks
Congestion Control Reasons:
CIS679: Two Planes and Int-Serv Model
Introduction to Packet Scheduling
Real-Time Protocol (RTP)
Network Support for Quality of Service (QoS)
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
Real-Time Protocol (RTP)
A Simple QoS Packet Scheduler for Network Routers
Introduction to Packet Scheduling
کنترل جریان امیدرضا معروضی.
Presentation transcript:

QoS & Queuing Theory CS352

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 classes, not among individual connections QoS: quality of service 0111

Multiple classes of service: scenario H3 H1 R1 R2 H4 H2 R1 output interface queue 1.5 Mbps link

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

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 R1 R2 1.5 Mbps link packet marking and policing Principle 2 provide protection (isolation) for one class from others

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 1 Mbps logical link R1 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

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

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?

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

Scheduling Policies: still more Weighted Fair Queuing (WFQ): generalized Round Robin each class gets weighted amount of service in each cycle real-world example?

WFQ Each class, i, is assigned a weight wi Class i will be guaranteed to receive a fraction of service equal to wi/(wj) Thus, for link with rate R, class I will achieve a throughput of at least Rwi/(wj)

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. avg. with 1500 pkts per second at peak rate (Max.) Burst Size: max. number of pkts sent consecutively (with no intervening idle)

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

Policing Mechanisms (more) token bucket, WFQ combine to provide guaranteed upper bound on delay, i.e., QoS guarantee! WFQ token rate, ri bucket size, bi per-flow rate, Ri D = bi/Ri max arriving traffic Ri = R wi/(wj) where R is the link rate. Dmax is the maximum delay to transmit bi packets; assuming ri < Ri

Leaky Bucket Across a single link, only allow packets across at a constant rate

Leaky Bucket: Analogy Packets from input Leaky Bucket Output