Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #07 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”

Slides:



Advertisements
Similar presentations
7. 7 Chapter 13 Transmission Control Protocol (TCP) Retransmission and Time-Out.
Advertisements

1 Improving TCP Performance over Mobile Networks HALA ELAARAG Stetson University Speaker : Aron ACM Computing Surveys 2002.
TCP Congestion Control
Computer Networks Transport Layer. Topics F Introduction (6.1)  F Connection Issues ( ) F TCP (6.4)
Winter 2008CS244a Handout #61 CS244a: An Introduction to Computer Networks Handout 6: The Transport Layer, Transmission Control Protocol (TCP), and User.
Congestion Control Created by M Bateman, A Ruddle & C Allison As part of the TCP View project.
Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth Edition,Peterson.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Spring 2007, Exam 1 SOLUTIONS Time: 75 min (strictly enforced)
School of Information Technologies TCP Congestion Control NETS3303/3603 Week 9.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #05: SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-4690: Experimental Networking Informal Quiz: TCP Shiv Kalyanaraman:
Introduction to Congestion Control
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 TCP (Part II) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
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.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 TCP Congestion Control: AIMD and Binomial Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
CS 268: Wireless Transport Protocols Kevin Lai Feb 13, 2002.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-4963: Experimental Networking Informal Quiz Shivkumar Kalyanaraman:
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.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Informal Quiz 3 True or False? T F  The Nagle algorithm in TCP is intended to allow the ack.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz Shivkumar Kalyanaraman: Informal.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-4670: Computer Communications Netwoks Exam 1: SOLUTIONS Time: 75 min (strictly enforced)
TCP in Heterogeneous Network Md. Ehtesamul Haque # P.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1-1 TCP Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
Advanced Computer Networks: TCP Congestion Control 1 TCP Congestion Control Lecture material taken from “Computer Networks A Systems Approach”, Fourth.
Rensselaer Polytechnic Institute © Shivkumar Kalvanaraman & © Biplab Sikdar1 ECSE-4670: Computer Communication Networks (CCN) Informal Quiz 1 Shivkumar.
CMPE 257 Spring CMPE 257: Wireless and Mobile Networking Spring 2005 E2E Protocols (point-to-point)
1 K. Salah Module 6.1: TCP Flow and Congestion Control Connection establishment & Termination Flow Control Congestion Control QoS.
TCP Congestion Control
1 A Comparison of Mechanisms for Improving TCP Performance over Wireless Links Course : CS898T Instructor : Dr.Chang - Swapna Sunkara.
2: Application Layer 1 1DT066 Distributed Information System Chapter 3 Transport Layer.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-4670: Computer Communication Networks (CCN) Informal Quiz 1 (Solutions) Shivkumar Kalyanaraman:
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 TCP (Part II) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Informal Quiz 2 True or False? T F  The IP checksum protects the entire IP datagram 
Ch 3. Transport Layer Myungchul Kim
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.
Networks Lab, RPI An End-to-End Transport Protocol for Extreme Wireless Network Environments Vijay Subramanian, Shiv Kalyanaraman (Rensselaer Polytechnic.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #03 SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
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.
1 Transport Protocols (continued) Relates to Lab 5. UDP and TCP.
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.
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.
Wireless TCP. References r Hari Balakrishnan, Venkat Padmanabhan, Srinivasan Seshan and Randy H. Katz, " A Comparison of Mechanisms for Improving TCP.
Lecture 9 – More TCP & Congestion Control
What is TCP? Connection-oriented reliable transfer Stream paradigm
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March
CS640: Introduction to Computer Networks Aditya Akella Lecture 15 TCP – III Reliability and Implementation Issues.
Computer Networking Lecture 18 – More TCP & Congestion Control.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
TCP/IP Over Satellites SJSU, CMPE 206, Spring 1998 Kofi Weusi-Puryear Sridhar Dhulipala Sanjay Jain Tejaswi Redkar.
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.
TCP OVER ADHOC NETWORK. TCP Basics TCP (Transmission Control Protocol) was designed to provide reliable end-to-end delivery of data over unreliable networks.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Spring 2007, Exam 1 Time: 75 min (strictly enforced) Points: 50.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
1 Advanced Transport Protocol Design Nguyen Multimedia Communications Laboratory March 23, 2005.
Peer-to-Peer Networks 13 Internet – The Underlay Network
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.
CSEN 404 Transport Layer II Amr El Mougy Lamia AlBadrawy.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Ch 3. Transport Layer Myungchul Kim
Computer Networking Lecture 8 – TCP & Congestion Control.
Chapter 3 outline 3.1 transport-layer services
COMP 431 Internet Services & Protocols
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.
TCP Congestion Control
ECSE-4670: Computer Communication Networks (CCN)
Review of Internet Protocols Transport Layer
Presentation transcript:

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #07 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI” Informal Quiz #07 Shivkumar Kalyanaraman: GOOGLE: “Shiv RPI”

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 2 UDP/TCP: Informal Quiz

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 3 UDP/TCP  UDP provides congestion control services to applications using it.  UDP provides multiplexing and demultiplexing services to applications using it.  UDP provides error correction services to applications using it.  UDP is minimally necessary because IP does not provide port-number space for applications.  UDP is a connection-oriented protocol  UDP uses a 32-bit CRC as its error detection method.  TCP can re-assemble IP fragments  TCP provides a reliable packet-stream service  TCP provides reliability by using strong FEC codes  Today’s versions of TCP use ACKs, duplicate ACKs and SACKs  TCP can recover from both packet loss and packet duplication in the network  TCP uses a 32 bit sequence number for its reliability mechanisms  TCP uses explicit NAKs in its window-based recovery and flow-control scheme  Even the 3-way handshake in TCP is robust to packet losses and duplication.  Path-MTU refers to the procedure of finding the minimum MTU of the path to reduce the probability of fragmentation.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 4 TCP  The link MTU is equal to the TCP MSS after the path-MTU procedure.  TCP is connection-oriented because it explicitly sets up a path from source to destination via a signaling protocol (I.e. the SYN/ACK mechanism)  Selective repeat is significantly more efficient than go-back-N only for occasional packet losses and large window sizes.  Go-back-N requires out-of-order buffering support at receivers.  TCP handles variable RTT by setting its timeout variable to a large, fixed value  TCP is called “self-clocking” because the source sends traffic whenever it likes  TCP by default uses a selective retransmission policy  The RFC 793 RTT estimator could only tolerate variances of upto 30%  The TCP congestion control algorithm is stable because it detects congestion reliably and its rate of window decrease is faster than its rate of window increase  TCP’s use of cumulative acks reduces the need for any timeout/retransmission of acks  Karn’s algorithm would be triggered often on a wireless or radio link which is very lossy  A two-way handshake is sufficient for the robust setup of a half-duplex connection, but a three-way handshake is necessary for the robust setup of a full- duplex connection

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5 TCP  If timeouts are not used, in general, packet or ack-losses cannot be recovered from  A duplicate ack gives the same information as a NAK, but it presumes the notion of a sequence number  Sequence numbers allow the detection of duplicate packets, but the sequence number space must be sized sufficiently large compared to the window size depending upon the retransmission algorithm (go-back-N or selective-repeat) used.  In a lossless network, window-based transmission can achieve full utilization  TCP sets its RTO to an average RTT measure + 4*mean deviation of RTT, based upon Chebyshev’s theorem  Retransmission ambiguity would not occur if timestamps were used on packets.  Self-clocking of TCP can be a liability in asymmetric networks where the reverse path can artifically constrain the forward path.  Self-clocking can also lead to burstiness if the reverse path is congested, and/or the receiver uses a delay-ack time to suppress ACKs.  The end-to-end congestion control model is the only one that can guarantee avoidance of congestion collapse.  The notions of efficiency and fairness define an equilibrium point to which congestion control algorithms attempt to converge.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 6 TCP…  A stable congestion control algorithm converges to its equilibrium point.  TCP uses additive-increase and multiplicative-decrease to probe for the equilibrium point.  In the (w,α) notion of fairness, α = 1 leads to max-min fairness.  In equilibrium, TCP attempts to conserve packets and operate at high utilization.  TCP does not guarantee low queueing delays because it depends upon packet loss for congestion detection  Fast retransmit refers to the procedure of using three duplicate acks to infer packet loss  TCP Tahoe sets its window to 1 after every loss detection  TCP Reno may timeout quickly in a multiple packet loss scenario  TCP SACK uses selective retransmit, and like NewReno, it does not reduce its window more than once per window of packets  With a 28kbps reverse link & 1500 byte packets & regular TCP behavior, the forward link throughput is at most around 2 Mbps  Header compression and link level ack suppression/regeneration could help in asymmetric bandwidth scenarios