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

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

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

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

CS 268: Computer Networking

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

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

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

Lecture 24: Scheduling and QoS

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

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

Congestion Control & Transport protocols

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

Router s Queue Management

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

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

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

Integrated and Differentiated Services. Christos Papadopoulos. CSU CS557, Fall 2017

Advanced Computer Networks

Unit 2 Packet Switching Networks - II

Episode 5. Scheduling and Traffic Management

Fairness, Queue Management, and QoS

Real-Time Protocol (RTP)

Lecture 14: Congestion Control"

CS557: Queue Management

Core-Stateless Fair Queueing: Achieving Approximately Fair Bandwidth Allocations in High Speed Networks. Congestion Control in Today s Internet

Master Course Computer Networks IN2097

Master Course Computer Networks IN2097

EE 122: Router Support for Congestion Control: RED and Fair Queueing. Ion Stoica Oct. 30 Nov. 4, 2002

Congestion Avoidance

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

Congestion in Data Networks. Congestion in Data Networks

What Is Congestion? Effects of Congestion. Interaction of Queues. Chapter 12 Congestion in Data Networks. Effect of Congestion Control

Improving QOS in IP Networks. Principles for QOS Guarantees

Random Early Detection Gateways for Congestion Avoidance

Congestion Control and Resource Allocation

Lecture Outline. Bag of Tricks

H3C S9500 QoS Technology White Paper

Lecture 14: Congestion Control"

Network Support for Multimedia

Random Early Detection Gateways for Congestion Avoidance

The War Between Mice and Elephants

What Is Congestion? Computer Networks. Ideal Network Utilization. Interaction of Queues

Lecture 14: Performance Architecture

Wireless Networks (CSC-7602) Lecture 8 (22 Oct. 2007) Seung-Jong Park (Jay) Fair Queueing

QUALITY of SERVICE. Introduction

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

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

Mohammad Hossein Manshaei 1393

Congestion Control in Communication Networks

Lecture 15: Datacenter TCP"

CSE 123A Computer Networks

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

ADVANCED COMPUTER NETWORKS

Quality of Service (QoS)

Internet Services & Protocols. Quality of Service Architecture

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

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

CSE 123b Communications Software

of-service Support on the Internet

Lesson 14: QoS in IP Networks: IntServ and DiffServ

CS551 Router Queue Management

Lecture 4 Wide Area Networks - Congestion in Data Networks

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

Investigating the Use of Synchronized Clocks in TCP Congestion Control

ETSF05/ETSF10 Internet Protocols. Performance & QoS Congestion Control

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

Configuring Modular QoS Congestion Avoidance

Kommunikationssysteme [KS]

Episode 5. Scheduling and Traffic Management

Network Performance: Queuing

Network Layer Enhancements

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste

Week 7: Traffic Models and QoS

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

Part1: Lecture 4 QoS

Fair Queueing. Presented by Brighten Godfrey. Slides thanks to Ion Stoica (UC Berkeley) with slight adaptation by Brighten Godfrey

Real-Time Control Protocol (RTCP)

Introduction to IP QoS

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

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

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

Transport Layer (Congestion Control)

"Filling up an old bath with holes in it, indeed. Who would be such a fool?" "A sum it is, girl," my father said. "A sum. A problem for the mind.

Quality of Service (QoS)

Investigating the Use of Synchronized Clocks in TCP Congestion Control

Congestion Control End Hosts. CSE 561 Lecture 7, Spring David Wetherall. How fast should the sender transmit data?

Flow Control. Flow control problem. Other considerations. Where?

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

Kent State University

Lecture 5: Performance Analysis I

Traffic Characteristics of Bulk Data Transfer using TCP/IP over Gigabit Ethernet

TCP/IP over ATM using ABR, UBR, and GFR Services

WRED Explicit Congestion Notification

Multiplexing. Common network/protocol functions. Multiplexing: Sharing resource(s) among users of the resource.

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

Mul$media Networking. #10 QoS Semester Ganjil 2012 PTIIK Universitas Brawijaya

TCP so far Computer Networking Outline. How Was TCP Able to Evolve

UNIT IV TRANSPORT LAYER

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

Congestion Control and Resource Allocation

Transcription:

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

Lecture 23 Overview Buffer Management FIFO RED Traffic Policing/Scheduling 2

Key Router Challenges Buffer management: which packet to drop when? We only have finite-length queues Scheduling: which packet to transmit next? flow 1 1 Classifier flow 2 Scheduler 2 flow n Buffer management 3

Basic Buffer Management FIFO + drop-tail Simplest choice Used widely in the Internet FIFO (first-in-first-out) Drop-tail Implies single class of traffic Arriving packets get dropped when queue is full regardless of flow or importance Important distinction: FIFO: scheduling discipline Drop-tail: drop policy 4

FIFO/Drop-Tail Problems Leaves responsibility of congestion control completely to the edges (e.g., TCP) Does not separate between different flows No policing: send more packets à get more service Synchronization: end hosts react to same events 5

Active Queue Management Design active router queue management to aid congestion control Why? Router has unified view of queuing behavior Routers see actual queue occupancy (distinguish queue delay and propagation delay) Routers can decide on transient congestion, based on workload 6

Design Objectives Keep throughput high and delay low High power (throughput/delay) Accommodate bursts Queue size should reflect ability to accept bursts rather than steady-state queuing Improve TCP performance with minimal hardware changes in router 7

Random Early Detection Detect incipient congestion Assume hosts respond to lost packets Avoid window synchronization Randomly mark packets Avoid bias against bursty traffic 8

RED Algorithm Maintain running average of queue length in router If avg < min th do nothing Low queuing, send packets through If avg > max th, drop packet Protection from misbehaving sources Else drop/mark packet in a manner proportional to queue length Notify sources of incipient congestion Dropping vs Marking tradeoff (Explicit Congestion Notification) 9

RED Operation Max thresh Min thresh P(drop) Average Queue Length 1.0 max P min th max th Avg queue length 10

Non-responsive Senders 1 UDP (10 Mbps) and 31 TCPs sharing a 10 Mbps line UDP (#1) - 10 Mbps UDP (#1) TCP (#2). TCP (#32) Bottleneck link (10 Mbps) TCP (#2). TCP (#32) 11

UDP vs. TCP 12

Token Bucket Basics Parameters r average rate, i.e., rate at which tokens fill the bucket b bucket depth (limits size of burst) R maximum link capacity or peak rate (optional parameter) A bit can be transmitted only when a token is available r bps bits Maximum # of bits sent b bits b R/(R-r) slope R slope r regulator R bps b/(r-r) time

Traffic Policing Drop packets that don t meet user profile Output limited to average of r bps and bursts of b r bps b bits User Profile (token bucket) Packet input Test if token token Packet output No token, drop 14

Traffic Shaping Shape packets according to user profile Output limited to average of r bps and bursts of b r bps Queue, Drop on overflow b bits User Profile (token bucket) Packet input Wait for token Packet output 15

Shaping Example r = 100 Kbps;; b = 3 Kb;; R = 500 Kbps (a) (b) 3Kb 2.2Kb T = 0 : 1Kb packet arrives 2.4Kb (c) 3Kb T = 2ms : packet transmitted b = 3Kb 1Kb + 2ms*100Kbps = 2.2Kb (d) (e) 0.6Kb T = 4ms : 3Kb packet arrives T = 10ms : packet needs to wait until enough tokens are in the bucket T = 16ms : packet transmitted 16

For next time HW 4 is due in a Week Read Ch. 6.5 in P&D Happy Thanksgiving! 17