1 Netcomm 2005 Communication Networks Recitation 4.

Slides:



Advertisements
Similar presentations
Quality of Service CS 457 Presentation Xue Gu Nov 15, 2001.
Advertisements

1 Comnet 2010 Communication Networks Recitation 4 Scheduling & Drop Policies.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
Courtesy: Nick McKeown, Stanford 1 Intro to Quality of Service Tahir Azim.
CS 268: Lecture 8 Router Support for Congestion Control Ion Stoica Computer Science Division Department of Electrical Engineering and Computer Sciences.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 16: Congestion control II Slides used with.
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
Worst-case Fair Weighted Fair Queueing (WF²Q) by Jon C.R. Bennett & Hui Zhang Presented by Vitali Greenberg.
DigiComm II Scheduling and queue management. DigiComm II Traditional queuing behaviour in routers Data transfer: datagrams: individual packets no recognition.
1 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Networks: Congestion Control1 Congestion Control.
CS 268: Lecture 15/16 (Packet Scheduling) Ion Stoica April 8/10, 2002.
Generalized Processing Sharing (GPS) Is work conserving Is a fluid model Service Guarantee –GPS discipline can provide an end-to-end bounded- delay service.
Service Disciplines for Guaranteed Performance Service Hui Zhang, “Service Disciplines for Guaranteed Performance Service in Packet-Switching Networks,”
Congestion Control and Resource Allocation
Spring 2002CS 4611 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug 1993), pp
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.
Random Early Detection Gateways for Congestion Avoidance
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.
COMP680E by M. Hamdi 1 Course Exam: Review April 17 (in-Class)
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 3. QoS.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Packet Scheduling From Ion Stoica. 2 Packet Scheduling  Decide when and what packet to send on output link -Usually implemented at output interface 1.
QoS II - Adaptive Virtual Queue - Fair Queueing for Multiple Link 12 th Mar., 2002 Eun-Chan Park CSL, SoEECS, SNU.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
1 Queue Management Hamed Khanmirza Principles of Networking University of Tehran.
Link Scheduling & Queuing COS 461: Computer Networks
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Fair Queueing. 2 First-Come-First Served (FIFO) Packets are transmitted in the order of their arrival Advantage: –Very simple to implement Disadvantage:
Queueing and Scheduling Traffic is moved by connecting end-systems to switches, and switches to each other Traffic is moved by connecting end-systems to.
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.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
Packet Scheduling and Buffer Management Switches S.Keshav: “ An Engineering Approach to Networking”
A CTIVE Q UEUE M ANAGEMENT Comparing RED and BLUE Presentation held at: Telia Prosoft AB, Farsta, Sweden 2001-May-18 Thesis worker:Bartók István
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.
AQM & TCP models Courtesy of Sally Floyd with ICIR Raj Jain with OSU.
Packet Scheduling: SCFQ, STFQ, WF2Q Yongho Seok Contents Review: GPS, PGPS SCFQ( Self-clocked fair queuing ) STFQ( Start time fair queuing ) WF2Q( Worst-case.
CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 19 – March 23, 2010.
Spring 2015© CS 438 Staff - University of Illinois1 Next Topic: Vacation Planning UIUC Chicago Monterey San Francisco Chicago to San Francisco: ALL FLIGHTS.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
Queue Scheduling Disciplines
ECEN 619, Internet Protocols and Modeling Prof. Xi Zhang Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions.
Queue Management Mike Freedman COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Congestion Avoidance Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
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.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
04/02/08 1 Packet Scheduling IT610 Prof. A. Sahoo KReSIT.
Other Methods of Dealing with Congestion
Chapter 6 Congestion Avoidance
Congestion Control: The Role of the Routers
Congestion Control and Resource Allocation
EE 122: Router Support for Congestion Control: RED and Fair Queueing
Queuing and Queue Management
Other Methods of Dealing with Congestion
Fair Queueing.
Other Methods of Dealing with Congestion
The Network Layer Congestion Control Algorithms & Quality-of-Service
Congestion Control and Resource Allocation
Fair Queueing.
کنترل جریان امیدرضا معروضی.
Queueing Problem The performance of network systems rely on different delays. Propagation/processing/transmission/queueing delays Which delay is affected.
Presentation transcript:

1 Netcomm 2005 Communication Networks Recitation 4

2 Netcomm 2005 Scheduling & Drop Policies

3 Netcomm 2005 Queueing Basics A queue consists of a scheduling discipline and a drop policyA queue consists of a scheduling discipline and a drop policy queued packets scheduling discipline: what packet gets sent next drop policy: what is dropped upon overflow input

4 Netcomm 2005 Generalized Processor Sharing The ideal max-min fair scheduling schemeThe ideal max-min fair scheduling scheme –Visit each non-empty queue in turn –Serve infinitesimal from each –GPS is not implementable; we can serve only packets

5 Netcomm 2005 Weighted Fair Queueing Problem: We need to serve a whole packet at a time. Solution: 1.Determine what time a packet, p, would complete if we served flows by GPS. Call this the packet’s finish time, F( p ). 2.Serve packets in the order of increasing finish time.

6 Netcomm 2005 WFQ Round -- Virtual Time Round number is a real-valued variable that increases at a rate inversely proportional to the number/weight of active connectionsRound number is a real-valued variable that increases at a rate inversely proportional to the number/weight of active connections Updating the number of connections:Updating the number of connections: –A connection becomes active when a packet arrives to an empty queue –A connection becomes inactive when R(t) > F( p ), where p is the last packet served

7 Netcomm 2005 Virtual time Example A L=1L=2 B C 1/3 1/2 1/3 1 F 1 =1 F 1 =2 F 2 =3.5  A r = 1  A =  B =  C = 1 B C  CC

8 Netcomm 2005 Understanding bit by bit WFQ 4 queues, sharing 4 bits/sec of bandwidth Weights : 1:1:1: B1 = 3 A1 = 4 D2 = 2 D1 = 1 C2 = 1C1 = 1 Time B1 = 3 A1 = 4 D2 = 2 D1 = 1 C2 = 1C1 = 1 A1B1C1D1 A2 = 2 C3 = 2 Weights : 1:1:1:1 D1, C1 Depart at R=1 A2, C3 arrive Time Round 1 Weights : 1:1:1: B1 = 3 A1 = 4 D2 = 2 D1 = 1 C2 = 1C1 = 1 A1B1C1D1 A2 = 2 C3 = 2 A1 B1C2D2 C2 Departs at R=2 Time Round 1Round 2

9 Netcomm 2005 Understanding bit by bit WFQ 4 queues, sharing 4 bits/sec of bandwidth Weights : 1:1:1: B1 = 3 A1 = 4 D2 = 2 D1 = 1 C2 = 1C1 = 1 A1B1C1D1 A2 = 2 C3 = 2 A1B1C2D2 D2, B1 Depart at R=3 A1B1C3D2 Time Round 1Round 2Round 3 Weights : 1:1:1: B1 = 3 A1 = 4 D2 = 2 D1 = 1 C2 = 1C3 = 2C1 = 1 C1D1C2B1 D2 A 1 A2 = 2 C3 A2 Departure order for packet by packet WFQ: Sort by finish round of packets Time Sort packets B1 = 3 A1 = 4 D2 = 2 D1 = 1 C2 = 1C1 = 1 A1B1C1D1 A2 = 2 C3 = 2 A1B1C2D2 A1 Depart at R=4 A1B1C3D2A1C3A2 Time Round 1Round 2Round 3Round 4 C3,A2 Departs at R=6 56

10 Netcomm 2005 WF²Q Packet approximation algorithm of GPS.Packet approximation algorithm of GPS. Choosing the packet with the smallest finish time among all the packets that have already started service in the corresponding GPS emulation.Choosing the packet with the smallest finish time among all the packets that have already started service in the corresponding GPS emulation. Almost identical to that of GPS, differing by no more than one maximum size packet.Almost identical to that of GPS, differing by no more than one maximum size packet.

11 Netcomm 2005

12 Netcomm 2005 Drop-tail Signals congestion only when the queue is already saturatedSignals congestion only when the queue is already saturated Likely to drop more packets from the same flowLikely to drop more packets from the same flow Unfair with bursty flowsUnfair with bursty flows

13 Netcomm 2005 Random Early Detection (RED)

14 Netcomm 2005 RED Details Two queue length thresholds:Two queue length thresholds: if AvgLen <= MinThreshold then enqueue the packet enqueue the packet if MinThreshold < AvgLen < MaxThreshold then calculate probability P calculate probability P drop arriving packet with probability P drop arriving packet with probability P if Maxhreshold <= AvgLen then drop arriving packet drop arriving packet

15 Netcomm 2005 The Advantages of RED No bias against bursty trafficNo bias against bursty traffic No global synchronizationNo global synchronization Packet marking probability proportional to connection’s share of bandwidthPacket marking probability proportional to connection’s share of bandwidth Scalable: no per-connection stateScalable: no per-connection state

16 Netcomm 2005 Explicit Congestion Notification (ECN)

17 Netcomm 2005 ECN Details Packets have a special Early Congestion Notification (ECN) bitPackets have a special Early Congestion Notification (ECN) bit The ECN bit is set to 1The ECN bit is set to 1 Receivers forward ECN bit state back to sender in acknowledgmentsReceivers forward ECN bit state back to sender in acknowledgments Sender can adjust rate accordinglySender can adjust rate accordingly