1 689 Lecture 2 Review of Last Lecture Networking basics TCP/UDP review.

Slides:



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

CSE551: Computer Network Review r Network Layers r TCP/UDP r IP.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
Introduction 1 Lecture 14 Transport Layer (Transmission Control Protocol) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer.
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Chapter 3 Transport Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 12.
1 EE 627 Lecture 11 Review of Last Lecture UDP & Multimedia TCP & UDP Interaction.
Transport Layer 3-1 outline r TCP m segment structure m reliable data transfer m flow control m 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.
TDC365 Spring 2001John Kristoff - DePaul University1 Internetworking Technologies Transmission Control Protocol (TCP)
Transport Layer3-1 Congestion Control. Transport Layer3-2 Principles of Congestion Control Congestion: r informally: “too many sources sending too much.
Transport Layer 3-1 Outline r TCP m Congestion control m Flow control.
1 EE 689 Lecture 3 Review of Last Lecture UDP & Multimedia TCP & UDP Interaction.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
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
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
2: Application Layer 1 1DT066 Distributed Information System Chapter 3 Transport Layer.
UDP© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
EEC-484/584 Computer Networks Lecture 6 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
1 Transport Layer Computer Networks. 2 Where are we?
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 Layer 4 2: Transport Layer 4.
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.
Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Transport Layer1 Flow and Congestion Control Ram Dantu (compiled from various text books)
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_b Transport Protocols - TCP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
TCP CS 168 Discussion Week 6 Many thanks to past EE 122 GSIs.
Transport Layer Moving Segments. Transport Layer Protocols Provide a logical communication link between processes running on different hosts as if directly.
CSE679: Computer Network Review r Review of the uncounted quiz r Computer network review.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
1 Transport Layer Lecture 10 Imran Ahmed University of Management & Technology.
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.
By N.Gopinath AP/CSE Unit: III Introduction to Transport layer.
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.
1 John Magee 20 February 2014 CS 280: Transport Layer: Congestion Control Concepts, TCP Congestion Control Most slides adapted from Kurose and Ross, Computer.
Advance Computer Networks Lecture#09 & 10 Instructor: Engr. Muhammad Mateen Yaqoob.
Transport Protocols.
79 Sidevõrgud IRT 4060/ IRT 0020 vooruloeng 8 / 3. nov 2004 Vooülekanne Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
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.
Peer-to-Peer Networks 13 Internet – The Underlay Network
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 3: Transport.
CIS679: TCP and Multimedia r Review of last lecture r TCP and Multimedia.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Transport Layer3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach Featuring the Internet, 4th edition. Jim Kurose, Keith Ross Chapter.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
CIS679: UDP and Multimedia r Review of last lecture r UDP and multimedia.
Master’s Project Presentation
TCP Lecture 4.
Instructor Materials Chapter 9: Transport Layer
Transport Layer CS 381 3/7/2017.
Chapter 3 outline 3.1 transport-layer services
Chapter 6 TCP Congestion Control
COMP 431 Internet Services & Protocols
TCP.
Chapter 3 outline 3.1 Transport-layer services
TCP.
Introduction of Transport Protocols
CSE679: Multimedia and Networking
Flow and Congestion Control
Chapter 6 TCP Congestion Control
CS4470 Computer Networking Protocols
TCP Overview.
Transport Layer: Congestion Control
Chapter 3 outline 3.1 Transport-layer services
Process-to-Process Delivery: UDP, TCP
TCP flow and congestion control
Computer Networks Protocols
Presentation transcript:

1 689 Lecture 2 Review of Last Lecture Networking basics TCP/UDP review

2 Multimedia Applications Video-on-demand Near-video-on-demand Interactive games Teleconferencing IP Telephony Training/Travel videos

3 Multimedia Requirements Guarantees over long periods of time Throughput guarantees Audio requires loss/delay guarantees Interactive apps. Require low delay Visual Perception allows adaptivity Audio not as forgiving as video

4 Multimedia requirements CBR VBR Variable bit rate places extra burden Systems/devices/network support harder Adaptive applications compensate for bandwidth/performance degradation and packet losses.

5 Typical System

6 Delivering multimedia Network transport layers responsible

7 Transport layers TCP/UDP

8 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol

9 TCP Header

10 TCP flow control Window based Sender cannot send more data than a window without acknowledgements. Window is a minimum of receiver’s buffer and ‘congestion window’. After a window of data is transmitted, in steady state, acks control sending rate.

11 Flow control

12 Flow control Congestion window is increased gradually At the beginning, set cwnd = 1 For each ack, double the cwnd until a threshold Increase by 1 for a window of acks after that.

13 Slow Start

14 Additive Increase

15 Reliable delivery Sender, Receiver keep track of bytes sent and bytes received. Acks have an indication of next byte expected. Three duplicate acks considered a packet loss - sender retransmits

16 Reliable Delivery

17 Congestion Control Traffic on the network is constantly changing. Packets may be lost due to transmission errors, switch buffer overflows, receiver buffer overflows. Packet loss is taken as an indication of congestion.

18 Congestion Response TCP reduces sending rate on packet loss cwnd is halved on a packet loss cwnd is set to 1 on a timeout TCP follows -- Multiplicative Decrease and Additive Increase policy for window adjustments

19 Congestion Response Queue length reduction takes qudratic time Multiplicative decrease allows sufficient time to reduce queue lengths -- Jacobson Jain -- Multiplicative decrease and additive increase allows ‘fair’ sharing of bandwidth. TCP -- ‘good’ citizen - allows fair sharing, avoids congestion collapse.

20 Congestion Response

21 TCP Congestion Response TCP responds to congestion. Increases window size until a packet loss This allows maximization of utilization. No Congestion avoidance mechanism Number of Proposals - TCP Vegas -- includes a rate adjustment mechanism based on observed delay.

22 DECbit Indicate congestion by setting a bit in the packet. Receiver echoes the bit to the sender. Sender adjusts sending rate based on percentage of marked packets. Avoids congestion before it happens Reduces the stair-case affect of TCP.

23 TCP and multimedia Reliable delivery not needed for multimedia Timely delivery more important than in- order delivery. Late packet can be thrown away TCP’s reliability gets in the way.

24 UDP Unreliable Datagram Protocol

25 UDP Provides multiplexing and demultiplexing of sources. No reliability, flow control, congestion control. Sends data in a burst. Most multimedia applications using UDP

26 UDP and multimedia Put flow control, congestion control into application. Retransmit if packet deadline not past Move on if packet deadline is past Don’t respond to Congestion Not a “nice” citizen. Possible to cause congestion collapse.

27 Summary TCP not well suited to multimedia. TCP is a well understood, ‘nice’ protocol. Multiplicative decrease/additive increase allows fair sharing of BW and avoids congestion collapse. UDP is being used by multimedia developers.