Congestion Control (from Chapter 05)

Slides:



Advertisements
Similar presentations
EE 4272Spring, 2003 Chapter 12 Congestion in Data Networks Effect of Congestion Control  Ideal Performance  Practical Performance Congestion Control.
Advertisements

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.
Principles of Congestion Control Chapter 3.6 Computer Networking: A top-down approach.
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.
24.1 Chapter 24 Congestion Control and Quality of Service Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
William Stallings Data and Computer Communications 7th Edition
CS 408 Computer Networks Congestion Control (from Chapter 05)
Congestion in Data Networks
Chapter 10 Congestion Control in Data Networks1 Congestion Control in Data Networks and Internets COMP5416 Chapter 10.
Semester Copyright USM EEE442 Computer Networks Congestion En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room.
Answers of Exercise 7 1. Explain what are the connection-oriented communication and the connectionless communication. Give some examples for each of the.
NETWORK LAYER. CONGESTION CONTROL In congestion control we try to avoid traffic congestion. Traffic Descriptor Traffic descriptors are qualitative values.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Congestion Dr. Abdulaziz Almulhem. Almulhem©20012 Congestion It occurs when network resources are becoming scarce High demand Over utilized Offered load.
1 K. Salah Module 5.0: Internetworking & Network Layer Basic concepts Congestion Control Routing Protocols –Flooding –Source routing –Distance vector routing.
Data Communication and Networks
Transport Layer3-1 Data Communication and Networks Lecture 8 Congestion Control October 28, 2004.
Semester Copyright USM EEE449 Computer Networks Congestion En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room.
Computer Networks Set 9 Congestion in Data Networks.
Ch. 28 Q and A IS 333 Spring Q1 Q: What is network latency? 1.Changes in delay and duration of the changes 2.time required to transfer data across.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
Chapter 2 – X.25, Frame Relay & ATM. Switched Network Stations are not connected together necessarily by a single link Stations are typically far apart.
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Sami Al-wakeel 1 Data Transmission and Computer Networks The Switching Networks.
Chapter 12 Transmission Control Protocol (TCP)
CSC 581 Communication Networks II Chapter 7c: Congestion Control Dr. Cheer-Sun Yang.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
William Stallings Data and Computer Communications Chapter 12 Congestion in Data Networks.
Chapter 10 Congestion Control in Data Networks and Internets 1 Chapter 10 Congestion Control in Data Networks and Internets.
1 Congestion and Congestion Control in Packet- Switched Networks.
Karn’s Algorithm Do not use measured RTT to update SRTT and SDEV Calculate backoff RTO when a retransmission occurs Use backoff RTO for segments until.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
William Stallings Data and Computer Communications
Congestion Control in Data Networks and Internets
Lecture (2).
Point-to-Point Network Switching
Topics discussed in this section:
Transport Layer CS 381 3/7/2017.
Chapter 3 outline 3.1 transport-layer services
William Stallings Data and Computer Communications
Congestion Control and
Packet Switching Datagram Approach Virtual Circuit Approach
Congestion Control and Resource Allocation
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.
Transport Layer Unit 5.
William Stallings Data and Computer Communications
UNIT-V TRAFFIC ANALYSIS
Congestion Control in Data Networks and Internets
Data Communication Networks
Congestion Control (from Chapter 05)
Switching Techniques.
Congestion Control (from Chapter 05)
Figure Areas in an autonomous system
Distributed Systems CS
Chapter 11. Frame Relay Background Frame Relay Protocol Architecture
Congestion Control (from Chapter 05)
CS4470 Computer Networking Protocols
Congestion Control Reasons:
TCP Overview.
Chapter 2 Switching.
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Transport Layer: Congestion Control
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Point-to-Point Network Switching
Distributed Systems CS
Presentation transcript:

Congestion Control (from Chapter 05) CS 408 Computer Networks Congestion Control (from Chapter 05)

Performance Metrics 2 important performance measures Throughput Delay Effective capacity (data rate) in bps reduced by protocol overhead Delay  Transmission delay Time for transmitter to send all bits of packet Propagation delay Time for one bit to transit from source to destination Processing delay Time required to process packet at source prior to sending, at any intermediate router or switch, and at destination prior to delivering to application We discussed these. What we did not discuss is Queuing delay: Time spend waiting in queues

Queuing Delays Queuing delays are significant in performance of communications networks Grow dramatically as system approaches to capacity In shared facility (e.g., network, transmission line, road network, checkout lines, …) performance typically responds exponentially to increased demand Queuing theory explains everything See some basics on board

What Is Congestion? Congestion occurs when the number of packets being transmitted through the network approaches the packet handling capacity of the network Data network is a network of queues If the arrival rate is larger than the transmission rate queues grow to infinity If the arrival rate is smaller than the transmission rate queues grow and congestion starts as the arrival rate approaches to the transmission rate (i.e. number of packets being transmitted through the network approaches the packet handling capacity of the network) Generally 80% utilization is critical growth in queue = more delay queue may overflow since it is of finite capacity Congestion control aims to keep number of packets below level at which performance falls off dramatically

Input and Output Queues at Node

Effects of Congestion Packets arriving are stored at input buffers Routing decision made Packet moves to appropriate output buffer Packets queued for output transmitted as fast as possible If packets arrive to fast to be routed or arrive faster than can be transmitted, buffers will fill Precautions discard packets flow control over neighbors

Effects of Congestion Flow control can propagate congestion through network

Ideal Network Performance Performance under the assumptions of infinite buffers (queues) and zero overhead for congestion control

Practical Performance Ideal assumes infinite buffers and no overhead Buffers are finite Overheads occur in exchanging congestion control messages

Practical Performance Point A: Packet discard starts at heavily congested nodes re-routing and congestion control messages cause overhead Point B: PANIC More buffers overflow Retransmission of discarded packets causes heavier traffic delay increase even successfully delivered packets are retransmitted due to timeout

Mechanisms for Congestion Control

Backpressure If node becomes congested it can slow down or halt flow of packets from its neighbors That may cause longer queues at neighbors and they do the same Propagates back to source Used in connection oriented networks that allow hop by hop flow control (e.g. X.25)

Choke Packet Control packet Generated at congested node Sent to source node e.g. ICMP source quench From router or destination Source cuts back until no more source quench messages Sent for every discarded packet, or when congestion is anticipated

Implicit Congestion Signaling With congestion transmission delay may increase Packets may be discarded Source can detect these as implicit indications of congestion and reduces the flow Intermediate systems do not need to take any action Useful on connectionless (datagram) networks, e.g. IP based No link-to-link flow control But logical connection is established in TCP level TCP has congestion and flow control mechanisms

Explicit Congestion Signaling Network alerts end systems of increasing congestion End systems take steps to reduce offered load Backward notifies the source about congestion Forward notifies the destination about congestion Notification information could be added to data packets

Categories of Explicit Signaling Binary A bit set in a packet indicates congestion When received, source reduces traffic Credit based Indicates how many packets source may send Common for end-to-end flow control, but also used for congestion control Rate based Supply explicit data rate limit Any node on the path can reduce the data rate

Traffic Management Issues Related to Congestion Control Fairness “discard the last received” is not fair multiple queues for multiple source-destination socket pairs (logical connections) Quality of service different priorities for different connection types (voice, video, email, network management, etc.) Some types of traffic are less important than the others in the case of congestion Reservations congestion avoidance mechanism traffic contract between user and network network makes necessary reservations to keep its promise user tries not to overuse the reserved capacity Traffic policing: compares the actual traffic with the one in contract Integral part of ATM and RSVP protocol of IP-based internets