01. Apr. 20041INF-3190: Congestion Control Congestion Control Foreleser: Carsten Griwodz

Slides:



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

Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
1 CONGESTION CONTROL. 2 Congestion Control When one part of the subnet (e.g. one or more routers in an area) becomes overloaded, congestion results. Because.
EE 4272Spring, 2003 Chapter 12 Congestion in Data Networks Effect of Congestion Control  Ideal Performance  Practical Performance Congestion Control.
Network layer -- May Network layer Computer Networks.
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 5 Network Layer.
Congestion Control Algorithms
The Network Layer Functions: Congestion Control
William Stallings Data and Computer Communications 7 th Edition Chapter 13 Congestion in Data Networks.
Congestion Control Tanenbaum 5.3 Tanenbaum 6.5. Congestion Control Network Layer – Congestion control point to point Transport Layer – Congestion control.
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.
Foreleser: Carsten Griwodz
24-1 Chapter 24. Congestion Control and Quality of Service (part 1) 23.1 Data Traffic 23.2 Congestion 23.3 Congestion Control 23.4 Two Examples.
1.  Congestion Control Congestion Control  Factors that Cause Congestion Factors that Cause Congestion  Congestion Control vs Flow Control Congestion.
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.
CS 408 Computer Networks Congestion Control (from Chapter 05)
NETWORK LAYER. CONGESTION CONTROL In congestion control we try to avoid traffic congestion. Traffic Descriptor Traffic descriptors are qualitative values.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Congestion Control Tanenbaum 5.3, /12/2015Congestion Control (A Loss Based Technique: TCP)2 What? Why? Congestion occurs when –there is no reservation.
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
Week 9 TCP9-1 Week 9 TCP 3 outline r 3.5 Connection-oriented transport: TCP m segment structure m reliable data transfer m flow control m connection management.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
1 Chapter 3 Transport Layer. 2 Chapter 3 outline 3.1 Transport-layer services 3.2 Multiplexing and demultiplexing 3.3 Connectionless transport: UDP 3.4.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
1 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
Switching Techniques Student: Blidaru Catalina Elena.
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
3: Transport Layer3b-1 Principles of Congestion Control Congestion: r informally: “too many sources sending too much data too fast for network to handle”
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.
Univ. of TehranAdv. topics in Computer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr.
Chapter 12 Transmission Control Protocol (TCP)
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.
CONGESTION CONTROL.
Lecture Network layer -- May Congestion control Algorithms.
TCP. TCP ACK generation [RFC 1122, RFC 2581] Event at Receiver Arrival of in-order segment with expected seq #. All data up to expected seq # already.
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
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.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
24.1 Chapter 24 Congestion Control and Quality of Service ICE302 Term # 2 Lecture # 3 Md. Asif Hossain.
Chapter 10 Congestion Control in Data Networks and Internets 1 Chapter 10 Congestion Control in Data Networks and Internets.
The Network Layer Congestion Control Algorithms & Quality-of-Service Chapter 5.
Congestion Control in Data Networks and Internets
Topics discussed in this section:
Chapter 3 outline 3.1 transport-layer services
Buffer Management in a Switch
Congestion Control Evaluation in Dynamic Network
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
CONGESTION CONTROL.
William Stallings Data and Computer Communications
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Border Gateway Protocol
IT351: Mobile & Wireless Computing
The Network Layer Network Layer Design Issues:
Congestion Control (from Chapter 05)
Switching Techniques.
Congestion Control, Quality of Service, & Internetworking
Congestion Control (from Chapter 05)
Figure Areas in an autonomous system
Congestion Control (from Chapter 05)
Congestion Control Reasons:
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Transport Layer: Congestion Control
The Network Layer Congestion Control Algorithms & Quality-of-Service
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Presentation transcript:

01. Apr INF-3190: Congestion Control Congestion Control Foreleser: Carsten Griwodz

01. Apr INF-3190: Congestion Control Congestion Opposite objectives End-system Optimize its own throughput Possibly at the expense of other end-systems Opposite objectives Network Optimize overall throughput Two different problems Receiver capacity Network capacity Cannot be distinguished easily at all places Should be differentiated Transmission rate adjustment Network Internal congestion Small receiver capacity Large receiver capacity Packet loss

01. Apr INF-3190: Congestion Control Congestion General problem Congestion => more delays at end-systems Higher delays => retransmissions (because of timeouts) retransmissions=> additional load increases 2 problem areas Receiver capacity (“actual window”) Network capacity (“congestion window”) Avoid both bottlenecks valid send window = min(actual window, congestion window)

01. Apr INF-3190: Congestion Control Congestion When too much traffic is offered Congestion sets in Performance degrades sharply Reasons for congestion, among others IS too slow for routing algorithms Incoming traffic overloads outgoing lines Congestions tend to amplify themselves IS drops packet due to congestion Packet has to be retransmitted Additional bandwidth used Sender cannot release the buffer Thereby additionally tying up resources maximum transmission capacity of the subnet perfect desirable congested packets sent packets delivered

01. Apr INF-3190: Congestion Control Congestion Control General methods of resolution Increase capacity Decrease traffic Strategies Repair When congestion is noticed “Closed loop” Explicit feedback (packets are sent from the point of congestion) Implicit feedback (source assumes that congestion occurred due to other effects) Drop packets, choke packets, hop-by-hop choke packets, fair queuing,... Avoid Before congestion happens “Open loop” Initiate countermeasures at the sender Initiate countermeasures at the receiver Traffic shaping, leaky bucket, token bucket, reservation (multicast), isarithmic congestion control

01. Apr INF-3190: Congestion Control Repair Principle No resource reservation Necessary steps Congestion detected Introduce appropriate procedures for reduction

01. Apr INF-3190: Congestion Control Repair by Packet dropping Principle At each intermediate system Queue length are tested Incoming packet is dropped if it cannot be buffered We may not wait until the queue is entirely full Preconditions for Connectionless service No preparations necessary Connection-oriented service Packet will be buffered until receipt has been acknowledged

01. Apr INF-3190: Congestion Control Repair by Packet dropping Assigning buffers to queues at output lines 1. Maximum number of buffers per output line Packet may be dropped although there are free lines 2. Minimal number of buffers per output line Line cannot be starved Avail buffers Output lines Input lines

01. Apr INF-3190: Congestion Control Repair by Packet dropping 3. Content-related dropping: relevance Relevance of data connection as a whole (or all single data packets from one end system to another end system) Relevance of single packets Examples WWW document images vs. text and structural information File transfer old packets more important than new ones (algorithm to initiate correction process should start as late as possible)

01. Apr INF-3190: Congestion Control Repair by Packet dropping Properties Very simple But Retransmitted packets waste bandwidth Packet has to be sent 1 / (1 - p) times before it is accepted (p... probability that packet will be dropped) Optimization necessary to reduce the waste of bandwidth Dropping packets that have not gotten that far yet

01. Apr INF-3190: Congestion Control Repair by Choke Packets Principle Reduce traffic during congestion by telling source to slow down Procedure for IS Each outgoing line (OL) has one variable Utilization u Calculating u ( 0 ≤ u ≤ 1 ) (u: Utilization) IS checks the line usage f periodically (f is 0 or 1) u = a * u + ( 1 - a ) * f 0 ≤ a ≤ 1 determines to what extent "history" is taken into account u > threshold: OL changes to condition "warning“ Send choke packet to source (indicating destination) Tag packet (to avoid further choke packets from down stream IS) & forward it

01. Apr INF-3190: Congestion Control Repair by Choke Packets Principle Reduce traffic during congestion by telling source to slow down Procedure for source Source receives the choke packet Reduces the data traffic to the destination in question by x 1 % Source recognizes 2 phases (gate time so that the algorithm can take effect) Ignore: ES ignores further Choke packets Listen: ES listens if more Choke packets are arriving yes:further reduction by X 2 %; go to Ignore phase no:increase the data traffic

01. Apr INF-3190: Congestion Control Repair by Choke Packets Enhancements Varying choke packets depending on state of congestion Warning Acute warning For u instead of utilization Queue length.... Properties Effective procedure But Possibly many choke packets in the network Even if Choke bits may be included in the data at the senders to minimize reflux End systems can (but do not have to) adjust the traffic Choke packets take time to reach source Transient (short-term) congestion may have passed when the source reacts

01. Apr INF-3190: Congestion Control Repair by Choke Packets Hop-by-Hop Choke Packets Principle Reaction to Choke packets already at IS (not only at ES) Plain Choke packets A heavy flow is established Congestion is noticed at D A Choke packet is sent to A The flow is reduced at A The flow is reduced at D A BC D EF Hop-by-hop Choke packets A heavy flow is established Congestion is noticed at D A Choke packet is sent to A The flow is reduced at F The flow is reduced at D A BC D EF

01. Apr INF-3190: Congestion Control Repair with Fair Queuing Background End-system adapting to traffic (e.g. by Choke-Packet algorithm) should not be disadvantaged Principle On each outgoing line each end-system receives its own queue Packet sending based on Round-Robin (always one packet of each queue (sender)) Enhancement "Fair Queuing with Byte-by-Byte Round Robin“ Adapt Round-Robin to packet length But weighting is not taken into account Enhancement "Weighted Fair Queuing“ Favoring (statistically) certain traffic Criteria variants In relation to VPs (virtual paths) Service specific (individual quality of service) etc.