Advertisement

高性能Linux:TCP窗口扩大因子选项(理论部分)

阅读量:

TCP报文窗口字段介绍

在TCP报文头部定义了一个16位的窗口字段用于指定接收方缓冲区容量发送方通过调整该字段的大小来实现流量控制机制从而有效管理网络流量传输

在这里插入图片描述

TCP流量控制机制由两端通信端通过指定窗口大小来实现。每个窗口长度以字节表示,在接收方预期接收的数据量基础上开始计算其具体数值。每个窗口长度是一个16位二进制字段所定义,因此其最大可能值为65535个字节.

窗口大小对性能的影响

TCP protocol employs a mechanism based on advertised window sizes, enabling the sender to transmit multiple packets consecutively before termination. Since the sender does not need to stop and wait for acknowledgment after each packet, this enables the protocol to accelerate data tran

全部评论 (0)

还没有任何评论哟~