ACN: Congestion Control1 Congestion Control and Resource Allocation.

Slides:



Advertisements
Similar presentations
Computer Networking Lecture 20 – Queue Management and QoS.
Advertisements

1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks.
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.
24.1 Chapter 24 Congestion Control and Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CSE331: Introduction to Networks and Security Lecture 13 Fall 2002.
CS 408 Computer Networks Congestion Control (from Chapter 05)
Real-Time Protocol (RTP) r Provides standard packet format for real-time application r Typically runs over UDP r Specifies header fields below r Payload.
CS 4700 / CS 5700 Network Fundamentals Lecture 12: Router-Aided Congestion Control (Drop it like it’s hot) Revised 3/18/13.
Congestion Control An Overview -Jyothi Guntaka. Congestion  What is congestion ?  The aggregate demand for network resources exceeds the available capacity.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Networks: Congestion Control1 Congestion Control.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Third Ed.,Peterson.
1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for.
Analysis and Simulation of a Fair Queuing Algorithm
Congestion Control and Resource Allocation
Spring 2002CS 4611 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
Spring 2003CS 4611 Congestion Control Outline Queuing Discipline Reacting to Congestion Avoiding Congestion.
CSE 401N Multimedia Networking-2 Lecture-19. Improving QOS in IP Networks Thus far: “making the best of best effort” Future: next generation Internet.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
School of Information Technologies IP Quality of Service NETS3303/3603 Weeks
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.
Integrated Services (RFC 1633) r Architecture for providing QoS guarantees to individual application sessions r Call setup: a session requiring QoS guarantees.
CSE679: QoS Infrastructure to Support Multimedia Communications r Principles r Policing r Scheduling r RSVP r Integrated and Differentiated Services.
CSE QoS in IP. CSE Improving QOS in IP Networks Thus far: “making the best of best effort”
Quality of Service (QoS)
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
Link Scheduling & Queuing COS 461: Computer Networks
Fundamentals of Computer Networks ECE 478/578 Lecture #22: Resource Allocation and Congestion Control Instructor: Loukas Lazos Dept of Electrical and Computer.
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
1 Congestion Control Computer Networks. 2 Where are we?
9.7 Other Congestion Related Issues Outline Queuing Discipline Avoiding Congestion.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Spring 2006CS 3321 Congestion Control and Resource Allocation Outline: Overview Queuing Disciplines TCP Congestion Control Combined Techniques.
Spring 2009CSE Congestion Control Outline Resource Allocation Queuing TCP Congestion Control.
Mr. Mark Welton.  Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it  QoS allows.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
© 2006 Cisco Systems, Inc. All rights reserved. 3.2: Implementing QoS.
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
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.
Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Copyright 2010 Cisco Press & Priscilla Oppenheimer.
Congestion Control and
Queue Management Jennifer Rexford COS 461: Computer Networks
Chapter 6 Queuing Disciplines
Congestion Control and Resource Allocation
Queuing and Queue Management
Congestion Control (from Chapter 05)
COS 461: Computer Networks
CSCD 433/533 Advanced Networks
Congestion Control (from Chapter 05)
Network Simulation NET441
Congestion Control (from Chapter 05)
Congestion Control Reasons:
Congestion Control (from Chapter 05)
Chapter 3 outline 3.1 Transport-layer services
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Introduction to Packet Scheduling
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control and Resource Allocation
Introduction to Packet Scheduling
Lecture 6, Computer Networks (198:552)
Presentation transcript:

ACN: Congestion Control1 Congestion Control and Resource Allocation

ACN: Congestion Control2 Definitions Flow control:: keep a fast sender from overrunning a slow receiver. Congestion control:: the efforts made by network nodes to prevent or respond to overload conditions. Congestion control is intended to keep a fast sender from sending data into the network due to a lack of resources in the network {e.g., available link capacity, router buffers}.

ACN: Congestion Control3 Congestion Control Congested control is concerned with the bottleneck routers in a packet switched network. Congestion control can be distinguished from routing in that sometimes there is no way to ‘route around’ a congested router.

ACN: Congestion Control Congestion Figure 7.50b Leon-Garcia & Widjaja: Communication Networks Copyright ©2000 The McGraw Hill Companies Leon-Garcia & Widjaja: Communication NetworksCopyright ©2000 The McGraw Hill Companies

ACN: Congestion Control5 Flows flow :: a sequence of packets sent between a source/destination pair and following the same route through the network. Connectionless flows (TCP/IP model) – connection- oriented abstraction implemented at the transport layer while IP provides a connectionless datagram delivery service. With connectionless flows, there exists no state at the routers.

ACN: Congestion Control6 Flows Connection-oriented flows (e.g., X.25) – connection-oriented networks maintain hard state at the routers. Soft state :: represents a middle ground where soft state is not always explicitly created and removed by signalling. Correct operation of the network does not depend on the presence of soft state, but soft state can permit the router to better handle packets.

ACN: Congestion Control7 Service Best-effort service :: hosts are given no opportunity to ask for guarantees on a flow’s service. QoS (Quality of Service) :: a service model that supports some type of guarantee.

ACN: Congestion Control8 Offered load Throughput Controlled Uncontrolled Figure 7.51 Leon-Garcia & Widjaja: Communication NetworksCopyright ©2000 The McGraw Hill Companies

ACN: Congestion Control9 Congestion Control Taxonomy Router-Centric –The internal network routers take responsibility for: Which packets to forward Which packets to drop or mark The nature of congestion notification to the hosts. –This includes the Queuing Algorithm to manage the buffers at the router. Host-Centric –The end hosts adjust their behavior based on observations of network conditions. –(e.g., TCP Congestion Control Mechanisms)

ACN: Congestion Control10 Congestion Control Taxonomy Reservation-Based – the hosts attempt to reserve network capacity when the flow is established. –The routers allocate resources to satisfy reservations or the flow is rejected. –The reservation can be receiver-based (e.g., RSVP) or sender-based.

ACN: Congestion Control11 Congestion Control Taxonomy Feedback-Based - the transmission rate is adjusted (via window size) according to feedback received from the subnetwork. –Explicit feedback – FECN, BECN, ECN –Implicit feedback – packet drops Window-Based - the receiver sends an advertized window to the sender or a window advertisement can be used to resource buffer space in routers. Rate-Based – indicating the bits per second the receiver can absorb.

ACN: Congestion Control12 Evaluation Criteria Evaluation criteria are needed to decide how well a network effectively and fairly allocates resources. Effective measures – throughput, utilization, efficiency, delay, queue length, goodput and power. throughput Power = delay

ACN: Congestion Control13 Fairness Jain’s fairness index –For any given set of user throughputs (x1, x2,…xn ), the fairness index to the set is defined: f(x1, x2, …, xn) =

ACN: Congestion Control14 Congestion Control (at the router) Queuing algorithms determine: –How packets are buffered –Which packets get transmitted –Which packets get marked or dropped –Indirectly determine the delay at the router Queues at outgoing link drop/mark packets to implicitly signal congestion to TCP sources. Remember to separate policy from mechanism

ACN: Congestion Control15 Congestion Control (at the router) Some of the possible choices in queuing algorithms: –FIFO (FCFS) Drop-Tail –Fair Queuing (FQ) –Weighted Fair Queuing (WFQ) –Random Early Detection (RED) –Explicit Congestion Notification (ECN)

ACN: Congestion Control16 Drop Tail Router [FIFO] First to arrive is first to be transmitted FIFO queuing mechanism that drops packets from the tail of the queue when the queue overflows. Introduces global synchronization when packets are dropped from several connections. FIFO is the scheduling mechanism, Drop Tail is the policy

ACN: Congestion Control17 Priority Queuing Mark each packet with a priority (e.g., in TOS (Type of Service field in IP) Implement multiple FIFO queues, one for each priority class. Always transmit out of the highest priority non-empty queue. Still no guarantees for a given priority class

ACN: Congestion Control18 Priority Queuing Problem:: high priority packets can ‘starve’ lower priority class packets. Priority queuing is a simple case of “differentiated services” [DiffServ] One practical use in the Internet is to protect routing update packets by giving them a higher priority and a special queue at the router.

ACN: Congestion Control19 Fair Queuing [FQ] The basic problem with FIFO is that it does not separate packets by flow Another problem with FIFO :: an “ill- behaved” flow can capture an arbitrarily large share of the network’s capacity. Idea:: maintain a separate queue for each flow and FQ services these queues in a round- robin fashion.

ACN: Congestion Control20 Fair Queuing [FQ] Ill-behaved flows are segregated into their own queue. There are many implementation details for FQ, but the main problem is – packets are of different lengths => not fair!! Ideal FQ:: do bit-by-bit round-robin

ACN: Congestion Control21 Fair Queuing [FQ] FQ simulates bit-by-bit behavior by using timestamps (too many details for here!!) One can think of FQ as providing a guaranteed minimum share of bandwidth to each flow FQ is work-conserving in that the server is never idle as long as there is a customer in the queue. *Note per-state flow information kept at the router is expensive (it does not scale).

ACN: Congestion Control22 Weighted Fair Queuing [WFQ] WFQ idea:: assign a weight to each flow (queue) where the weight logically specifies the number of bits to transmit each time the router services that queue. This controls the percentage of the link capacity that the flow will receive. The queues can represent “classes” of service and this becomes DiffServ. An issue – how does the router learn of the weight assignments? –Manual configuration –Signalling from sources or receivers

ACN: Congestion Control23