Link Scheduling & Queuing COS 461: Computer Networks

Slides:



Advertisements
Similar presentations
Congestion Control and Fairness Models Nick Feamster CS 4251 Computer Networking II Spring 2008.
Advertisements

Computer Networking Lecture 20 – Queue Management and QoS.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
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.
CSE331: Introduction to Networks and Security Lecture 13 Fall 2002.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
TCP Congestion Control Dina Katabi & Sam Madden nms.csail.mit.edu/~dina 6.033, Spring 2014.
Practice Questions: Congestion Control and Queuing
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.
Comparison and Analysis of FIFO, PQ, and WFQ Disciplines on multimedia
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-4690: Experimental Networking Informal Quiz: TCP Shiv Kalyanaraman:
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
Networks: Congestion Control1 Congestion Control.
Congestion Control Reading: Sections COS 461: Computer Networks Spring 2011 Mike Freedman
TCP Stability and Resource Allocation: Part I. References The Mathematics of Internet Congestion Control, Birkhauser, The web pages of –Kelly, Vinnicombe,
Analysis and Simulation of a Fair Queuing Algorithm
EE689 Lecture 5 Review of last lecture More on HPF RED.
Congestion Control and Resource Allocation
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
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.
7/15/2015HY220: Ιάκωβος Μαυροειδής1 HY220 Schedulers.
Congestion Control Michael Freedman COS 461: Computer Networks
1 #6 in Mid-Term  Most answered:  many users thru the same bottleneck -> increased queueing delay -> increased e2e latency  Possible reasons behind.
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
Transport Layer 4 2: Transport Layer 4.
Network Technologies essentials Week 8: TCP congestion control Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall, University.
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.
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
Queuing and Queue Management Reading: Sections 6.2, 6.4, 6.5 COS 461: Computer Networks Spring 2011 Mike Freedman
Advance Computer Networking L-6 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
Congestion Control - Supplementary Slides are adapted on Jean Walrand’s Slides.
1 Congestion Control Computer Networks. 2 Where are we?
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.
Queueing and Active Queue Management Aditya Akella 02/26/2007.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
AQM & TCP models Courtesy of Sally Floyd with ICIR Raj Jain with OSU.
Thoughts on the Evolution of TCP in the Internet (version 2) Sally Floyd ICIR Wednesday Lunch March 17,
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Fairness of Bandwidth Allocation (§6.3.1)
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
Transport Layer3-1 Chapter 3 outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP r 3.4 Principles.
Queue Management Mike Freedman COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
Providing QoS in IP Networks
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
1 Lecture 15 Internet resource allocation and QoS Resource Reservation Protocol Integrated Services Differentiated Services.
Other Methods of Dealing with Congestion
Topics discussed in this section:
Chapter 3 outline 3.1 transport-layer services
COMP 431 Internet Services & Protocols
Queue Management Jennifer Rexford COS 461: Computer Networks
Congestion Control: The Role of the Routers
Congestion Control and Resource Allocation
Queuing and Queue Management
Other Methods of Dealing with Congestion
Advanced Computer Networks
Other Methods of Dealing with Congestion
COS 461: Computer Networks
Jiyong Park Seoul National University, Korea
Congestion Control Reasons:
TCP Congestion Control
Congestion Control and Resource Allocation
Congestion Michael Freedman COS 461: Computer Networks
Queueing Problem The performance of network systems rely on different delays. Propagation/processing/transmission/queueing delays Which delay is affected.
Presentation transcript:

Link Scheduling & Queuing COS 461: Computer Networks

Outline Link scheduling (not covered on Monday) Queuing practice questions Miscellanea

First-In First-Out Scheduling First-in first-out scheduling – Simple, but restrictive Example: two kinds of traffic – Voice over IP needs low delay – is not that sensitive about delay Voice traffic waits behind 3

Strict Priority Multiple levels of priority – Always transmit high-priority traffic when present Isolation for the high-priority traffic – Almost like it has a dedicated link Except for (small) delay for transmission Possible starvation 4 High Low

Weighted Fair Queuing Each queue gets a fraction of the link bandwidth Rotate across queues on a small time scale What if a queue is empty during its time slice? – Move on to next queue if work conserving 50% red, 25% blue, 25% green 5

Weighted Fair Queuing If non-work conserving – Flows get at most their allocated weight If work-conserving – Send extra traffic from one queue if others are idle – Bytes, not packets – Higher or lower utilization than non-work conserving? Results in max-min fairness – Maximize the minimum rate of each flow 6

Implementation Trade-Offs FIFO – One queue, trivial scheduler Strict priority – One queue per priority level, simple scheduler Weighted fair scheduling – One queue per class, and more complex scheduler 7

For the following questions, assume that these are always coupled with a FIFO scheduling policy. The full queue problem occurs if routers’ queues are often full. The lockout problem refers to a situation where a small number of flows monopolize the available queue space on a router. Drop-tail solves the full queue problem T/F 8

For the following questions, assume that these are always coupled with a FIFO scheduling policy. The full queue problem occurs if routers’ queues are often full. The lockout problem refers to a situation where a small number of flows monopolize the available queue space on a router. Drop-tail solves the full queue problem T/F 9

For the following questions, assume that these are always coupled with a FIFO scheduling policy. The full queue problem occurs if routers’ queues are often full. The lockout problem refers to a situation where a small number of flows monopolize the available queue space on a router. Drop-tail solves the full queue problem T/F Random Early Detection (RED) solves the full queue problem T/F 10

For the following questions, assume that these are always coupled with a FIFO scheduling policy. The full queue problem occurs if routers’ queues are often full. The lockout problem refers to a situation where a small number of flows monopolize the available queue space on a router. Drop-tail solves the full queue problem T/F Random Early Detection (RED) solves the full queue problem T/F 11

For the following questions, assume that these are always coupled with a FIFO scheduling policy. The full queue problem occurs if routers’ queues are often full. The lockout problem refers to a situation where a small number of flows monopolize the available queue space on a router. Drop-tail solves the full queue problem T/F Random Early Detection (RED) solves the full queue problem T/F RED solves the lockout problem for TCP flows T/F 12

For the following questions, assume that these are always coupled with a FIFO scheduling policy. The full queue problem occurs if routers’ queues are often full. The lockout problem refers to a situation where a small number of flows monopolize the available queue space on a router. Drop-tail solves the full queue problem T/F Random Early Detection (RED) solves the full queue problem T/F RED solves the lockout problem for TCP flows T/F 13

1 Drop-tail has fewer burst losses than RED T/F 14

1 Drop-tail has fewer burst losses than RED T/F 15

1 Drop-tail has fewer burst losses than RED T/F 2 Both drop-tail and RED can be used with Explicit Congestion Notification (ECN), so the router can signal congestion to the sender without dropping a packet T/F 16

1 Drop-tail has fewer burst losses than RED T/F 2 Both drop-tail and RED can be used with Explicit Congestion Notification (ECN), so the router can signal congestion to the sender without dropping a packet T/F 17

1 Drop-tail has fewer burst losses than RED T/F 2 Both drop-tail and RED can be used with Explicit Congestion Notification (ECN), so the router can signal congestion to the sender without dropping a packet T/F 3 RED drops every incoming packet with some probability P > 0 T/F 18

1 Drop-tail has fewer burst losses than RED T/F 2 Both drop-tail and RED can be used with Explicit Congestion Notification (ECN), so the router can signal congestion to the sender without dropping a packet T/F 3 RED drops every incoming packet with some probability P > 0 T/F 19

TCP Windows Receive window – flow control Congestion window – Additive increase / multiplicative decrease – Triple duplicate ACKs – Slow-start, fast retransmit, fast recovery, etc.