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

Similar documents
Transmission Control Protocol (TCP) TCP Services EECS 3214

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

Unit 2 Packet Switching Networks - II

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

Network Performance: Queuing

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

CS 268: Computer Networking

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

Router s Queue Management

Network Performance: Queuing

The Network Layer and Routers

Lecture 24: Scheduling and QoS

Network Support for Multimedia

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control

Quality of Service (QoS)

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

Flow and Congestion Control

H3C S9500 QoS Technology White Paper

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: FIFO. Link Scheduling: Strict Priority

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

Congestion Control and Resource Allocation

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

ADVANCED COMPUTER NETWORKS

Chapter 24 Congestion Control and Quality of Service 24.1

CSE 123b Communications Software

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

Advanced Computer Networks

Real-Time Protocol (RTP)

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

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

Improving QOS in IP Networks. Principles for QOS Guarantees

CSC 4900 Computer Networks: Network Layer

Network Layer Enhancements

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

CS519: Computer Networks. Lecture 5, Part 5: Mar 31, 2004 Queuing and QoS

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

Mohammad Hossein Manshaei 1393

Lecture 14: Congestion Control"

Congestion Control In the Network

Part1: Lecture 4 QoS

EP2210 Scheduling. Lecture material:

Quality of Service (QoS)

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

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

Announcements. Network Performance: Queuing. Goals of Today s Lecture. Window Scaling. Window Scaling, con t. Window Scaling, con t

Lecture Outline. Bag of Tricks

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

Episode 5. Scheduling and Traffic Management

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

Last time! Overview! 14/04/15. Part1: Lecture 4! QoS! Router architectures! How to improve TCP? SYN attacks SCTP. SIP and H.

Chapter 6: Congestion Control and Resource Allocation

Master Course Computer Networks IN2097

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

CS551 Router Queue Management

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

Topic 4b: QoS Principles. Chapter 9 Multimedia Networking. Computer Networking: A Top Down Approach

Master Course Computer Networks IN2097

Resource Allocation and Queuing Theory

Multi-class Applications for Parallel Usage of a Guaranteed Rate and a Scavenger Service

Congestion Control in Communication Networks

Congestion Control for High Bandwidth-delay Product Networks. Dina Katabi, Mark Handley, Charlie Rohrs

TCP Overview Revisited Computer Networking. Queuing Disciplines. Packet Drop Dimensions. Typical Internet Queuing. FIFO + Drop-tail Problems

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

Configuring Modular QoS Congestion Avoidance

Configuring QoS CHAPTER

Introduction to IP QoS

Internet Services & Protocols. Quality of Service Architecture

CSE 123A Computer Networks

UNIT IV TRANSPORT LAYER

Topic 4a Router Operation and Scheduling. Ch4: Network Layer: The Data Plane. Computer Networking: A Top Down Approach

A Preferred Service Architecture for Payload Data Flows. Ray Gilstrap, Thom Stone, Ken Freeman

TCP. CSU CS557, Spring 2018 Instructor: Lorenzo De Carli (Slides by Christos Papadopoulos, remixed by Lorenzo De Carli)

TELE Switching Systems and Architecture. Assignment Week 10 Lecture Summary - Traffic Management (including scheduling)

WRED Explicit Congestion Notification

Congestion Control for High Bandwidth-delay Product Networks

CS557: Queue Management

Quality of Service (QoS)

Lecture 14: Performance Architecture

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

Computer Networks. Course Reference Model. Topic. Congestion What s the hold up? Nature of Congestion. Nature of Congestion 1/5/2015.

Quality of Service (QoS)

CS4700/CS5700 Fundamentals of Computer Networks

Congestion Avoidance

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

CS 457 Multimedia Applications. Fall 2014

Announcements. Quality of Service (QoS) Goals of Today s Lecture. Scheduling. Link Scheduling: Strict Priority. Link Scheduling: FIFO

Kommunikationssysteme [KS]

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

Tutorial 9 : TCP and congestion control part I

CS 349/449 Internet Protocols Final Exam Winter /15/2003. Name: Course:

A Survey on Quality of Service and Congestion Control

Lecture 14: Congestion Control"

different problems from other networks ITU-T specified restricted initial set Limited number of overhead bits ATM forum Traffic Management

STateless Resource Sharing (SRS)

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

ATM Quality of Service (QoS)

CS321: Computer Networks Congestion Control in TCP

Congestion Control In The Internet Part 2: How it is implemented in TCP. JY Le Boudec 2015

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

Transcription:

Last Wed: CongesDon Control What can the end-points do to collectively to make good use of shared underlying resources? Queue Management? logical link? name Mike Freedman COS 461: Computer Networks h=p://www.cs.princeton.edu/courses/archive/spr14/cos461/ physical path address 2 Today: Queue Management What can the individual links do to make good use of shared underlying resources? logical link name Packet Queues? physical path address 3 4 1

Router Line Cards (Interface Cards, Adaptors) data plane Processor Switching Fabric control plane Packet handling Packet forwarding Buffer management Link scheduling Packet filtering Rate limidng Packet marking Measurement Receive to/from link lookup to/from switch Transmit 5 6 Packet Switching and Forwarding Queue Management Issues Link 1 4 Link 2 R1 4 Link 4 Link 3 Link 1, ingress Link 2, ingress Link 3, ingress Choose Egress Choose Egress Choose Egress Link 1, egress Link 2, egress Link 3, egress Scheduling discipline Which packet to send? Some nodon of fairness? Priority? Drop policy When should you discard a packet? Which packet to discard? Link 4, ingress Choose Egress Link 4, egress Goal: balance throughput and delay Huge buffers minimize drops, but add to queuing delay (thus higher RTT, longer slow start, ) 7! 8 2

FIFO Scheduling and Drop- Tail Access to the bandwidth: first- in first- out queue Packets only differendated when they arrive Early DetecDon of CongesDon Access to the buffer space: drop- tail queuing If the queue is full, drop the incoming packet 9 10 Bursty Loss From Drop- Tail Queuing TCP depends on packet loss Packet loss is indicadon of congesdon TCP addidve increase drives network into loss Drop- tail leads to bursty loss Congested link: many packets encounter full queue Synchroniza6on: many connecdons lose packets at once Slow Feedback from Drop Tail Feedback comes when buffer is completely full even though the buffer has been filling for a while Plus, the filling buffer is increasing RTT making detecdon even slower Be=er to give early feedback Get 1-2 connecdons to slow down before it s too late! 11 12 3

Random Early DetecDon (RED) Router nodces that queue is ge`ng full and randomly drops packets to signal congesdon Packet drop probability Drop probability increases as queue length increases Else, set drop probability f(avg queue length) Drop Probability 0 1 Average Queue Length ProperDes of RED Drops packets before queue is full In the hope of reducing the rates of some flows Tolerant of bursdness in the traffic By basing the decisions on average queue length Which of the following are true? (A) Drops packet in propordon to each flow s rate (B) High- rate flows selected more ocen (C) Helps desynchronize the TCP senders (D) All of the above 13 14 Problems With RED Hard to get tunable parameters just right How early to start dropping packets? What slope for increase in drop probability? What Dme scale for averaging queue length? From Loss to NoDficaDon RED has mixed adopdon in pracdce If parameters aren t set right, RED doesn t help Many other variadons in research community Names like Blue (self- tuning), FRED 15 16 4

Feedback: From loss to nodficadon Early dropping of packets Good: gives early feedback Bad: has to drop the packet to give the feedback Explicit CongesDon NoDficaDon Router marks the packet with an ECN bit Sending host interprets as a sign of congesdon 17 Explicit CongesDon NoDficaDon Needs support by router, sender, AND receiver End- hosts check ECN- capable during TCP handshake ECN protocol (repurposes 4 header bits) 1. Sender marks ECN- capable when sending 2. If router sees ECN- capable and congested, marks packet as ECN congesdon experienced 3. If receiver sees congesdon experienced, marks ECN echo flag in responses undl congesdon ACK d 4. If sender sees ECN echo, reduces cwnd and marks congesdon window reduced flag in next packet 18 ECN QuesDons Why separate ECN experienced and echo flags? (A) Detect reverse path congesdon with experienced (B) CongesDon could happen in either direcdon, want sender to react to forward direcdon (C) Both of the above Why echo resent and congesdon window reduced ACK? (A) CongesDon in reverse path can lose ECN- echo, sdll want to respond to congesdon in forward path (B) Only should apply backoff once per cwnd (C) Both of the above 19 Link Scheduling 20 5

First- In First- Out Scheduling First- in first- out scheduling Simple, but restricdve Example: two kinds of traffic Voice over IP needs low delay E- mail is not that sensidve about delay Voice traffic waits behind e- mail Strict Priority MulDple levels of priority Always transmit high- priority traffic, when present IsolaDon for the high- priority traffic Almost like it has a dedicated link Except for (small) delay for packet transmission But, lower priority traffic may starve 21! 22! Weighted Fair Scheduling Weighted fair scheduling Assign each queue a fracdon of the link bandwidth Rotate across queues on a small Dme scale Weighted Fair Scheduling If non- work conserving (resources can go idle) Each flow gets at most its allocated weight WFQ is work- conserving Send extra traffic from one queue if others are idle Algorithms account for bytes, not packets Results in (A) higher or (B) lower udlizadon than non- work conserving? 50% red, 25% blue, 25% green 23! Algorithm accounts for bytes, not packets WFQ results in max- min fairness Maximize the minimum rate of each flow 24! 6

ImplementaDon Trade- Offs FIFO One queue, trivial scheduler Strict priority One queue per priority level, simple scheduler Quality of Service Guarantees Weighted fair scheduling One queue per class, and more complex scheduler 25! 26 DisDnguishing Traffic ApplicaDons compete for bandwidth E- mail traffic can cause congesdon/losses for VoIP Principle 1: Packet marking So router can disdnguish between classes E.g., Type of Service (ToS) bits in IP header PrevenDng Misbehavior ApplicaDons misbehave VoIP sends packets faster than 1 Mbps Principle 2: Policing Protect one traffic class from another By enforcing a rate limit on the traffic 27! 28! 7

Subdividing Link Resources Principle 3: Link scheduling Ensure each applicadon gets its share while (opdonally) using any extra bandwidth E.g., weighted fair queuing Reserving Resources, and Saying No Traffic cannot exceed link capacity Deny access, rather than degrade performance Principle 4: Admission control ApplicaDon declares its needs in advance ApplicaDon denied if insufficient resources available 29! 30! Quality of Service (QoS) Guaranteed performance AlternaDve to best- effort delivery model QoS protocols and mechanisms Packet classificadon and marking Traffic shaping Link scheduling Resource reservadon and admission control IdenDfying paths with sufficient resources Conclusions Link resource allocadon Buffer management Link scheduling Friday precept PracDce quesdons on resource allocadon Next week: roudng dynamics RouDng protocol convergence RouDng to mobile hosts 31! 32 8