Congestion Control, Internet transport protocols: udp

Slides:



Advertisements
Similar presentations
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Advertisements

Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
TELE202 Lecture 14 TCP/UDP (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »TCP/UDP (1) »Source: chapter 17 ¥This Lecture »TCP/UDP (2) »Source: chapter.
CS 408 Computer Networks Congestion Control (from Chapter 05)
UDP - User Datagram Protocol UDP – User Datagram Protocol Author : Nir Shafrir Reference The TCP/IP Guide - ( Version Version.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Transport Layer.
Gursharan Singh Tatla Transport Layer 16-May
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
Process-to-Process Delivery:
Congestion Control, the Internet Transport Protocols, and UDP By: Mike Krupinski and Jaesma Woods.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Congestion Control, Internet Transport Protocols: UDP
Wireless TCP Prasun Dewan Department of Computer Science University of North Carolina
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
COP 5611 Operating Systems Spring 2010 Dan C. Marinescu Office: HEC 439 B Office hours: M-Wd 2:00-3:00 PM.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
1 User Datagram Protocol. 2 Transport Protocols Provide logical communication between application processes running on different hosts Run on end hosts.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Congestion Control: UDP. What is Congestion Control? Refers to the management of packet loss and signal degradation Handled by both Network and Transport.
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
3. END-TO-END PROTOCOLS (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 22 March
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 8 TCP/IP Suite Error and Control Messages.
BASICS Gabriella Paolini (GARR) 27/05/11 - ICCU Roma 1 How INTERNET works !
The Data Link Layer RIS 251 Dr. ir. S.S. Msanjila.
The Transport Layer introduction fundamental problems in networking
Distributed Systems 11. Transport Layer
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
The Transport Layer Implementation Services Functions Protocols
The Transport Layer Congestion Control & UDP
Fast Retransmit For sliding windows flow control we waited for a timer to expire before beginning retransmission of a packet TCP uses an additional mechanism.
Lecture (2).
Unit-7 The Transport Layer.
5. End-to-end protocols (part 1)
Transport Layer.
Process-to-Process Delivery, TCP and UDP protocols
OSI Protocol Stack Given the post man exemple.
Chapter 14 User Datagram Program (UDP)
Understand the OSI Model Part 2
NET323 D: Network Protocols
Subject Name: Computer Communication Networks Subject Code: 10EC71
Transport Layer Unit 5.
Multimedia and Networks
NET323 D: Network Protocols
Process-to-Process Delivery:
CS412 Introduction to Computer Networking & Telecommunication
Congestion Control (from Chapter 05)
Advanced Computer Networks
Congestion Control (from Chapter 05)
Congestion Control, Internet Transport Protocols: UDP
CPEG514 Advanced Computer Networkst
Net 323 D: Networks Protocols
Network Architecture for Cyberspace
Data Link Layer 2019/2/19.
Distributed Systems CS
Congestion Control (from Chapter 05)
CSE 313 Data Communication
TCP Overview.
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
Congestion Control (from Chapter 05)
The Transport Layer Chapter 6.
Congestion Control (from Chapter 05)
Process-to-Process Delivery: UDP, TCP
Congestion Control (from Chapter 05)
Computer Networks Protocols
NET 323D: Networks Protocols
Transport Layer 9/22/2019.
Distributed Systems CS
Presentation transcript:

Congestion Control, Internet transport protocols: udp

Congestion control Congestion occurs when machines send too many packets to a network too quickly from the transport layer. Performance will become degraded as packets are dropped and lost. The only effective way to control congestion is for the transport protocols to send packets into the network more slowly. How can we regulate traffic? Bandwidth allocation.

Power = load / delay In 1979, Kleinrock proposed a metric of power in which the load with the highest power represents an efficient load for the transport entity to place on the network. IP routers often have connections competing for the same bandwidth. Congestion control mechanisms assist in allocation.

Max/min fairness and convergence Resources are allocated in order of increasing demand No source gets a resource share larger than its demand Source with unsatisfied demands get an equal share of the resources Congestion control algorithm must converge quickly to a fair and efficient allocation of bandwidth through different types of networks.

Regulating the Sending Rate Sending rate is limited by two factors Flow Control (insufficient buffering at the receiver) Congestion (insufficient capacity in the network)

Regulating the Sending Rate The transport protocol regulates the sending rate based on feedback from the network Feedback can be: Explicit, precise would be when routers tell the sources the rate at which they may send An example of explicit, imprecise would be ECN(Explicit Congestion Notification)

AIMD Additive Increase Multiplicative Decrease Congestive control law to arrive at the efficient and fair operating point

Wireless Issues Transport protocols such as TCP that implement congestion control should be independent of the underlying network and link layer technologies. Good theory, but in practice there are issues with wireless networks. Main issue is that packet loss is often used as a congestion signal. Wireless networks lose packets all the time due to transmission errors.

Wireless Issues With the AIMD control law, high throughput requires very small levels of packet loss. Analyses by Padhye et al. (1998) show that the throughout goes up as the inverse square-root of the packet loss rate. What this means in practice is that the loss rate for fast TCP connections is very small; 1% is a moderate loss rate, and by the time the loss rate reaches 10% the connection has effectively stopped working. However, for wireless networks such as 802.11 LANs, frame loss rates of at least 10% are common. This difference means that, absent protective measures, congestion control schemes that use packet loss as a signal will unnecessarily throttle connections that run over wireless links to very low rates.

Wireless Issues To function well, the only packet losses that the congestion control algorithm should observe are losses due to insufficient bandwidth, not losses due to transmission errors. One solution to this problem is to mask the wireless losses by using retransmissions over the wireless link. For example, 802.11 uses a stop-and-wait protocol to deliver each frame, retrying transmissions multiple times if need be before reporting a packet loss to a higher layer.

Wireless Issues Another issue with congestion control over wireless links is variable capacity. That is, the capacity of a wireless link changes over time, sometimes abruptly, as nodes move and the signal-to-noise ratio varies with the changing channel conditions. This is unlike wired links whose capacity is fixed. One solution: don’t worry about it! No need to worry because congestion control algorithms must already handle the case of new users entering the network or existing users changing their sending rates.

UDP (User Datagram Protocol) Connectionless transport layer protocol It provides a way for applications to send encapsulated packets without an established connection. Each segment sent by UDP consists of 4 parts. Source Destination Length Checksum Segments are sent without previous connection attempts and missing segments are not re-sent.

Remote Procedure Call (RPC) The basis for many networking applications Allows a computer program to execute procedures in a different address space, such as another computer on a network All of the actions occur at Runtime and thus, the programmer can write the same code whether the procedure is local to the executing program or remote.

How RPC Works Client calls the Stub Client Stub packages into a message, system calls to send OS sends packets from Client to Server Server OS passes the packets to the Server Stub Server Stub unpacks the message Server Stub calls the unpacked procedure Server reply is carried out in the same way in reverse order

RPC Disadvantages Remote calls can fail due to unpredictable network issues Callers have to deal with these failures without knowing if the remote procedure was actually invoked or not

Real-time Transport Protocol (RTP) Transport-layer protocol that is designed for end-to-end transfer of streaming media. (Skype, Discord, Twitch, Google Hangouts, etc.) Provides facilities for jitter compensation and detection of out of sequence arrivals of data. Multiplexes multiple data streams onto a single stream of UDP packets Multicast, sends to a group of hosts on a network

RTP Continued RTP placement in protocol stack (Built into OS) Payload nesting within packets

Real-Time Transport Control Protocol (RTCP) Sister protocol of RTP RTCP does not send data itself, it only facilitates with the delivery of audio and video data within RTP Serves to provide useful feedback on the data delivered Quality of service: packet counts, delay, packet loss, etc.

The end