Hybrid Start(混合慢启动)

本文研究了标准慢启动算法在大宽带延迟产品网络环境下的性能问题,指出其存在的两个主要问题:指数增长的拥塞窗口容易导致大量丢包和系统过载,以及慢启动后的优化机制减缓了丢包恢复速度。为此,提出了一种名为HyStart的新型慢启动算法,旨在安全退出慢启动阶段并平稳过渡到拥塞避免状态,同时避免大量丢包。HyStart利用ACK列车和RTT延迟检测网络状态,并已在Linux系统上的TCP-NewReno和TCP-SACK中实施,结果显示其在不同网络环境下的稳定性能,特别是在与WindowsXP和FreeBSD操作系统的配合下,可以显著提高TCP的启动吞吐量。

    Standard slow start does not work well under large bandwidth-delay product (BDP) networks. We find two causes of this problemin existing three popular operating systems, Linux, FreeBSD and Windows XP. The first cause is that because of the exponential increase of cwnd during standard slow start, heavy packet losses occur. Recovering from heavy packet losses puts extremely high load on end systems which renders the end systems completely unresponsive for a long time, resulting in a long blackout period of no transmission. This problem commonly occurs with the three operating systems.The second cause is that some of proprietary protocol optimizations applied for slow start by these operating systems to relieve the system load happen to slowdown the loss recovery followed by slow start. To remedy this problem, we propose a new slow start algorithm, calledHybrid Start (HyStart) that finds a safe exit point of slow start at which slow start can finish and safely move to congestion voidance without causing any heavy packet losses. HyStart uses ACK trains and RTT delay samples to detect whether (1) the forward path is congestedor (2) the current size of congestion window has reached the available capacity of the forward path. HyStart is a plug-in to the TCP sender and does not require any change in TCP receivers. We implemented HyStart for TCP-NewReno andTCP-SACK in Linux and compare its performance with different slow start schemeswith the TCP receivers of the three different operating systems in the Internetand also in the lab testbeds. Our results indicate that HyStart works consistently well under diverse network environments including asymmetric links and high andlow BDP networks. Especially with different operating system receivers (Windows XPand FreeBSD), HyStart improves the start-up throughput of TCP more than 2 to 3times.

1、混合慢启动设计的目的:

    标准的慢启动在BDP网络环境下表现不好,不好的原因主要有两个:

    1) 标准慢启动的拥塞窗口指数式的增长方式过于激进容易导致大量丢包,丢包恢复性能损耗太大。

    2) 被优化过的慢启动机制,丢包时在数据包重传恢复的时候碰巧试图去减小服务器的负载,导致数据包恢复慢。

    总结这些原因都是因为慢启动过程过于盲目,不能及时的预测拥塞,导致了大量丢包,所以混合慢启动机制的主要

功用是在慢启动阶段试图找到“合理 ”的 退出慢启动 进入拥塞避免状态点(safe exit point)。 


2、慢启动是怎么找到safe exit point

     1)通过ACK train

     2)通过RTT delay 


3、混合满慢启动目前在cubic拥塞控制算法中引入,后面会具体分析cubic混合慢启动实现的细节。

### Hybrid环境下的DHCP配置方法 在Hybrid环境中,通常涉及IPv4和IPv6共存的情况。为了支持这种混合网络架构中的动态主机配置协议(DHCP),需要分别针对IPv4和IPv6进行详细的规划与部署。 #### IPv4 DHCP服务器的配置 对于IPv4部分,在不同的场景下可以采用如下方式进行配置: - 当待配置设备与DHCP服务器不在同一网段时,需启用DHCP中继功能来完成跨网段通信[^1]。 ```bash ip helper-address 192.168.10.254 ``` 上述命令用于指定远程DHCP服务器地址,从而允许路由器转发来自客户端的请求至该特定IP位置。 另外,如果是在交换机上手动设定VLAN接口作为分配源,则可参照以下实例操作步骤[^2]: ```bash dhcp enable interface Vlanif10 ip address 192.168.10.254 255.255.255.0 dhcp select interface dhcp server lease day 2 hour 0 minute 0 dhcp server dns-list 222.88.88.88 8.8.8.8 ``` 此脚本定义了一个为期两天的有效租期,并指定了两个DNS服务器供客户使用。 #### IPv6 DHCP服务设置 关于IPv6方面,OpenWRT平台提供了灵活的选择方案——即stateful(有状态)、stateless(无状态)+RA消息广播以及纯SLAAC机制三种模式之一[^4]。下面重点介绍其中一种典型组合形式: ```bash config dhcp 'wan' option interface 'wan' option start '100' option limit '150' option leasetime '12h' config dhcp 'lan' option interface 'lan' option ra 'server' option dhcpv6 'hybrid' option ndp 'relay' list dnsmasq '-R ::1' ``` 这里设置了`option dhcpv6 hybrid`,意味着它会依据实际需求决定是否向终端提供完整的前缀长度还是仅仅传递辅助参数比如域名解析器列表等附加数据项而不干涉其自动生成全局唯一标识符的过程。 值得注意的是,在某些Linux发行版像CentOS7里构建类似的基础设施之前还需要先安装必要的软件包并调整默认模板文件路径[^3]: ```bash yum -y install dhcp cp /usr/share/doc/dhcp-4.2.5/dhcpd.conf.example /etc/dhcp/dhcpd.conf vi /etc/dhcp/dhcpd.conf ``` 编辑后的样例内容可能看起来类似于这样子: ```conf subnet 192.168.10.0 netmask 255.255.255.0 { range 192.168.10.100 192.168.10.200; default-lease-time 600; max-lease-time 7200; option routers 192.168.10.254; option domain-name-servers 222.88.88.88, 8.8.8.8; } ``` 最后一步启动守护进程并验证运行状况即可生效。 ---
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值