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

Similar documents
Congestion Control and Resource Allocation

Chapter 6 Congestion Control and Resource Allocation

CS551 Router Queue Management

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

CS557: Queue Management

Resource Allocation and Queuing Theory

Chapter 6 Queuing Disciplines. Networking CS 3470, Section 1

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

Congestion Control 3/16/09

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

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

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

Lecture 24: Scheduling and QoS

Congestion Control. Resource allocation and congestion control problem

Lecture Outline. Bag of Tricks

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

Improving QOS in IP Networks. Principles for QOS Guarantees

EP2210 Scheduling. Lecture material:

The Network Layer and Routers

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

Real-Time Protocol (RTP)

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

Congestion Control & Resource Allocation. Issues in Resource Allocation Queuing Discipline TCP Congestion Control

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

Generic Architecture. EECS 122: Introduction to Computer Networks Switch and Router Architectures. Shared Memory (1 st Generation) Today s Lecture

Network Layer Enhancements

Quality of Service. Traffic Descriptor Traffic Profiles. Figure 24.1 Traffic descriptors. Figure Three traffic profiles

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

Chapter 24 Congestion Control and Quality of Service 24.1

Wireless Networks (CSC-7602) Lecture 8 (15 Oct. 2007)

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

EECS 122: Introduction to Computer Networks Switch and Router Architectures. Today s Lecture

Fairness, Queue Management, and QoS

Kent State University

Router Architectures

Unit 2 Packet Switching Networks - II

RSVP: Resource Reservation Protocol

Congestion Control and Resource Allocation

Multicast and Quality of Service. Internet Technologies and Applications

Chapter 6: Congestion Control and Resource Allocation

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

Tutorial 9 : TCP and congestion control part I

Quality of Service (QoS)

Internet Services & Protocols. Quality of Service Architecture

Order of Packet Transmission and Dropping

Lecture 14: Congestion Control"

Queuing Disciplines. Order of Packet Transmission and Dropping. Laboratory. Objective. Overview

Course 6. Internetworking Routing 1/33

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

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 11

Advanced Computer Networks

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

ENSC 427 Communication Networks Final Project Presentation Spring Comparison and analysis of FIFO, PQ, and WFQ Disciplines in OPNET

QUALITY of SERVICE. Introduction

TCP Congestion Control. Lecture 16. Outline. TCP Congestion Control. Additive Increase / Multiplicative Decrease (AIMD)

of-service Support on the Internet

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

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

Network Support for Multimedia

Lecture 14: Congestion Control"

Transport Layer (Congestion Control)

Good Ideas So Far Computer Networking. Outline. Sequence Numbers (reminder) TCP flow control. Congestion sources and collapse

CSC 4900 Computer Networks: Network Layer

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

Router Design: Table Lookups and Packet Scheduling EECS 122: Lecture 13

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

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

CSE 123A Computer Networks

Order of Packet Transmission and Dropping

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

Advanced Lab in Computer Communications Meeting 6 QoS. Instructor: Tom Mahler

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

Quality of Service (QoS)

Computer Networks. Instructor: Niklas Carlsson

ETSF10 Internet Protocols Transport Layer Protocols

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

CS 268: Computer Networking

Bandwidth Allocation & TCP

The Network Layer. Antonio Carzaniga. April 22, Faculty of Informatics University of Lugano Antonio Carzaniga

Master Course Computer Networks IN2097

Queuing Mechanisms. Overview. Objectives

LS Example 5 3 C 5 A 1 D

Chapter 6 Congestion Control and Resource Allocation

Congestion Management Overview

Mohammad Hossein Manshaei 1393

Master Course Computer Networks IN2097

Configuring priority marking 63 Priority marking overview 63 Configuring priority marking 63 Priority marking configuration example 64

fair-queue aggregate-limit

Router s Queue Management

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

Wide area networks: packet switching and congestion

A common issue that affects the QoS of packetized audio is jitter. Voice data requires a constant packet interarrival rate at receivers to convert

Quality of Service II

EE 122: Differentiated Services

Overview. Administrivia. Congestion Control Revisited. Congestion at Router. Example: FIFO tail drop. Router design issues

2.993: Principles of Internet Computing Quiz 1. Network

Traffic Management over Satellite ATM Networks: A Status Report

This Lecture. BUS Computer Facilities Network Management. Switching Network. Simple Switching Network

Congestion Control In the Network

Key Network-Layer Functions

Transcription:

Lecture 21 Reminders: Homework 6 due today, Programming Project 4 due on Thursday Questions? Current event: BGP router glitch on Nov. 7 http://money.cnn.com/2011/11/07/technology/juniper_internet_outage/ Tuesday, November 8 CS 475 Networks - Lecture 21 1

Outline Chapter 6 - Congestion Control and Resource Allocation 6.1 Issues in Resource Allocation 6.2 Queuing Disciplines 6.3 TCP Congestion Control 6.4 Congestion-Avoidance Mechanisms 6.5 Quality of Service 6.6 Summary Tuesday, November 8 CS 475 Networks - Lecture 21 2

Issues in Resource Allocation Congestion control refers to the efforts make by network nodes to prevent or respond to overload conditions. (Congestion control is different from flow control, but they share some of the same control mechanisms.) Resource allocation refers to the process by which network elements try to meet the competing demands that applications have for network resources primarily link bandwidth and buffer space in routers. Tuesday, November 8 CS 475 Networks - Lecture 21 3

Issues in Resource Allocation Resource allocation is partially implemented in the routers or switches inside the network and partially in the transport protocol. End systems use signaling protocols to convey resource requirements to network nodes. The nodes respond with information about resource availability. Tuesday, November 8 CS 475 Networks - Lecture 21 4

Network Model We will discuss resource allocation with respect to a network that is packet switched connectionless and best-effort. Tuesday, November 8 CS 475 Networks - Lecture 21 5

Network Model Packet Switched Network Links in a packet-switched network will typically have different bandwidths. Although a given source may have enough capacity on an outgoing link to send a packet. A slow link somewhere in the middle can cause a bottleneck. Tuesday, November 8 CS 475 Networks - Lecture 21 6

Network Model Connectionless Flows Connectionless networks do not use setup messages to reserve network resources prior to transmitting data. Although our network is connectionless and packet-switched we will see that the concept of a flow is important when discussing resource allocation. A flow is a sequence of packets traveling between a source and destination along the same path. Tuesday, November 8 CS 475 Networks - Lecture 21 7

Network Model Connectionless Flows Multiple flows passing through a network. Tuesday, November 8 CS 475 Networks - Lecture 21 8

Network Model Connectionless Flows Routers may maintain soft state about a flow so that it can perform more efficiently. (Routers in connected networks maintain hard state.) A flow can be detected implicitly by inspecting packet source and destination addresses or explicitly via flow setup messages. Tuesday, November 8 CS 475 Networks - Lecture 21 9

Network Model Service Model We will initially assume that our network is a best effort network. No guarantees are made on either throughput or delay. Some networks can guarantee certain levels of performance (throughput, delay, etc). Such a network is said to provide quality of service (QoS). This type of network is covered in Section 6.5, which we will be skipping. Tuesday, November 8 CS 475 Networks - Lecture 21 10

Taxonomy Router-Centric vs Host-Centric Resource allocation mechanisms can be categorized as being either router-centric or hostcentric. In a router-centric design, the router decides when packets are forwarded and dropped. Routers inform sending hosts of how much data they can send. In a host-centric design, hosts observe the network and adjust their behavior accordingly. Tuesday, November 8 CS 475 Networks - Lecture 21 11

Taxonomy Reservation vs. Feedback In a reservation-based resource allocation scheme a host asks the network for capacity at the time a flow is established. If a route can not satisfy the request the flow may be rejected. (A router-centric design is implied.) In a feedback-based approach hosts begin sending data and adjust sending rates based on feedback. Feedback may be explicit (in the form of messages sent back from routers) or implicit. Tuesday, November 8 CS 475 Networks - Lecture 21 12

Taxonomy Window-Based vs. Rate-Based In a window-based resource allocation method windows are used to indicate to the sender how much data should be transmitted. Both TCP flow and congestion control methods are windows based. Alternatively, a sender could be asked to transmit at a particular rate (bits per second). Rate-based requests are common in networks that support Quality of Service. Tuesday, November 8 CS 475 Networks - Lecture 21 13

Evaluation Criteria Effective Resource Allocation We want to allocate resources so that we maximize throughput while minimizing delay. Many allocation methods seek to optimize the power of the network: Power = Throughput/Delay For a given allocation scheme, power is optimized at a particular load value. Tuesday, November 8 CS 475 Networks - Lecture 21 14

Evaluation Criteria Fair Resource Allocation Unless there is a statement to the contrary, we will assume that fair resource allocation implies that all flows using a link should have equal throughput. Given a set of flow throughputs (x 1, x 2,..., x n ) one proposed fairness index is: n x i 2 f x 1, x 2,, x n = i=1 n n i=1 x i 2 Tuesday, November 8 CS 475 Networks - Lecture 21 15

Queuing Disciplines A router's queuing discipline governs how packets are buffered while waiting to be transmitted. The queuing algorithm affects throughput (by determining which packets get transmitted) and buffer space (by deciding which packets get dropped). We will examine the first-in-first-out (FIFO) and fair queuing (FQ) algorithms. Tuesday, November 8 CS 475 Networks - Lecture 21 16

FIFO FIFO is the simplest of all queuing algorithms. It is currently also the most widely used algorithm on Internet routers. (a) FIFO Queue, (b) tail drop Tuesday, November 8 CS 475 Networks - Lecture 21 17

FIFO FIFO is a scheduling discipline. Routers also use a drop policy to determine which packets are dropped when the queue is full. FIFO routers typically use a tail drop drop policy. A simple variation on FIFO queuing is to have multiple priority queues. Packets could contain a field that indicates the packet priority (the IP Type of Service or TOS field could be used for this purpose). Tuesday, November 8 CS 475 Networks - Lecture 21 18

Fair Queuing FIFO queues do not separate packets by flow. It is possible for an ill-behaved source to use up most of the available bandwidth. We will see that TCP uses host-centric congestion control. It is possible for an application to use UDP instead and bypass TCP's congestion control mechanism. Tuesday, November 8 CS 475 Networks - Lecture 21 19

Fair Queuing With fair queuing (FQ) a queue is maintained for each flow and the flows are serviced in roundrobin fashion. FQ would prevent a UDP flow from using more than its fair share of network bandwidth. Tuesday, November 8 CS 475 Networks - Lecture 21 20

Fair Queuing Fair queuing is not quite that simple due to different packet lengths. We want to ensure equal bit rates for all flows rather than equal packet rates. To ensure equal bit rates we compute the time when the router would finish transmitting the packet as: F i = max(f i 1, A i ) + P i where F i is the finish time, A i is the arrival time and P i is the transmit time. Tuesday, November 8 CS 475 Networks - Lecture 21 21

Fair Queuing The F i values are treated as time stamps and we transmit packets in order of increasing time stamp. An arriving packet is not permitted to interrupt the transmission of packet even if it has a smaller F i value. Tuesday, November 8 CS 475 Networks - Lecture 21 22

Fair Queuing FQ is work-conserving, the link is never idle as long as there is one packet in a queue. If one active flow is sharing a link with several idle flows, the active flow will use the full link capacity. If there are n active flows then each flow will get no more than 1/n th of the link capacity. If a source tries to send data at a faster rate, the queue will fill and packets will be dropped. Tuesday, November 8 CS 475 Networks - Lecture 21 23

Fair Queuing A variation is weighted fair queuing (WFQ) in which each flow is given a weight. With three flows with weights of 1, 2, and 3, the flows would get 1/6, 1/3, and 1/2 of the link capacity respectively. WFQ could be used on classes of traffic instead of on flows. The IP TOS field could be used to identify classes. The Differentiated Services architecture (Section 6.5) uses this approach. Tuesday, November 8 CS 475 Networks - Lecture 21 24

In-class Exercises To be turned in as part of Homework 7 Problem 6.7 on pages 564-565 Problem 6.10(a) on page 565 Tuesday, November 8 CS 475 Networks - Lecture 21 25