Analysis and Simulation of a Fair Queueing Algorithm A. Demers, S. keshav, and S. Shenker Wireless/Mobile Network Lab 임상택.

Slides:



Advertisements
Similar presentations
Deficit Round Robin Scheduler. Outline Introduction Ordinary Problems Deficit Round Robin Latency of DRR Improvement of latencies.
Advertisements

1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
Congestion Control Reasons: - too many packets in the network and not enough buffer space S = rate at which packets are generated R = rate at which receivers.
Courtesy: Nick McKeown, Stanford 1 Intro to Quality of Service Tahir Azim.
CSE331: Introduction to Networks and Security Lecture 13 Fall 2002.
ECE 4450:427/527 - Computer Networks Spring 2015
1 ELEN 602 Lecture 18 Packet switches Traffic Management.
Packet Switches with Output Buffers and Shared Buffer Packet switches with output buffers, or shared buffer Delay Guarantees Fairness Fair Queueing Deficit.
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
1 Packet Switches with Output and Shared Buffer. 2 Packet Switches with Output Buffers and Shared Buffer Packet switches with output buffers, or shared.
588 Section 4 Neil Spring April 27, Schedule Notes Project 2 description Fair Queueing (Demers et.al.)
Scheduling CS 215 W Keshav Chpt 9 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
CS 268: Lecture 15/16 (Packet Scheduling) Ion Stoica April 8/10, 2002.
Analysis and Simulation of a Fair Queuing Algorithm
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Packet Scheduling and QoS Computer Science Division Department of Electrical Engineering and.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Congestion Control and Resource Allocation
CS 268: Lecture 8 (Router Support for Congestion Control) Ion Stoica February 19, 2002.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Lecture 5: Congestion Control l Challenge: how do we efficiently share network resources among billions of hosts? n Last time: TCP n This time: Alternative.
1 Queue Scheduling Analysis The Computer Communication Lab (236340) - Winter 2004 Tanya Berezner Ana Gluzband Gitit Amihud.
COMP680E by M. Hamdi 1 Course Exam: Review April 17 (in-Class)
Lecture 4#-1 Scheduling: Buffer Management. Lecture 4#-2 The setting.
Color Aware Switch algorithm implementation The Computer Communication Lab (236340) Spring 2008.
Packet Scheduling From Ion Stoica. 2 Packet Scheduling  Decide when and what packet to send on output link -Usually implemented at output interface 1.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
Advance Computer Networking L-5 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
CS 268: Computer Networking L-5 Router Queue Management.
1. Performance Guarantees Introduction –by asking sources about flow behavior it is possible to construct networks that could guarantee performance for.
Fair Queueing. 2 First-Come-First Served (FIFO) Packets are transmitted in the order of their arrival Advantage: –Very simple to implement Disadvantage:
March 29 Scheduling ?. What is Packet Scheduling? Decide when and what packet to send on output link 1 2 Scheduler flow 1 flow 2 flow n Buffer management.
CSE 561 – Congestion Control with Network Support David Wetherall Spring 2000.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Nick McKeown Spring 2012 Lecture 2,3 Output Queueing EE384x Packet Switch Architectures.
Spring 2006CS 3321 Congestion Control and Resource Allocation Outline: Overview Queuing Disciplines TCP Congestion Control Combined Techniques.
Packet Scheduling: SCFQ, STFQ, WF2Q Yongho Seok Contents Review: GPS, PGPS SCFQ( Self-clocked fair queuing ) STFQ( Start time fair queuing ) WF2Q( Worst-case.
Forwarding.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 18: Quality of Service Slides used with.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Weighted Fair Queuing Some slides used with.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
Queue Scheduling Disciplines
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
Scheduling for QoS Management. Engineering Internet QoS2 Outline  What is Queue Management and Scheduling?  Goals of scheduling  Fairness (Conservation.
Scheduling Mechanisms Applied to Packets in a Network Flow CSC /15/03 By Chris Hare, Ricky Johnson, and Fulviu Borcan.
CS244 Packet Scheduling (Generalized Processor Sharing) Some slides created by: Ion Stoica and Mohammad Alizadeh
04/02/08 1 Packet Scheduling IT610 Prof. A. Sahoo KReSIT.
Team: Aaron Sproul Patrick Hamilton
Queue Management Jennifer Rexford COS 461: Computer Networks
Chapter 6 Queuing Disciplines
Congestion Control and Resource Allocation
Stratified Round Robin: A Low Complexity Packet Scheduler with Bandwidth Fairness and Bounded Delay Sriram Ramabhadran Joseph Pasquale Presented by Sailesh.
TCP, XCP and Fair Queueing
Queuing and Queue Management
Advance Computer Networking
COS 461: Computer Networks
Advance Computer Networking
Network Simulation NET441
Advanced Computer Networks
Congestion Control Reasons:
Administrivia Review 1 due tomorrow Office hours on Thursdays 10—12
Introduction to Packet Scheduling
Congestion Control and Resource Allocation
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
Introduction to Packet Scheduling
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Analysis and Simulation of a Fair Queueing Algorithm A. Demers, S. keshav, and S. Shenker Wireless/Mobile Network Lab 임상택

Table of Contents Introduction Fair Queueing – Motivation – Definition of algorithm – Properties of Fair Queueing Flow Control Algorithms Simulations Discussion

Introduction The rapid growth, in both use and size, of computer networks ⇒ methods of congestion control Congestion control – At the source point ⇒ flow control algorithms – At the gateway point ⇒ routing and queueing algorithms Queueing algorithms can be though of as allocating three nearly independent quantities – Bandwidth(which packets get transmitted) – Promptness(when do those packets get transmitted) – Buffer space(which packets are discarded by the gateway)

Fair Queueing Motivation – The requirement that the queueing algorithm allocate bandwidth and buffer space fairly – Nagle ’ s Fair Queueing flaw The gateway should provide service that does not depend on a packet ’ s time of arrival lack of consideration of packet lengths( long packets get more bandwidth than short packets, not fairly.) – Max-min fairness criterion

Definition of algorithm – It is simple to Allocate buffer space fairly by dropping packets, when necessary from the flow with the largest queue – Allocate bandwidth fairly Pure Round-robin service fails to guarantee a fair allocation ⇒ Because of variations in packet sizes Bit-by-bit round robin (BR) fashion ( as in a head-of-queue processor sharing discipline ) – Allocates fairly ⇒ Since at every instant in time each flow is receiving its fair share

R(t) : the number of rounds made in the round-robin up to time t N ac (t) : the number of active sessions that have bits in their queue at time t μ : the line-speed of the gateway’s outgoing line A Packet of size P whose first bit gets serviced at time t 0 will have its last bit serviced P rounds later – At time t, R(t) = R(t 0 ) + P t i α : arrival time at the gateway that packet i belonging to flow α S i α, F i α : values of R(t) when the packet started and finished service P i α : packet size F i α = S i α + P i α, S i α = MAX(F i-1 α, R(t i α )) Since R(t) is a strictly monotonically increasing function, the ordering of F i α values is the same as the ordering of the finishing times Bit-by-bit round robin is unrealistic ⇒ Emulate this algorithm by packet-by-packet transmission scheme.

A natural Way to emulate BR algorithm – F i α define the sending order of the packets – The smallest value of F i α Promptness allocation – Give more promptness (less delay) to users who utilize less than their fair share of bandwidth – B i α, nonnegative parameter δ B i α = S i α + P i α, S i α = MAX(F i-1 α, R(t i α )-δ) – Sending order is determined by the B ’ s, not the F ’ s – This gives slightly faster service to packets that arrive at an inactive conversation – Two extreme cases δ = 0 and δ = ∞ R(t i α )<=F i-1 α, flow α is active ⇒ δ is irrelevant and B i α depends only on the finishing number of the previous packet R(t i α )>F i-1 α, flow α is inactive ⇒ δ = 0, B i α = P i α + R(t i α ) ⇒ δ = ∞, B i α = P i α + F i-1 α Buffer space – When the queue is full and new packet arrives, the last packet from the source using the most buffer space is dropped – When packet is dropped, F ’ s and S ’ s unchanged Small penalty for ill-behaved hosts

Properties of Fair Queueing

Flow Control Algorithms

Simulations

Discussion