Congestion Dr. Abdulaziz Almulhem. Almulhem©20012 Congestion It occurs when network resources are becoming scarce High demand Over utilized Offered load.

Slides:



Advertisements
Similar presentations
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
Advertisements

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.
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
1 TCP Congestion Control. 2 TCP Segment Structure source port # dest port # 32 bits application data (variable length) sequence number acknowledgement.
CS 408 Computer Networks Congestion Control (from Chapter 05)
Chapter 12 TCP Traffic Control Chapter 12 TCP Traffic Control.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Introduction to Congestion Control
Transport Layer 3-1 Fast Retransmit r time-out period often relatively long: m long delay before resending lost packet r detect lost segments via duplicate.
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Third Ed.,Peterson.
CSEE W4140 Networking Laboratory Lecture 7: TCP flow control and congestion control Jong Yul Kim
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.
CSEE W4140 Networking Laboratory Lecture 7: TCP congestion control Jong Yul Kim
Computer Networks : TCP Congestion Control1 TCP Congestion Control.
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.
Data Communication and Networks
Congestion Avoidance and Control CSCI 780, Fall 2005.
Networks : TCP Congestion Control1 TCP Congestion Control.
Semester Copyright USM EEE449 Computer Networks Congestion En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room.
Networks : TCP Congestion Control1 TCP Congestion Control Presented by Bob Kinicki.
Advanced Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth.
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 E2E Protocols (point-to-point)
TCP: flow and congestion control. Flow Control Flow Control is a technique for speed-matching of transmitter and receiver. Flow control ensures that a.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley Chapter3_3.
CS 4396 Computer Networks Lab
Principles of Congestion Control Congestion: informally: “too many sources sending too much data too fast for network to handle” different from flow control!
CIS : TCP Traffic Control. Effect of Window Size W = TCP window size (octets) R = Data rate (bps) at TCP source D = Propagation delay (seconds)
1 Transport Protocols (continued) Relates to Lab 5. UDP and TCP.
1 TCP III - Error Control TCP Error Control. 2 ARQ Error Control Two types of errors: –Lost packets –Damaged packets Most Error Control techniques are.
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
TCP: Transmission Control Protocol Part II : Protocol Mechanisms Computer Network System Sirak Kaewjamnong Semester 1st, 2004.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
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.
Spring 2009CSE Congestion Control Outline Resource Allocation Queuing TCP Congestion Control.
By N.Gopinath AP/CSE Unit: III Introduction to Transport layer.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
Congestion Avoidance and Control Van Jacobson and Michael Karels Presented by Sui-Yu Wang.
Advance Computer Networks Lecture#09 & 10 Instructor: Engr. Muhammad Mateen Yaqoob.
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.
TCP Congestion Control 컴퓨터공학과 인공지능 연구실 서 영우. TCP congestion control2 Contents 1. Introduction 2. Slow-start 3. Congestion avoidance 4. Fast retransmit.
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.
Chapter 12 TCP Traffic Control 1 Chapter 12 TCP Traffic Control.
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
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.
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Transmission Control Protocol (TCP) Retransmission and Time-Out
Internet Networking recitation #9
Chapter 3 outline 3.1 transport-layer services
Introduction to Congestion Control
Chapter 3 outline 3.1 Transport-layer services
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
William Stallings Data and Computer Communications
So far, On the networking side, we looked at mechanisms to links hosts using direct linked networks and then forming a network of these networks. We introduced.
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
TCP Overview.
TCP III - Error Control TCP Error Control.
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Transport Layer: Congestion Control
Chapter 3 outline 3.1 Transport-layer services
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Presentation transcript:

Congestion Dr. Abdulaziz Almulhem

Almulhem©20012 Congestion It occurs when network resources are becoming scarce High demand Over utilized Offered load exceeds throughput

Almulhem©20013 Ideal case: Infinite buffers

Almulhem©20014 Practical case: finite buffers

Almulhem©20015 Taxonomy Router-Centric vs. Host-Centric Routers takes responsibility for forwarding decisions. Host observes the network behavior and make decisions.

Almulhem©20016 Taxonomy Reservation-Based vs. Feedback- Based Resources are allocated based on request

Almulhem©20017 Congestion Control Proactive vs. Reactive Backpressure Choke packets Implicit congestion control Explicit congestion control Policing

Almulhem©20018

9 Taxonomy Window-Based vs. Rate-Based Same terminology applies to flow control; however congestion control deals with resource allocation.

Almulhem© TCP Congestion Control Congestion control in TCP/IP is complex and difficult, because: IP is connectionless: no way to provision congestion TCP is end-to-end: deduces indirectly presence of congestion TCP entities cannot cooperate to maintain certain level of flow (greedy way)

Almulhem© TCP Flow Control The rate at which TCP source can send data is determined by the rate at which acknowledgements are received. Rate of Ack arrival is determined by the bottleneck in the roundtrip path. TCP automatically senses the network bottleneck and regulates its flow accordingly TCP ’ s self-clocking

Almulhem© Network Congestion

Almulhem© Destination Congestion

Almulhem© Improving Performance Retransmission timer management: The value has a critical effect on TCP reaction to congestion: RTT variance estimation Exponential RTO backoff Karn ’ s algorithm

Almulhem© Improving Performance Window management Managing the size of the send window has a critical effect on TCP Slow start Dynamic window sizing on congestion Fast retransmit Fast recovery

Almulhem© Slow start To avoid reaching congestion levels quickly, the window size is incremented progressively. Upon receiving an Ack for a specific segment, the window is incremented by 2.

Almulhem© Dynamic Window Sizing Slow start is effective for initializing a connection This can grow infinitely however at some point in time resources will fill and a segment will get lost (congestion) What to do? Reset window to 1 and start all over (not practical, congestion may repeat) Caution could be possible

Almulhem© Congestion detection Congestion recovery Congestion avoidance

Almulhem© Fast Retransmit Instead of reacting to lost segments by setting the window to 1 Ack for missing segment will be received; however sender will continue sending subsequent segments. If three duplicate Acks are received, that segment is retransmitted regardless of time out.

Almulhem© Fast Recovery Since duplicate Ack are getting through fairly regularly, then there is no point to set window to 1. Better to cut window to half Proceed with increasing window size linearly (congestion avoidance)

Almulhem©200121