6.033 Lecture 12 – TCP details & Intro to Internet Routing Samuel Madden Key ideas: slow start reordering buffer path vector routing Hands-on 3 due tomorrow;

Slides:



Advertisements
Similar presentations
The Transmission Control Protocol (TCP) carries most Internet traffic, so performance of the Internet depends to a great extent on how well TCP works.
Advertisements

CSCI-1680 Transport Layer II Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
TCP Variants.
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 2 TCP/IP Fundamentals.
By Arjuna Sathiaseelan Tomasz Radzik Department of Computer Science King’s College London EPDN: Explicit Packet Drop Notification and its uses.
TCP Congestion Control Dina Katabi & Sam Madden nms.csail.mit.edu/~dina 6.033, Spring 2014.
Congestion Control: TCP & DC-TCP Swarun Kumar With Slides From: Prof. Katabi, Alizadeh et al.
Leveraging Multiple Network Interfaces for Improved TCP Throughput Sridhar Machiraju, Prof. Randy Katz.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #11 TCP Eiffel (RFC 3522)
CSEE W4140 Networking Laboratory Lecture 7: TCP flow control and congestion control Jong Yul Kim
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #7 TCP New Reno Vs. Reno.
1 Internet Networking Spring 2002 Tutorial 10 TCP NewReno.
1 Lecture 9: TCP and Congestion Control Slides adapted from: Congestion slides for Computer Networks: A Systems Approach (Peterson and Davis) Chapter 3.
1 TCP Transport Control Protocol Reliable In-order delivery Flow control Responds to congestion “Nice” Protocol.
CSEE W4140 Networking Laboratory Lecture 7: TCP congestion control Jong Yul Kim
1 Internet Networking Spring 2006 Tutorial 10 The Eifel Detection Algorithm for TCP RFC 3522.
1 Internet Networking Spring 2004 Tutorial 10 TCP NewReno.
Computer Networks Transport Layer. Topics F Introduction  F Connection Issues F TCP.
1 Reliability & Flow Control Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof. Dina Katabi.
L13: Sharing in network systems Dina Katabi Spring Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
TCP Congestion Control
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
CSE 461 University of Washington1 Topic The sliding window algorithm – Pipelining and reliability – Building on Stop-and-Wait Yeah! Network.
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.
CSE679: Computer Network Review r Review of the uncounted quiz r Computer network review.
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
HighSpeed TCP for High Bandwidth-Delay Product Networks Raj Kettimuthu.
CS244A Midterm Review Ben Nham Some slides derived from: David Erickson (2007) Paul Tarjan (2007)
Copyright © Lopamudra Roychoudhuri
Computer Networking Lecture 18 – More TCP & Congestion Control.
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:
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
Review of key networking techniques: –Reliable communication over unreliable channels –Error detection and correction –Medium access control –routing –Congestion.
Recap of Lecture 19 If symptoms persist, please consult Dr Jacobson.
Internet and Intranet Protocols and Applications The Internet: Delay, Errors, Detection February, 2002 Joseph Conron Computer Science Department New York.
CS/EE 145A Reliable Transmission over Unreliable Channel II Netlab.caltech.edu/course.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Congestion Control 0.
Peer-to-Peer Networks 13 Internet – The Underlay Network
Fall 2004FSU CIS 5930 Internet Protocols1 Second phase of the project Please check some networking textbooks for details on TCP and OSPF.
CSE/EE 461 Sliding Windows and ARQ. 2 Last Time We finished up the Network layer –Internetworks (IP) –Routing (DV/RIP, LS/OSPF) It was all about routing:
TCP as a Reliable Transport. How things can go wrong… Lost packets Corrupted packets Reordered packets …Malicious packets…
Computer Networking Lecture 10 – TCP & Routers.
1 End-to-End Protocols UDP TCP –Connection Establishment/Termination –Sliding Window Revisited –Flow Control –Congestion Control –Adaptive Timeout.
CIS679: TCP and Multimedia r Review of last lecture r TCP and Multimedia.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
1 Flow & Congestion Control Some slides are from lectures by Nick Mckeown, Ion Stoica, Frans Kaashoek, Hari Balakrishnan, and Sam Madden Prof. Dina Katabi.
By, Nirnimesh Ghose, Master of Science,
Transmission Control Protocol (TCP) Retransmission and Time-Out
Chapter 6 TCP Congestion Control
Introduction to Networks
ECEN “Internet Protocols and Modeling”
Precept 2: TCP Congestion Control Review
PUSH Flag A notification from the sender to the receiver to pass all the data the receiver has to the receiving application. Some implementations of TCP.
Other Methods of Dealing with Congestion
Chapter 6 TCP Congestion Control
ECEN “Internet Protocols and Modeling”
Selective repeat Protocol
CS640: Introduction to Computer Networks
RAP: Rate Adaptation Protocol
CS4470 Computer Networking Protocols
9: Pipelined Protocols and RTT
Project 3 Flow and congestion control
Introduction to Computer Networks
Computer Networks: Transmission Control Protocol (TCP)
Review of Internet Protocols Transport Layer
Congestion Michael Freedman COS 461: Computer Networks
Lecture 6, Computer Networks (198:552)
Presentation transcript:

6.033 Lecture 12 – TCP details & Intro to Internet Routing Samuel Madden Key ideas: slow start reordering buffer path vector routing Hands-on 3 due tomorrow; DP1 due Thursday (or.pdf)

Congestion collapse

Basic TCP Protocol timeout= b * RTT (or RTT + b * stddev) wsize = 1 //window size in # outstanding TCP segments on ack: wsize = min(wsize + 1/wsize, receiver window) timeout = b * RTT on retry timer timeout: timeout = timeout * 2 wsize = max(1, wsize/2) Note that the algorithm presented in class (and previous version of these slides) omitted the /wsize erroneously.

TCP with Slow Start timeout= b * RTT wsize = 1 starting = true on ack: if (starting) wsize = min(wsize + 1, receiver window) else wsize = min(wsize +1/wsize, receiver window) timeout = b * RTT on retry timer timeout: timeout = timeout * 2 wsize = max(1, wsize/2) starting = false Receiver can also control rate of sender Note that the algorithm presented in class (and previous version of these slides) omitted the /wsize erroneously.

Reordering recv(p): slot = p.sno – head if (slot > head + size): drop else: new = isempty(slot) if (new) add p to slot ack p if (slot == head and new) deliver prefix to app head = head+ len(prefix) P2 P4 P5 size = 5 head= 1head+ size head : sno of last delivered packet size: length of reordering queue slot: position to insert new packet P1 PREFIX head= 3 P6? Application Reordering Buffer

Reordering recv(p): slot = p.sno – head if (slot > head + size): drop else: new = isempty(slot) if (new) add p to slot ack p if (slot == head and new) deliver prefix to app head = head+ len(prefix) P4 P5 size = 5 head= 3head+ size head : sno of last delivered packet size: length of reordering queue slot: position to insert new packet Reordering Buffer