清华大学:TCP and Congestion Control(1)

TCP and Congestion Control (1) Dan li CS Department, Tsinghua University 2021/2/8
TCP and Congestion Control (1) 2021/2/8 1 Dan LI CS Department, Tsinghua University

Today's Lecture w Transport-Layer Introduction Error Recovery s Window flow control Analysis of TCP Congestion Control TCP Variations Beyond TCP Congestion Control w Reading list 2021/2/8
Today’s Lecture Transport-Layer Introduction Error Recovery Window Flow Control Analysis of TCP Congestion Control TCP Variations Beyond TCP Congestion Control Reading list 2021/2/8 2

Transport Protocols Lowest level end-to end protocol 7 Header generated by sender is interpreted 7-6-5 6 5 only by the destination Transport Transport Routers view transport header as part of the P P P payload Datalink /----o-22--d/ Datalink Physical Physical router 2021/2/8
Transport Protocols Lowest level end-toend protocol. Header generated by sender is interpreted only by the destination Routers view transport header as part of the payload 2021/2/8 3 7 6 5 7 6 5 Transport IP Datalink Physical Transport IP Datalink Physical IP router 2 2 1 1

Functionality Split Network provides best-effort delivery End-systems implement richer functions Reliability k In-order delivery Demultiplexing Message boundaries k connection abstraction Congestion control 2021/2/8 4
Functionality Split Network provides best-effort delivery End-systems implement richer functions Reliability In-order delivery Demultiplexing Message boundaries Connection abstraction Congestion control … 2021/2/8 4

Transport Protocols UDP provides just integrity and demultiplex TCP adds k connection abstraction Reliability Ordered delivery Byte stream Flow and congestion control 2021/2/8
Transport Protocols UDP provides just integrity and demultiplex TCP adds… Connection abstraction Reliability Ordered delivery Byte stream Flow and congestion control 2021/2/8 5

UDP: User Datagram Protocol [RFC 768 No frills, ""bare bones" Internet transport protocol *"Best effort"service, UDP segments may be * Lost Delivered out of order to app Connectionless No handshaking between UDP sender, receiver Each UDP segment handled independently of others 2021/2/8
UDP: User Datagram Protocol [RFC 768] “No frills,” “bare bones” Internet transport protocol “Best effort” service, UDP segments may be: Lost Delivered out of order to app Connectionless: No handshaking between UDP sender, receiver Each UDP segment handled independently of others 2021/2/8 6

Why is there a UDP? No connection establishment(which can add delay Simple: no connection state at sender recelver small header No congestion control: UDP can blast away as fast as desired 2021/2/8
Why is there a UDP? No connection establishment (which can add delay) Simple: no connection state at sender, receiver Small header No congestion control: UDP can blast away as fast as desired 2021/2/8 7

UDP Applications w Often used for streaming multimedia apps k Loss tolerant Rate sensitive w other UdP based apps k DNs, SNMP Reliable transfer over UdP Must be at application layer Application-specific error recovery 2021/2/8
UDP Applications Often used for streaming multimedia apps Loss tolerant Rate sensitive Other UDP based apps DNS, SNMP Reliable transfer over UDP Must be at application layer Application-specific error recovery 2021/2/8 8

UDP Segment Format 32 bits Source port dest port Length, in bytes ength Checksum of UDP segment, including header Application data (message UDP segment format 2021/2/8
UDP Segment Format 2021/2/8 9 Source port # Dest port # 32 bits Application data (message) UDP segment format Length Checksum Length, in bytes of UDP segment, including header

UDP Checksum Goal: detect errors"(e.g flipped bits) in transmitted segment Sender Treat segment contents as sequence of 16-bit integers Checksum: addition of segment contents Sender puts checksum value into UDP checksum field 2021/2/8
UDP Checksum Goal: detect “errors” (e.g., flipped bits) in transmitted segment Sender Treat segment contents as sequence of 16-bit integers Checksum: addition of segment contents Sender puts checksum value into UDP checksum field 2021/2/8 10
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 清华大学:域内路由选择(PPT课件讲稿)Intra-domain routing.pptx
- 山东大学:IPv6试商用的进展和挑战(PPT讲稿,网络与信息中心:秦丰林).pptx
- 克里特大学:The Application of Artificial Neural Networks in Engineering and Finance.ppt
- 关键词抽取、社会标签推荐及其在社会计算中的应用.pptx
- 《数据库系统原理》课程PPT教学课件(SQLServer)第12章 并发控制.ppt
- 《计算机组成原理》课程教学资源(PPT课件讲稿)第2章 运算方法和运算器.ppt
- 《数据科学》课程教学资源(PPT课件讲稿)第2章 数据预处理.ppt
- 西安理工大学:面向主题的服务(PPT讲稿)综合集成支撑平台业务化——互联网信息化(平台、内容、服务).ppt
- 中国科学技术大学:《数据结构》课程教学资源(PPT课件讲稿)第三章 线性表.pps
- 《计算机网络》课程PPT教学课件(Windows)第09讲 DNS服务.ppt
- 《软件工程》课程教学资源(PPT课件讲稿)第12章 软件开发工具StarUML及其应用.ppt
- 西华大学:《电子商务概论》课程教学资源(PPT课件讲稿)第7章 电子商务物流.ppt
- 中国科学技术大学:《嵌入式操作系统 Embedded Operating Systems》课程教学资源(PPT课件讲稿)第六讲 死锁及其处理.ppt
- 电子科技大学:《网络安全与网络工程》课程教学资源(PPT课件讲稿)第六章 杂凑函数(主讲:聂旭云).ppt
- 某高校计算机专业课程教学大纲合集(汇编).pdf
- 上海交通大学:操作系统安全(PPT课件讲稿)操作系统安全 OS Security(邹恒明).pps
- 《Computer Networking:A Top Down Approach》英文教材教学资源(PPT课件讲稿,3rd edition)Chapter 5 Link Layer and LANs.pps
- 《计算机网络安全》课程电子教案(PPT教学课件)第一章 计算机网络安全概述.ppt
- 并发程序精化验证及其应用(PPT讲稿)Refinement Verification of Concurrent Programs and Its Applications.pptx
- 《单片机原理与其应用》课程教学资源(PPT课件讲稿)第8章 单片机的存储器的扩展.pptx
- 《人工智能技术导论》课程教学资源(PPT课件讲稿)第3章 图搜索与问题求解.ppt
- 《网页设计》课程教学资源:课程教学大纲.doc
- 西安电子科技大学:《操作系统 Operating Systems》课程教学资源(PPT课件讲稿)Chapter 04 Memory Management.ppt
- 中国水利水电出版社:《单片机原理及应用》课程PPT教学课件(C语言版)第8章 单片机系统扩展(主编:周国运).ppt
- 《Photoshop基础教程与上机指导》教学资源(PPT讲稿)第18章 扫描和修饰图像.ppt
- 西安电子科技大学:《现代密码学》课程教学资源(PPT课件讲稿)第二章 流密码(主讲:董庆宽).pptx
- 北京大学:《高级软件工程》课程教学资源(PPT课件讲稿)第一讲 软件与软件开发.ppt
- 东南大学:《数据结构》课程教学资源(PPT课件讲稿)第七章 图.ppt
- 《The C++ Programming Language》课程教学资源(PPT课件讲稿)Lecture 02 Procedure-Based Programming.ppt
- 《数据库原理与应用》课程PPT教学课件(SQL Server)第9章 存储过程和触发器.ppt
- 合肥学院:《数据库原理与应用》课程教学资源(PPT课件)第1章 数据库系统概述(主讲:叶潮流).ppt
- 北京大学软件研究所:高级软件工程(PPT讲稿)云计算与平台即服务.ppt
- 香港科技大学:深度学习导论(PPT讲稿)Introduction to Deep Learning.pptx
- 香港中文大学:《Topics in Theoretical Computer Science》课程教学资源(PPT课件讲稿)量子计算 Quantum computing.pptx
- 《数字图像处理》课程PPT教学课件(讲稿)第二章 图像获取、显示和表示.ppt
- 《Web编程实用技术教程》课程教学资源(PPT课件讲稿)第5章 MFC WinSock类的编程.ppt
- 电子工业出版社:《计算机网络》课程教学资源(第五版,PPT课件讲稿)第五章 运输层.ppt
- 《神经网络 Neural Networks》课程教学资源(PPT课件讲稿)Ch 8 Artificial Neural networks.pptx
- PROGRAMMING METHDOLODGY AND SOFTWARE ENGINEERING(PPT讲稿)C Programming Review.ppt
- 计算机网络技术基础(PPT课件讲稿).ppt