CN101056260A - ECN mechanism-based congestion control method in the mixed network - Google Patents
ECN mechanism-based congestion control method in the mixed network Download PDFInfo
- Publication number
- CN101056260A CN101056260A CNA2007100349629A CN200710034962A CN101056260A CN 101056260 A CN101056260 A CN 101056260A CN A2007100349629 A CNA2007100349629 A CN A2007100349629A CN 200710034962 A CN200710034962 A CN 200710034962A CN 101056260 A CN101056260 A CN 101056260A
- Authority
- CN
- China
- Prior art keywords
- congestion
- ack
- tcp
- probability
- ecn
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000007246 mechanism Effects 0.000 title claims abstract description 27
- 238000011084 recovery Methods 0.000 claims description 4
- 239000013256 coordination polymer Substances 0.000 claims description 3
- 230000008859 change Effects 0.000 abstract description 10
- 230000004044 response Effects 0.000 abstract description 3
- 201000004569 Blindness Diseases 0.000 abstract description 2
- 238000012360 testing method Methods 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 5
- 238000004088 simulation Methods 0.000 description 5
- 238000002474 experimental method Methods 0.000 description 3
- 238000011217 control strategy Methods 0.000 description 2
- 238000012850 discrimination method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种混合网络中基于ECN机制的拥塞控制方法,包括以下步骤:截取路由器的最近一段ECN反馈信息,并依据其中拥塞标记的分布来计算拥塞概率,发送方通过拥塞概率的变化趋势进行拥塞预测,并根据预测结果调整拥塞控制机制。本发明通过拥塞概率值的变化规律来进行拥塞推断,即只有当拥塞概率值呈现增加的趋势时才推断为拥塞,从而避免了使用独立ECN反馈时,对网络状态判断的瞬时性和盲目性。拥塞预测的结果用于控制TCP丢包响应行为,可以较为精确地消除混合网络中非拥塞丢包对TCP拥塞控制的影响。
The invention discloses a congestion control method based on an ECN mechanism in a hybrid network, comprising the following steps: intercepting the latest ECN feedback information of a router, and calculating the congestion probability according to the distribution of the congestion marks in it, and the sender uses the change trend of the congestion probability Carry out congestion prediction, and adjust the congestion control mechanism according to the prediction result. The present invention performs congestion inference through the change law of the congestion probability value, that is, it is inferred as congestion only when the congestion probability value shows an increasing trend, thereby avoiding the instantaneousness and blindness of network state judgment when independent ECN feedback is used. The result of congestion prediction is used to control the TCP packet loss response behavior, which can more accurately eliminate the impact of non-congested packet loss on TCP congestion control in a hybrid network.
Description
技术领域technical field
本发明涉及一种混合网络中基于ECN机制的拥塞控制方法。The invention relates to a congestion control method based on an ECN mechanism in a hybrid network.
背景技术Background technique
与有线网络不同的是,无线网络具有较高的比特误码、复杂的信道衰落、突发的设备噪声,这些特点将导致频繁产生丢包,可是传统TCP把所有的丢包简单归结为网络拥塞而盲目采取控制策略,从而极大降低了TCP的性能。因此在有线/无线混合网络中TCP需要排除非拥塞丢包对原有的拥塞控制机制的影响。Different from wired networks, wireless networks have high bit errors, complex channel fading, and sudden equipment noise. These characteristics will lead to frequent packet loss, but traditional TCP simply attributes all packet loss to network congestion. And blindly adopt the control strategy, which greatly reduces the performance of TCP. Therefore, in a wired/wireless hybrid network, TCP needs to eliminate the impact of non-congested packet loss on the original congestion control mechanism.
有线/无线混合网络中主要是通过区分拥塞丢包和无线错误丢包来改进TCP性能的。丢包区分方法有基于往返时延的NCPLD[4]、基于包的到达间隔的TCP-Biaz[5]、基于ROTT的TCP-Spike[6]、基于RTT变化的TCP-Bayes[7]、基于头部校验和的TCP-HACK[8]等等。已有的这些方法主要存在以下的问题:In a wired/wireless hybrid network, TCP performance is mainly improved by distinguishing between congestion packet loss and wireless error packet loss. Packet loss discrimination methods include NCPLD [4] based on round-trip delay, TCP-Biaz [5] based on packet arrival interval, TCP-Spike [6] based on ROTT, TCP-Bayes [7] based on RTT change, and TCP-HACK [8] for header checksums, etc. These existing methods mainly have the following problems:
(1)大多数区分方法采用端到端的测度,而在构成日益复杂的混合网络中它们具有较强的动态性,因此建立这些测度和网络状态之间的对应关系是有困难的。这将直接影响丢包区分的准确性和相应的TCP性能。TCP-Bayes方法充分重视了这一特点,建立了表明RTT和丢包性质之间动态关系的HMM模型,将区分准确率保持在了80%以上,但是获得此模型需要基于历史数据进行学习和训练,由此付出的代价将使得该方法在TCP控制中的应用受到极大的限制。(1) Most discrimination methods adopt end-to-end measures, and they have strong dynamics in composing increasingly complex hybrid networks, so it is difficult to establish the correspondence between these measures and network states. This will directly affect the accuracy of packet loss discrimination and the corresponding TCP performance. The TCP-Bayes method pays full attention to this feature, and establishes an HMM model that shows the dynamic relationship between RTT and packet loss properties, and keeps the discrimination accuracy above 80%, but obtaining this model requires learning and training based on historical data , the price paid will greatly limit the application of this method in TCP control.
(2)目前对区分方法的评价采用丢包事件的准确性指标,而在混合网络中由于长时延特性对单个丢包事件的响应不具备实时性,也就是说,发送方所获得的区分信息其实是先前的某个时刻网络的状态。那么即使区分正确率达到100%,对于提高TCP性能也可能毫无帮助。TCP中如何有效利用丢包事件及其区分信息是很关键的。(2) The current evaluation of the differentiation method uses the accuracy index of the packet loss event, but in the hybrid network, due to the long delay characteristic, the response to a single packet loss event is not real-time, that is to say, the difference obtained by the sender The information is actually the state of the network at a certain point in the past. Then even if the correct rate of distinction reaches 100%, it may not help to improve the performance of TCP. How to effectively use the packet loss event and its distinguishing information in TCP is very critical.
作为目前混合网络中重要的TCP协议,TCP Westwood,Jersey都采用了丢包区分的方法。As an important TCP protocol in the current hybrid network, TCP Westwood and Jersey both adopt the method of distinguishing packet loss.
TCP通过监测返回ACK速率来持续测量有效带宽,并用当前有效带宽估算拥塞窗口和慢启动门限值。该方法基于系统的测量结果采取不同的控制策略,实际上是把丢包识别的规则隐含全局控制里面。它的瓶颈在于ACK到达的时延和累积效应使得带宽估计的准确性受到影响。TCP continuously measures the effective bandwidth by monitoring the return ACK rate, and uses the current effective bandwidth to estimate the congestion window and slow start threshold. This method adopts different control strategies based on the measurement results of the system. In fact, the rules of packet loss identification are implied into the global control. Its bottleneck lies in the delay and cumulative effect of ACK arrival, which affects the accuracy of bandwidth estimation.
TCP Jersey[13]:TCP Jersey在Westwood的基础上借助于ECN机制增强了丢包区分的能力,当发生丢包时发送方检测ACK反馈,如果其中拥塞标记位(Congestion Explicit)置1,就将该丢包归为拥塞引起的,否则归为错误引起的。这就是Fei和Shiduan提出的Wireless_ECN方法,以下简称WECN。然而近年已有一些研究指出ECN机制的丢包区分能力是比较弱的,完全依赖于拥塞感知的精确程度。为此,有大量的工作从两个方面改进了基于ECN机制的丢包区分算法。TCP Jersey [13] : Based on Westwood, TCP Jersey enhances the ability to distinguish packet loss by means of the ECN mechanism. When packet loss occurs, the sender detects ACK feedback. If the congestion flag (Congestion Explicit) is set to 1, it will The packet loss is attributed to congestion, otherwise it is attributed to errors. This is the Wireless_ECN method proposed by Fei and Shiduan, hereinafter referred to as WECN. However, some studies in recent years have pointed out that the packet loss discrimination ability of the ECN mechanism is relatively weak, and it depends entirely on the accuracy of congestion perception. For this reason, a lot of work has improved the packet loss discrimination algorithm based on the ECN mechanism from two aspects.
第一个方面的工作旨在提高ECN机制对拥塞的感知/标记的精度。The first line of work aims to improve the accuracy of the ECN mechanism for the perception/marking of congestion.
SpecTCP通过优化AQM的各项参数(缓存大小、标记阈值、丢包概率等)来最小化拥塞丢包,但是这种参数优化由于是静态配置的,在多个流多瓶颈的网络中是难以保证拥塞丢包的最小化。SpecTCP minimizes congestion and packet loss by optimizing various parameters of AQM (buffer size, marking threshold, packet loss probability, etc.), but this parameter optimization is difficult to guarantee in a network with multiple flows and bottlenecks because it is statically configured. Minimize packet loss due to congestion.
Multilevel ECN将标记概率区间细分为两级,并分别设计了相应的标记概率,该方法提高了ECN标记的准确性,但是也增加了路由器工作的复杂性,同时参数的设置变得更加敏感。Multilevel ECN subdivides the marking probability interval into two levels, and designs corresponding marking probabilities respectively. This method improves the accuracy of ECN marking, but also increases the complexity of router work, and the setting of parameters becomes more sensitive.
第二个方面的工作旨在减少ECN反馈的时延,确保TCP响应的实时性。如果ECN机制能够在各种流量发生模型中准确标记拥塞,那么应该如何对ECN的拥塞标记进行响应呢?The second aspect of work aims to reduce the delay of ECN feedback and ensure the real-time nature of TCP response. If the ECN mechanism can accurately mark congestion in various traffic occurrence models, how should it respond to ECN congestion marking?
ACK Spoofing/Congestion Signal Cancellation方法允许路由器在反馈拥塞标记的过程中及时更新的网络状态,ACK Spoofing通过自行产生3个重复ACK提前向发送方通告拥塞,Congestion Signal Cancellation则事先缓存拥塞标记,等待下一时刻路由器确认网络状态再决定是否发送该标记,这两种技术都是为了让发送方在最短的时间内捕获最近的网络状态,但是由路由器完成这样的工作无疑加大了系统开销和实施难度。The ACK Spoofing/Congestion Signal Cancellation method allows the router to update the network status in a timely manner during the process of feeding back the congestion mark. ACK Spoofing notifies the sender of congestion in advance by generating 3 repeated ACKs. Congestion Signal Cancellation caches the congestion mark in advance and waits for the next The router confirms the network status at all times and then decides whether to send the mark. These two technologies are to allow the sender to capture the latest network status in the shortest time, but the completion of such work by the router will undoubtedly increase the system overhead and implementation difficulty.
可见,基于ECN机制的拥塞控制方法得到了广泛的关注,已有的优化方案使其显示出巨大的应用潜力。但是对于上描第二个方面的问题,即如何利用ECN的拥塞反馈来控制TCP行为,仍然需要寻找更加简洁有效的方案,也是提高目前混合网络中TCP协议性能的一个关键点。It can be seen that the congestion control method based on the ECN mechanism has received extensive attention, and the existing optimization schemes have shown great application potential. However, for the second problem described above, that is, how to use ECN congestion feedback to control TCP behavior, it is still necessary to find a more concise and effective solution, which is also a key point to improve the performance of the TCP protocol in the current hybrid network.
发明内容Contents of the invention
为了解决上述基于ECN机制的拥塞控制方法存在的技术问题,本发明提供了一种混合网络中基于ECN机制的拥塞控制方法。该方法能够将丢包事件和拥塞概率相结合进行速率调控,从而保障了链路错误增加的情况下TCP的健壮性。In order to solve the technical problems in the above-mentioned congestion control method based on the ECN mechanism, the present invention provides a congestion control method based on the ECN mechanism in a hybrid network. The method can combine the packet loss event and the congestion probability to regulate the rate, thereby ensuring the robustness of TCP under the condition of increasing link errors.
本发明解决上述技术问题的技术方案包括以下步骤:截取路由器的最近一段ECN反馈信息,并依据其中拥塞标记的分布来计算拥塞概率,发送方通过拥塞概率的变化趋势进行拥塞预测,并根据预测结果调整拥塞控制机制。The technical scheme for solving the above-mentioned technical problems of the present invention includes the following steps: intercept the latest section of ECN feedback information of the router, and calculate the congestion probability according to the distribution of the congestion marks in it, the sender performs congestion prediction according to the change trend of the congestion probability, and according to the prediction result Adjust the congestion control mechanism.
上述的混合网络中基于ECN机制的拥塞控制方法中,所述拥塞概率计算如下:In the above-mentioned congestion control method based on the ECN mechanism in the hybrid network, the congestion probability is calculated as follows:
上式中Ack是发送方采集的最近到达的ACK序列,Ack[i]->ecnecho是其中第i个ACK包中CE位的取值,wi是ACK[i]的权值,
上述的混合网络中基于ECN机制的拥塞控制方法,当拥塞概率值变化呈现增加的趋势时,发送方将当前网络推断为拥塞状态。In the above-mentioned congestion control method based on the ECN mechanism in the hybrid network, when the change of the congestion probability value shows an increasing trend, the sender infers that the current network is in a congested state.
上述的混合网络中基于ECN机制的拥塞控制方法,仅当预测的结果为拥塞时TCP发送方才启动降速等相应的拥塞控制机制,否则只是重发丢失的数据包。In the above-mentioned congestion control method based on the ECN mechanism in the hybrid network, the TCP sender starts the corresponding congestion control mechanism such as speed reduction only when the predicted result is congestion, otherwise, the lost data packet is just resent.
本发明的技术效果在于:本发明中发送方在收到每个ACK包时刷新ACK数组,并计算新的拥塞概率值,对于正常ACK完全按照固有的ECN机制进行控制,而对于重复ACK,根据拥塞概率值推断网络状态,只有当推断的结果为拥塞丢包时,才降低发送窗口大小。本发明方法通过拥塞概率值的变化规律来进行拥塞推断,即只有当拥塞概率值呈现增加的趋势时才推断为拥塞,从而避免了使用独立ECN反馈时,对网络状态判断的瞬时性和盲目性。由于本发明实施中只需要修改发送方代码,本发明方法能够应用于各种TCP协议,使之适应于有线/无线混合网络中异构链路的传输特性,以保证网络获得更高的吞吐量和链路利用率,同时保持和原有TCP协议之间的友好性,以及流与流之间的公平性。The technical effects of the present invention are: in the present invention, the sender refreshes the ACK array when receiving each ACK packet, and calculates a new congestion probability value, controls the normal ACK completely according to the inherent ECN mechanism, and for the repeated ACK, according to The congestion probability value infers the network state, and only when the inferred result is congestion and packet loss, the sending window size is reduced. The method of the present invention performs congestion inference through the change law of the congestion probability value, that is, it is inferred as congestion only when the congestion probability value shows an increasing trend, thereby avoiding the instantaneousness and blindness of network state judgment when using independent ECN feedback . Since only the sender code needs to be modified in the implementation of the present invention, the method of the present invention can be applied to various TCP protocols to adapt to the transmission characteristics of heterogeneous links in the wired/wireless hybrid network, so as to ensure that the network obtains higher throughput and link utilization, while maintaining the friendliness with the original TCP protocol and the fairness between flows.
下面结合附图对本发明作进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.
附图说明Description of drawings
图1为本发明的流程图。Fig. 1 is a flowchart of the present invention.
图2本发明的TCP吞吐量模拟仿真环境。Fig. 2 is the TCP throughput simulation environment of the present invention.
图3为本发明应用于Westwood中的性能分析效果图,其中本发明命名为CPECN。图3(a)为不同标记方法的吞吐量比较;图3(b)为端到端丢包率比较;(c)发送窗口变化情况。Fig. 3 is the effect diagram of the performance analysis of the present invention applied in Westwood, wherein the present invention is named CPECN. Figure 3(a) is the throughput comparison of different marking methods; Figure 3(b) is the end-to-end packet loss rate comparison; (c) the change of the sending window.
图4本发明的TCP协议友好性模拟仿真环境。Fig. 4 is the simulation environment of the TCP protocol friendliness of the present invention.
具体实施方式Detailed ways
参见图1,图1为本发明的流程图。过程如下:TCP启动后首先进入慢启动,当拥塞窗口超过慢启动阈值后就进入拥塞避免阶段。在拥塞避免阶段中,如果发生超时,那么就重新开始慢启动;如果收到新的ACK,就按正常的TCP进行拥塞避免;但如果收到重复的ACK,就需要进行拥塞预测。拥塞预测方法如下:截取路由器的最近一段ECN反馈信息,并依据其中拥塞标记的分布来计算拥塞概率,发送方通过拥塞概率的变化趋势进行拥塞预测,并根据预测结果调整拥塞控制机制。如果预测结果为拥塞,那么发送方将进行速率调整并重发进入快恢复;如果预测的结果为非拥塞,那么发送方仅仅重发和进入快恢复。Referring to Fig. 1, Fig. 1 is a flowchart of the present invention. The process is as follows: After TCP starts, it first enters slow start, and when the congestion window exceeds the slow start threshold, it enters the congestion avoidance stage. In the congestion avoidance phase, if a timeout occurs, slow start is restarted; if a new ACK is received, congestion avoidance is performed according to normal TCP; but if repeated ACKs are received, congestion prediction is required. The congestion prediction method is as follows: intercept the latest ECN feedback information of the router, and calculate the congestion probability according to the distribution of the congestion marks in it, the sender performs congestion prediction according to the change trend of the congestion probability, and adjusts the congestion control mechanism according to the prediction result. If the predicted result is congestion, the sender will adjust the rate and retransmit to enter fast recovery; if the predicted result is non-congested, then the sender will only retransmit and enter fast recovery.
本发明中用“拥塞概率”来表明分析的结果。具体地,由TCP发送方采集最近一段ACK的反馈信息,采用EWMA(Exponentially Weighted Moving Average)方法对拥塞概率进行预测,将该概率称为“拥塞可能性因子”,计算方法如下:In the present invention, "congestion probability" is used to indicate the analysis result. Specifically, the TCP sender collects the feedback information of the latest ACK, and uses the EWMA (Exponentially Weighted Moving Average) method to predict the congestion probability, which is called the "congestion possibility factor". The calculation method is as follows:
其中Ack[i]->ecnecho={0,1},
m越大,获取的ECN反馈越多,越有利于预测概率的准确性,但同时会影响拥塞控制和差错控制的实时性。沿袭Reno中连续3个重复ACK进入慢启动的做法,并且截取下一个ACK包来确定中间路由器的状态,因此实验中以4个ACK包为单位计算P拥塞概率,并结合前后2个单位进行概率分析,即m=8。按照EWMA方法,对最近的4个ACK包取较大的权值α,对之前的4个ACK取较小的权值β,令前4个ACK的全概率之和等于最近1个ACK的全概率,那么:
综上所述,采用本发明方法可以使得TCP连接不受短期可恢复的非拥塞丢包事件的影响,从而可以增强TCP对抗错误链路的能力。To sum up, adopting the method of the present invention can prevent the TCP connection from being affected by the short-term recoverable non-congestion packet loss event, thereby enhancing the ability of TCP to fight against error links.
利用NS2.28网络仿真平台,我们在TCP Westwood中实现了本发明方法,并对其性能进行了测试。NS网络模拟器是一种通用的多协议网络模拟软件,它是互联网上公开发布的(网址:http://www.isi.edu/nsnam/ns),目前已被网络研究者广泛使用。NS2.28是它的版本之一。Utilizing the NS2.28 network simulation platform, we realized the method of the present invention in TCP Westwood, and tested its performance. NS network simulator is a general multi-protocol network simulation software, which is publicly released on the Internet (URL: http://www.isi.edu/nsnam/ns), and has been widely used by network researchers. NS2.28 is one of its versions.
我们采用图4所示的拓扑结构测试本发明方法的性能。如图4所示,单个TCP流从R0发送到R3,R1至R2之间模拟经过多个路由器的长时延的Internet,最后一跳为含错误丢包的无线链路。具体地,用户接入端链路带宽为100M,无线链路带宽为10M,时延均为3ms,瓶颈带宽5M,时延40ms,瓶颈上的缓存大小设定为管道容量。在Westwood中我们同时添加了WECN方法作为比较。为了测试链路丢包情况下的TCP性能,模拟实验中我们引入了一个简单的错误丢包模型,并用链路丢包率作为该模型的参数。默认模拟过程持续100秒。所有协议流的分组大小均设为1Kbyte。We use the topology shown in Figure 4 to test the performance of the method of the present invention. As shown in Figure 4, a single TCP flow is sent from R0 to R3, and the long-delay Internet passing through multiple routers is simulated between R1 and R2, and the last hop is a wireless link with error packet loss. Specifically, the link bandwidth of the user access terminal is 100M, the wireless link bandwidth is 10M, the delay is 3ms, the bottleneck bandwidth is 5M, the delay is 40ms, and the buffer size on the bottleneck is set as the pipeline capacity. In Westwood we also added the WECN method as a comparison. In order to test the TCP performance in the case of link packet loss, we introduced a simple error packet loss model in the simulation experiment, and used the link packet loss rate as a parameter of the model. By default the simulation lasts 100 seconds. The packet size of all protocol streams is set to 1Kbyte.
1、吞吐量的分析1. Analysis of throughput
图3(a)给出了在不同丢包率下WECN方法和本发明方法应用于TCPWestwood时吞吐量的比较,假设路由器上采取简单阈值标记方法,从图中可见,无论路由器上的阈值如何设置,应用WECN方法都能够获得比应用本发明方法更高的吞吐量。Fig. 3 (a) has provided the comparison of the throughput when the WECN method and the method of the present invention are applied to TCPWestwood under different packet loss rates, assuming that a simple threshold marking method is adopted on the router, as can be seen from the figure, no matter how the threshold on the router is set , the application of the WECN method can obtain higher throughput than the application of the method of the present invention.
为了进一步分析吞吐量提高的原因,图3(b)、图3(c)给出了标记阈值取队列大小的3/4时链路丢包率和TCP窗口的变化情况(这里丢包率均指错误模型中指定的链路丢包率,而端到端丢失率指TCP发送方统计的接收数据包和发送数据包之比),图3(b)表明Westwood的端到端丢包率随着链路丢包率的增加而增加的幅度最大,尤其在丢包率超过0.005后。应用WECN方法和本发明方法并没有加大端到端丢包率,说明本发明方法是以提高链路利用率来提高吞吐量的。In order to further analyze the reasons for the increase in throughput, Figure 3(b) and Figure 3(c) show the change of link packet loss rate and TCP window when the marking threshold is 3/4 of the queue size (here the packet loss rate is equal to refers to the link packet loss rate specified in the error model, and the end-to-end loss rate refers to the ratio of received packets to sent packets calculated by the TCP sender), Figure 3(b) shows that Westwood’s end-to-end packet loss rate varies with With the increase of link packet loss rate, the increase range is the largest, especially when the packet loss rate exceeds 0.005. Application of the WECN method and the method of the present invention does not increase the end-to-end packet loss rate, indicating that the method of the present invention improves throughput by increasing link utilization.
图3(c)比较了0~30ms期间的窗口变化情况(取Loss Rate为0.01),Westwood有多次进入慢启动,尤其在30ms附近Westwood的发送窗口出现了严重的抖动;应用WECN方法后,发送方在丢包并收到单个ECN反馈的拥塞标记后也进入了一次慢启动;应用本发明方法后,由于基于拥塞概率值变化趋势的预测结果为”False”,因此TCP没有在丢包时进入慢启动,同样在22ms附近本发明方法出现了与WECN方法不同的判断,总的来看,本发明方法的发送窗口更加平稳。Figure 3(c) compares the window changes during the period from 0 to 30 ms (take Loss Rate as 0.01), Westwood has entered slow start many times, especially around 30 ms, Westwood’s sending window has serious jitter; after applying the WECN method, The sender also enters a slow start after packet loss and receiving the congestion mark fed back by a single ECN; after applying the method of the present invention, since the prediction result based on the change trend of the congestion probability value is "False", the TCP does not stop when the packet is lost. Entering the slow start, the method of the present invention has a judgment different from that of the WECN method at around 22ms. Generally speaking, the sending window of the method of the present invention is more stable.
在图2所示网络中加载服从指数分布的ON/OFF流,其速率为5Mbps,在约100ms的RTT时间内有25ms处于“on”状态,其余时隙处于“off”状态。表1描述了UDP/TCP混合流测试的结果。In the network shown in Figure 2, the ON/OFF flow that obeys the exponential distribution is loaded, and its rate is 5Mbps. In the RTT time of about 100ms, there are 25ms in the "on" state, and the rest of the time slots are in the "off" state. Table 1 describes the results of the UDP/TCP mixed flow test.
表1加载on/off流情况下TCP/UDP吞吐量比较
表1可见,Westwood在混合网络中具备较好的与UDP流共享带宽的能力,但是随着丢包率从0.001加大到0.01,TCP流的吞吐量降低了20%;应用WECN方法后在TCP与UDP流竞争信道时并没有体现更大的优越性;应用本发明方法后,TCP的总体吞吐量是最优的,而且随丢包率的加大,吞吐量只下降了11%。It can be seen from Table 1 that Westwood has a better ability to share bandwidth with UDP streams in a mixed network, but as the packet loss rate increases from 0.001 to 0.01, the throughput of TCP streams decreases by 20%; Competing with the UDP flow for the channel does not show greater superiority; after applying the method of the invention, the overall throughput of TCP is optimal, and with the increase of the packet loss rate, the throughput only drops by 11%.
2、公平性和友好性分析2. Fairness and friendliness analysis
公平性和友好性是TCP协议的重要性能,相同TCP的多个连接必须和谐共处并快速收敛到公平点,同时新的TCP协议应当能够与其他传统的TCP协议共存,而不会导致使用传统协议的TCP流被饿死。我们采用图6所示的拓扑对应用本发明方法时TCP的公平性和友好性测试。Fairness and friendliness are important properties of the TCP protocol. Multiple connections of the same TCP must coexist harmoniously and quickly converge to a fair point. At the same time, the new TCP protocol should be able to coexist with other traditional TCP protocols without causing the use of traditional protocols. The TCP flow is starved. We use the topology shown in Figure 6 to test the fairness and friendliness of TCP when the method of the present invention is applied.
公平性试验中采用10个相同的TCP流接入瓶颈链路,10个流的总带宽为1000Mbps,共享20Mbps的长时延瓶颈链路,详细描述见图4中的标注。表2的测试结果表明应用本发明后TCP Westwood在不同丢包率情况下的公平性均较好。In the fairness test, 10 identical TCP streams are used to access the bottleneck link. The total bandwidth of the 10 streams is 1000 Mbps, and they share a 20 Mbps long-delay bottleneck link. See the annotations in Figure 4 for details. The test results in Table 2 show that the fairness of TCP Westwood under different packet loss rates is better after applying the present invention.
表2 10个相同TCP流公平性比较
友好性实验中将10个TCP流分别分配给两类协议,一类采用应用本发明方法的Westwood协议,另一类采用原来的Westwood协议。表3给出了两类协议占用不同连接时,平均吞吐量的变化情况,从中可见,本发明方法在各种情况下都能够与Westwood友好共存。In the friendliness experiment, 10 TCP streams are assigned to two types of protocols respectively, one type adopts the Westwood protocol applying the method of the present invention, and the other type adopts the original Westwood protocol. Table 3 shows the variation of the average throughput when the two types of protocols occupy different connections, from which it can be seen that the method of the present invention can coexist friendly with Westwood in various situations.
表3本发明方法与Westwood友好性实验
从以上实验数据看来,应用本发明方法的Westwood协议这两个方面的性能比较理想,这是因为Westwood这种针对无线链路的TCP协议,本身已经克服了Reno等传统TCP协议的一些缺陷,首先,Westwood采用的调节SSTHRESH和CWND的方法,比Reno中直接将这2个值置1或减半的方式,能够更有效的控制TCP速率,减少链路差错所带来的影响;其次,应用WECN方法借助中间路由器的拥塞标记在发送端分离差错控制和拥塞控制,起到了一定的作用。而本发明方法在它们的基础上,对反馈的拥塞标记进行了更合理的利用,因此在自身的公平性和与Westwood的友好性方面表现更好。From the above experimental data, the performance of these two aspects of the Westwood protocol using the method of the present invention is relatively ideal. This is because this TCP protocol for wireless links in Westwood itself has overcome some defects of traditional TCP protocols such as Reno. First of all, the method of adjusting SSTHRESH and CWND adopted by Westwood can control the TCP rate more effectively and reduce the impact of link errors than the method of directly setting these two values to 1 or halving them in Reno; secondly, the application The WECN method plays a certain role in separating error control and congestion control at the sending end by means of the congestion marking of intermediate routers. On the basis of them, the method of the present invention makes more reasonable use of the feedback congestion marks, so it performs better in terms of its own fairness and friendliness with Westwood.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100349629A CN101056260B (en) | 2007-05-21 | 2007-05-21 | Congestion Control Method Based on ECN Mechanism in Hybrid Network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100349629A CN101056260B (en) | 2007-05-21 | 2007-05-21 | Congestion Control Method Based on ECN Mechanism in Hybrid Network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101056260A true CN101056260A (en) | 2007-10-17 |
CN101056260B CN101056260B (en) | 2010-07-21 |
Family
ID=38795875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100349629A Expired - Fee Related CN101056260B (en) | 2007-05-21 | 2007-05-21 | Congestion Control Method Based on ECN Mechanism in Hybrid Network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101056260B (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964755A (en) * | 2010-11-03 | 2011-02-02 | 中南大学 | Explicit congestion control method based on bandwidth estimation in high-bandwidth delay network |
CN102006230A (en) * | 2010-11-26 | 2011-04-06 | 中南大学 | Method for controlling congestion control method by fusing three kinds of information in wired/wireless hybrid network |
CN102148662A (en) * | 2011-03-21 | 2011-08-10 | 大唐移动通信设备有限公司 | Adjusting method and device for data transmitting speed |
CN102255898A (en) * | 2011-07-05 | 2011-11-23 | 上海悠络客电子科技有限公司 | Method for ensuring stability of large data stream by tcp (Transmission Control Protocol)/udp (User Datagram Protocol) double-mode communication |
CN102318312A (en) * | 2009-02-12 | 2012-01-11 | 英国电讯有限公司 | Controlling bandwidth share |
CN102415060A (en) * | 2009-03-31 | 2012-04-11 | 英国电讯有限公司 | Pre-congestion notification (PCN) as a basis for admission control and termination of flows |
CN103069758A (en) * | 2010-09-01 | 2013-04-24 | 瑞典爱立信有限公司 | Localized congestion exposure |
CN105141476A (en) * | 2015-08-18 | 2015-12-09 | 大唐移动通信设备有限公司 | TCP message error information obtaining method and device |
WO2016015178A1 (en) * | 2014-06-24 | 2016-02-04 | 华为技术有限公司 | Packet loss detection method, device, and system |
CN105515896A (en) * | 2015-11-30 | 2016-04-20 | 青岛海信移动通信技术股份有限公司 | Mobile terminal network congestion determination method and device |
CN106375232A (en) * | 2015-07-24 | 2017-02-01 | 华为技术有限公司 | A message transmission method and system |
CN107070804A (en) * | 2017-03-15 | 2017-08-18 | 清华大学 | Join the team and mark and go out the display congestion marking method and device that badge note is combined |
CN107084732A (en) * | 2011-02-03 | 2017-08-22 | 通腾发展德国公司 | Method to generate expected average travel speed |
CN110391956A (en) * | 2019-07-23 | 2019-10-29 | 中国工商银行股份有限公司 | The identification monitoring method and device of network service processes state |
CN111095882A (en) * | 2017-06-29 | 2020-05-01 | 华为技术有限公司 | System and method for predicting flows in a network |
CN111163013A (en) * | 2020-03-02 | 2020-05-15 | 西南交通大学 | A Congestion Control Method for Semi-reliable Data Transmission Based on UDP |
CN112511323A (en) * | 2019-09-16 | 2021-03-16 | 华为技术有限公司 | Method and related apparatus for handling network congestion |
CN113141314A (en) * | 2021-04-20 | 2021-07-20 | 上海卓易科技股份有限公司 | Congestion control method and equipment |
CN113742055A (en) * | 2020-05-29 | 2021-12-03 | 中国电信股份有限公司 | Method, device and system for adjusting memory management unit waterline |
CN115514709A (en) * | 2022-11-23 | 2022-12-23 | 北京云脉芯联科技有限公司 | Congestion control event queue scheduling method, device, equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1226844C (en) * | 2003-09-01 | 2005-11-09 | 中国科学院计算技术研究所 | An Adaptive Congestion Control Method for Wired/Wireless Hybrid Networks |
-
2007
- 2007-05-21 CN CN2007100349629A patent/CN101056260B/en not_active Expired - Fee Related
Cited By (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102318312B (en) * | 2009-02-12 | 2014-10-22 | 英国电讯有限公司 | Control Bandwidth Sharing |
CN102318312A (en) * | 2009-02-12 | 2012-01-11 | 英国电讯有限公司 | Controlling bandwidth share |
CN102415060A (en) * | 2009-03-31 | 2012-04-11 | 英国电讯有限公司 | Pre-congestion notification (PCN) as a basis for admission control and termination of flows |
CN102415060B (en) * | 2009-03-31 | 2015-06-17 | 英国电讯有限公司 | Pre-congestion notification (PCN) as a base for admission control and floe termination |
CN103069758B (en) * | 2010-09-01 | 2016-06-08 | 瑞典爱立信有限公司 | Local congestion's process for exposing and node |
CN103069758A (en) * | 2010-09-01 | 2013-04-24 | 瑞典爱立信有限公司 | Localized congestion exposure |
CN101964755A (en) * | 2010-11-03 | 2011-02-02 | 中南大学 | Explicit congestion control method based on bandwidth estimation in high-bandwidth delay network |
CN102006230A (en) * | 2010-11-26 | 2011-04-06 | 中南大学 | Method for controlling congestion control method by fusing three kinds of information in wired/wireless hybrid network |
CN107084732A (en) * | 2011-02-03 | 2017-08-22 | 通腾发展德国公司 | Method to generate expected average travel speed |
CN102148662B (en) * | 2011-03-21 | 2014-01-15 | 大唐移动通信设备有限公司 | Adjusting method and device for data transmitting speed |
CN102148662A (en) * | 2011-03-21 | 2011-08-10 | 大唐移动通信设备有限公司 | Adjusting method and device for data transmitting speed |
CN102255898A (en) * | 2011-07-05 | 2011-11-23 | 上海悠络客电子科技有限公司 | Method for ensuring stability of large data stream by tcp (Transmission Control Protocol)/udp (User Datagram Protocol) double-mode communication |
US10419314B2 (en) | 2014-06-24 | 2019-09-17 | Huawei Technologies Co., Ltd. | Method, apparatus, and system for packet loss detection |
WO2016015178A1 (en) * | 2014-06-24 | 2016-02-04 | 华为技术有限公司 | Packet loss detection method, device, and system |
CN106375232B (en) * | 2015-07-24 | 2019-11-26 | 华为技术有限公司 | A kind of message transmitting method and system |
CN106375232A (en) * | 2015-07-24 | 2017-02-01 | 华为技术有限公司 | A message transmission method and system |
CN105141476A (en) * | 2015-08-18 | 2015-12-09 | 大唐移动通信设备有限公司 | TCP message error information obtaining method and device |
CN105141476B (en) * | 2015-08-18 | 2018-12-18 | 大唐移动通信设备有限公司 | A kind of acquisition methods and device of TCP message error message |
CN105515896B (en) * | 2015-11-30 | 2019-02-15 | 青岛海信移动通信技术股份有限公司 | A kind of judgment method and device of mobile terminal network obstruction |
CN105515896A (en) * | 2015-11-30 | 2016-04-20 | 青岛海信移动通信技术股份有限公司 | Mobile terminal network congestion determination method and device |
CN107070804B (en) * | 2017-03-15 | 2019-09-20 | 清华大学 | Method and device for displaying congestion marking combining entry mark and exit mark |
CN107070804A (en) * | 2017-03-15 | 2017-08-18 | 清华大学 | Join the team and mark and go out the display congestion marking method and device that badge note is combined |
CN111095882A (en) * | 2017-06-29 | 2020-05-01 | 华为技术有限公司 | System and method for predicting flows in a network |
CN110391956A (en) * | 2019-07-23 | 2019-10-29 | 中国工商银行股份有限公司 | The identification monitoring method and device of network service processes state |
CN110391956B (en) * | 2019-07-23 | 2021-08-13 | 中国工商银行股份有限公司 | Method and device for identifying and monitoring state of network service process |
CN112511323A (en) * | 2019-09-16 | 2021-03-16 | 华为技术有限公司 | Method and related apparatus for handling network congestion |
CN112511323B (en) * | 2019-09-16 | 2022-06-14 | 华为技术有限公司 | Method and related apparatus for handling network congestion |
US11991082B2 (en) | 2019-09-16 | 2024-05-21 | Huawei Technologies Co., Ltd. | Network congestion processing method and related apparatus |
CN111163013A (en) * | 2020-03-02 | 2020-05-15 | 西南交通大学 | A Congestion Control Method for Semi-reliable Data Transmission Based on UDP |
CN111163013B (en) * | 2020-03-02 | 2022-04-29 | 西南交通大学 | A Congestion Control Method for Semi-reliable Data Transmission Based on UDP |
CN113742055A (en) * | 2020-05-29 | 2021-12-03 | 中国电信股份有限公司 | Method, device and system for adjusting memory management unit waterline |
CN113742055B (en) * | 2020-05-29 | 2024-10-22 | 中国电信股份有限公司 | Method, device and system for adjusting memory management unit waterline |
CN113141314A (en) * | 2021-04-20 | 2021-07-20 | 上海卓易科技股份有限公司 | Congestion control method and equipment |
CN115514709A (en) * | 2022-11-23 | 2022-12-23 | 北京云脉芯联科技有限公司 | Congestion control event queue scheduling method, device, equipment and storage medium |
CN115514709B (en) * | 2022-11-23 | 2023-02-28 | 北京云脉芯联科技有限公司 | Congestion control event queue scheduling method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN101056260B (en) | 2010-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101056260B (en) | Congestion Control Method Based on ECN Mechanism in Hybrid Network | |
CN102006230B (en) | Method for controlling congestion control by fusing three kinds of information in wired/wireless hybrid network | |
CN107634911B (en) | Adaptive congestion control method based on deep learning in information center network | |
CN105357138B (en) | A kind of adaptive method for reliable transmission based on low priority | |
CN107171842B (en) | Multipath transmission protocol congestion control method based on reinforcement learning | |
CN100553230C (en) | A Collaborative Congestion Control Method for High-Speed Networks | |
CN1324862C (en) | Method for regulating congest window in communication network | |
CN1327677C (en) | ECN based congestion control method with prediction verification | |
CN101977151B (en) | Congestion control method used for wide area network environment with high packet loss rate | |
US20090073975A1 (en) | Communication method and communication device | |
CN1488214A (en) | Method and apparatus for enhanced real-time estimation of bottleneck bandwidth in the Internet | |
CN101964755A (en) | Explicit congestion control method based on bandwidth estimation in high-bandwidth delay network | |
CN102594434B (en) | Method for improving satellite network-oriented transmission control mechanism | |
CN103916329B (en) | Named data network transmission control method and system | |
CN104618258B (en) | A kind of control method of message transmission rate | |
CN102932840B (en) | Wireless router active queue management method based on rates and queue length | |
CN101969432B (en) | Random backoff based control method of TCP (Transmission Control Protocol) congestion window | |
Cavendish et al. | CapStart: An adaptive TCP slow start for high speed networks | |
Xiong et al. | Lambdastream–a data transport protocol for streaming network-intensive applications over photonic networks | |
CN116760777B (en) | Multipath congestion control method based on ABEA3C | |
CN115665058A (en) | Data transmission speed control method, device, equipment and medium | |
TWI308012B (en) | Method for adaptive estimation of retransmission timeout in wireless communication systems | |
KR101046473B1 (en) | Flow Control and Congestion Control Method of Transmission Control Protocol Using Network Model | |
Jaiswal et al. | A comparative performance analysis of TCP congestion control algorithm: elastic TCP vs. e-Elastic TCP | |
Wu et al. | EJTCP: Enhanced Jitter-based TCP for Wireless Broadband Networks. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100721 Termination date: 20180521 |
|
CF01 | Termination of patent right due to non-payment of annual fee |