Congestion Control (from Chapter 05)

Slides:



Advertisements
Similar presentations
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.
Advertisements

EE 4272Spring, 2003 Chapter 12 Congestion in Data Networks Effect of Congestion Control  Ideal Performance  Practical Performance Congestion Control.
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 T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System.
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.
William Stallings Data and Computer Communications 7th Edition
CS 408 Computer Networks Congestion Control (from Chapter 05)
Chapter 10 Congestion Control in Data Networks1 Congestion Control in Data Networks and Internets COMP5416 Chapter 10.
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.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Transport Layer.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
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.
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)
1 Congestion Control Computer Networks. 2 Where are we?
CSC 581 Communication Networks II Chapter 7c: Congestion Control Dr. Cheer-Sun Yang.
Chapter 16 Protocols and Layering. Network Communication Protocol an agreement that specifies the format and meaning of messages computers exchange Network.
© 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.
Congestion Control in Data Networks and Internets
Lecture (2).
Topics discussed in this section:
Chapter 3 outline 3.1 transport-layer services
William Stallings Data and Computer Communications
COMP 431 Internet Services & Protocols
Introduction to Congestion Control
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, Internet transport protocols: udp
CONGESTION CONTROL.
Transport Layer Unit 5.
William Stallings Data and Computer Communications
UNIT-V TRAFFIC ANALYSIS
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 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
CS4470 Computer Networking Protocols
Congestion Control Reasons:
TCP Overview.
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Transport Layer: Congestion Control
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Computer Networks Protocols
Congestion Control and Resource Allocation
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 (trans. delay for non-data bits, propagation, queueing and processing delays) 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 spent while 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 worsens exponentially as the demand approaches to the capacity Queuing theory explains everything See some basic formulations on the board These are included in the exam (if you were absent in this lecture, please obtain the notes from a friend)

What Is Congestion? -1 Data network is a network of queues Congestion occurs when the number of packets being transmitted through the network approaches the packet handling capacity of the network Input and Output Queues at a Network Node

What Is Congestion? - 2 If the arrival rate is larger than the transmission rate, queues grow to infinity  unresolvable congestion 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 queues may overflow since it is of finite capacity Congestion control aims to keep number of packets below the level at which performance starts to degrade dramatically

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, input buffers will fill up arrive faster than can be transmitted, output buffers will fill up 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 However in real life 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 delays 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 Not a sophisticated method

Implicit Congestion Signaling With congestion 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 For which there is no link-to-link flow control But logical connection is established in TCP level TCP has acknowledgment and flow control mechanisms that helps implicit congestion signalling (will see the details later)

Explicit Congestion Signaling Network alerts end systems of increasing congestion End systems take actions to reduce offered load Backward notifies the source about congestion Forward notifies the destination about congestion Notification information is 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 Explicit data rate limit is supplied to the source by the nodes in the network. Implementation of ECN in TCP/IP will be discussed later

Traffic Management Issues Related to Congestion Control Fairness “discard the last received” is not fair A fair approach: multiple queues for multiple source-destination socket pairs (logical connections); all equal length 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