CN110868359B - Network congestion control method - Google Patents
Network congestion control method Download PDFInfo
- Publication number
- CN110868359B CN110868359B CN201911125459.3A CN201911125459A CN110868359B CN 110868359 B CN110868359 B CN 110868359B CN 201911125459 A CN201911125459 A CN 201911125459A CN 110868359 B CN110868359 B CN 110868359B
- Authority
- CN
- China
- Prior art keywords
- credit
- packets
- packet
- data
- sent
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 230000007246 mechanism Effects 0.000 abstract description 7
- 239000002699 waste material Substances 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/215—Flow control; Congestion control using token-bucket
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及网络通信领域,特别涉及基于数据中心信用的网络拥塞控制方法。The invention relates to the field of network communication, in particular to a network congestion control method based on data center credit.
背景技术Background technique
数据中心网络(DCN)的基础结构正在迅速发展,包括链接速度,网络接口卡(NIC)的性能以及交换机的功能。但是,网络用户和流量也在增长,这不可避免地导致网络拥塞。严重的拥塞可能会导致网络性能急剧下降,因此需要有效的拥塞控制方案。The infrastructure of data center networks (DCNs) is rapidly evolving, including link speeds, network interface card (NIC) performance, and switch capabilities. However, network users and traffic are also growing, which inevitably leads to network congestion. Severe congestion may cause a sharp drop in network performance, thus requiring an effective congestion control scheme.
目前许多用于控制网络拥塞的拥塞控制策略已经被提出来,它们可以分为反应型拥塞控制和主动型拥塞控制。反应型拥塞控制旨在控制拥塞发生后的情况。反应型拥塞控制通常需要至少一个往返时间(RTT)来应对拥塞,并需要许多RTT才能收敛到公平。随着链路容量的快速增加,越来越多的流传输将在少数RTT中完成。因此反应型拥塞控制方案难以满足高速DCN的要求。At present, many congestion control strategies for controlling network congestion have been proposed, and they can be divided into reactive congestion control and active congestion control. Reactive congestion control aims to control what happens after congestion has occurred. Reactive congestion control typically requires at least one round-trip time (RTT) to cope with congestion and many RTTs to converge to fairness. As link capacity increases rapidly, more and more streaming will be done in a small number of RTTs. Therefore, the reactive congestion control scheme is difficult to meet the requirements of high-speed DCN.
为了跟上加速网络的步伐,主动性拥塞控制方案正变得越来越热门。诸如ExpressPass之类的主动型拥塞控制方案可以避免拥塞,并实现接近零的排队,非常快的收敛性等。因此,近年来,主动型拥塞控制机制引起了广泛的关注。但是,当前的主动型拥塞控制方案很少考虑具有大量非常短的流的工作负载,这会增加短流的流完成时间(FCT),因为传输协议为短流提供的延迟远高于硬件潜力,特别是在网络负载较高的情况下,对于各种拥塞控制方案,它们基于重尾的工作负载,其中100KB的消息被认为很短,例如用于评估DCTCP和pFabric的Web Search工作负载。不幸的是,在当前的商业数据中心中,有一些应用程序的消息大小比Web Server小得多。因此,现有的数据中心传输设计很少会在高网络负载下实现微小流量的低延迟。To keep pace with accelerating networks, proactive congestion control schemes are becoming more and more popular. Proactive congestion control schemes such as ExpressPass can avoid congestion and achieve near-zero queuing, very fast convergence, etc. Therefore, active congestion control mechanisms have attracted extensive attention in recent years. However, current proactive congestion control schemes seldom consider workloads with a large number of very short flows, which increases the flow completion time (FCT) of short flows because transport protocols provide latency for short flows that is much higher than the hardware potential, Especially under high network load, for various congestion control schemes, they are based on heavy-tailed workloads where 100KB messages are considered short, such as the Web Search workload used to evaluate DCTCP and pFabric. Unfortunately, in current commercial data centers, there are some applications with much smaller message sizes than Web Server. As a result, existing data center transport designs rarely achieve low latency for minute traffic under high network load.
另外,ExpressPass中也存在此问题。ExpressPass根据信用数据包(84字节)和数据数据包(1538字节)的大小比例,分别根据最小和最大以太网帧大小,对信用使用5%的速率限制。但是,由于短流(小于或等于几百个字节)比正常数据包小得多,因此速率限制机制会降低效率,然后显着提高FCT,尤其是在工作负载中绝大多数是小流情况下。而且,对于长流量的尾包,也存在这样的问题。由于尾部等待时间(第99个百分位数)是数据中心应用程序最重要的指标,因此现有设计对于高网络负载下的尾部等待时间不是最理想的。因此,无论流量是非常短还是很大,都需要一种适用于各种工作负载的适当主动方案。Also, this issue exists in ExpressPass as well. ExpressPass uses a 5% rate limit on credits based on the minimum and maximum Ethernet frame size, based on the size ratio of credit packets (84 bytes) and data packets (1538 bytes), respectively. However, since short flows (less than or equal to a few hundred bytes) are much smaller than normal packets, the rate-limiting mechanism reduces efficiency and then improves FCT significantly, especially in workloads where the majority of flows are small Down. Moreover, for tail packets with long traffic, there is also such a problem. Since tail latency (99th percentile) is the most important metric for data center applications, existing designs are suboptimal for tail latency under high network load. Therefore, whether the traffic is very short or heavy, an appropriate proactive approach is required for various workloads.
发明内容Contents of the invention
为了解决上述问题,本文提出了一种网络拥塞控制方法,这是一种主动传输控制协议,旨在用于短流程以在数据中心网络中实现低延迟。To address the above issues, this paper proposes a network congestion control method, which is an active transmission control protocol designed for short flows to achieve low latency in data center networks.
首先,本发明提供了一种网络拥塞控制方法,应用于发送端,具体为:First of all, the present invention provides a network congestion control method, which is applied to the sending end, specifically:
在发送流数据前在缓冲区设置令牌桶;向接收端发送信用请求;接收所述接收端发来的信用包;根据所述信用包增加所述缓冲区中所述令牌桶容量;当待发送数据包大小小于所述令牌桶容量大小,则发送数据。Set the token bucket in the buffer before sending the flow data; send a credit request to the receiving end; receive the credit packet sent by the receiving end; increase the capacity of the token bucket in the buffer according to the credit packet; when If the size of the data packet to be sent is smaller than the capacity of the token bucket, the data is sent.
进一步,在接收所述接收端发来的信用包后,根据所述信用包中带有ECN标记的比例,等比例对待发送数据包进行ECN标记。Further, after receiving the credit packets sent by the receiving end, according to the proportion of the credit packets with ECN marks, the data packets to be sent are marked with ECN in equal proportion.
进一步,所述信用包到达后,所述令牌桶容量增加1538B大小。Further, after the credit packet arrives, the capacity of the token bucket is increased by 1538B.
优选的,接收所述1个信用包,至少发送1个数据包。Preferably, upon receiving the one credit packet, at least one data packet is sent.
其次,本发明还提供一种网络拥塞控制方法,应用于接收端,具体为:接收发送端发送的信用请求;向发送端发送信用包;接收发送端发送的数据流。Secondly, the present invention also provides a network congestion control method, which is applied to the receiving end, specifically: receiving the credit request sent by the sending end; sending a credit packet to the sending end; receiving the data flow sent by the sending end.
进一步,在向发送端发送信用包前,将所述信用包地ECT字段设置为1。Further, before sending the credit packet to the sender, the ECT field of the credit packet is set to 1.
优选的,根据所述发送端发来的数据包内带有ECN标记的数据包比例,控制信用包的发送速率。Preferably, the sending rate of credit packets is controlled according to the proportion of data packets with ECN marks in the data packets sent from the sending end.
最后,本发明提供了应用于交换机的一种网络拥塞控制方法具体为:按照链路容量限制,选择性丢弃信用包;根据所述丢弃信用包的比例,对未被丢弃的信用包进行ECN标记。Finally, the present invention provides a network congestion control method applied to switches, which specifically includes: selectively discarding credit packets according to the link capacity limit; performing ECN marking on undiscarded credit packets according to the ratio of the discarded credit packets .
进一步,在所述交换机每个端口设置数据队列和信用队列;将ECN标记阈值K设置为队列的尾部;根据所述信用包被丢弃的个数计算丢包率loss_rate;所述根据所述丢弃信用包的比例,对未被丢弃的信用包进行ECN标记具体为:所述信用队列中,对所述信用包进行ECN标记的概率Further, set a data queue and a credit queue at each port of the switch; set the ECN mark threshold K as the tail of the queue; calculate the packet loss rate loss_rate according to the discarded number of the credit packets; The proportion of the package, the ECN marking of the credit package that has not been discarded is specifically: the probability of performing ECN marking on the credit package in the credit queue
PECN=σ/loss_rateP ECN = σ/loss_rate
其中,σ为控制因子。Among them, σ is the control factor.
优选的,所述控制因子σ值为1。Preferably, the control factor σ has a value of 1.
本发明提供的技术方案与现有技术相比具有以下优点:Compared with the prior art, the technical solution provided by the invention has the following advantages:
1、信用数据包调度1538个令牌而不是一个数据包,因为一个令牌允许1字节的传输,这可以避免调度数据包时的信用浪费。1. Credit data packets schedule 1538 tokens instead of one data packet, because one token allows 1 byte transmission, which can avoid credit waste when scheduling data packets.
2、本发明开发了基于ECN的信用率控制机制,与ExpressPass基于信用的反馈控制相比,该机制可以有效地计算信用损失率。2. The present invention develops an ECN-based credit rate control mechanism, which can effectively calculate the credit loss rate compared with ExpressPass' credit-based feedback control.
附图说明Description of drawings
图1为本发明第一实施例方法示意图;Fig. 1 is the method schematic diagram of the first embodiment of the present invention;
图2为本发明第二实施例方法示意图;Fig. 2 is the method schematic diagram of the second embodiment of the present invention;
图3为本发明第三实施例方法示意图。Fig. 3 is a schematic diagram of the method according to the third embodiment of the present invention.
具体实施方式Detailed ways
下面将详细描述本说明书的各个方面的特征和示例性实施例,为了使本说明书的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本说明书进行进一步详细描述。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The characteristics and exemplary embodiments of various aspects of this specification will be described in detail below. In order to make the purpose, technical solutions and advantages of this specification clearer, this specification will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
第一实施例:First embodiment:
结合图1,是本发明第一实施例提供的一种网络拥塞控制方法,应用于数据发送端,所述方法具体包括:In conjunction with Fig. 1, it is a network congestion control method provided by the first embodiment of the present invention, which is applied to the data sending end, and the method specifically includes:
S11、在发送流数据前在缓冲区设置令牌桶;S11. Setting the token bucket in the buffer before sending the stream data;
其中,在发送端的缓冲区设置令牌桶,用于接收接收端发来的信用包。Wherein, a token bucket is set in the buffer of the sending end to receive the credit packet sent by the receiving end.
S12、向接收端发送信用请求;S12. Send a credit request to the receiving end;
当发送端做好数据发送准备时,向结收端发送信用请求;对于ExpressPass,信用额度被限制为链路容量的5%,其余的95%用于传输数据包。此机制可以有效地充分利用带宽。When the sending end is ready to send data, it sends a credit request to the receiving end; for ExpressPass, the credit limit is limited to 5% of the link capacity, and the remaining 95% is used to transmit data packets. This mechanism can effectively fully utilize the bandwidth.
S13、接收所述接收端发来的信用包;S13. Receive the credit packet sent by the receiving end;
在接收所述接收端发来的信用包后,根据所述信用包中带有ECN标记的比例,等比例对待发送数据包进行ECN标记。在发送端,与带有ECN标签的信用数据包相对应的数据数据包也带有ECN标记。在一个RTT周期内,接收到带有ECN标记的数据包的比例等于了该RTT中信用包的平均丢失率。After receiving the credit packets sent by the receiving end, according to the proportion of the credit packets with ECN marks in the credit packets, the data packets to be sent are marked with ECN in equal proportion. At the sending end, the data packets corresponding to the ECN-tagged credit packets are also ECN-tagged. In one RTT period, the proportion of received data packets with ECN mark is equal to the average loss rate of credit packets in this RTT.
S14、根据所述信用包增加所述缓冲区中所述令牌桶容量;S14. Increase the capacity of the token bucket in the buffer according to the credit packet;
当信用包到达后,增加缓冲区中令牌桶容量大小。ExpressPass根据信用数据包(84字节)和数据数据包(1538字节)的大小比例,分别根据最小和最大以太网帧大小,对信用使用5%的速率限制。When the credit packet arrives, increase the capacity of the token bucket in the buffer. ExpressPass uses a 5% rate limit on credits based on the minimum and maximum Ethernet frame size, based on the size ratio of credit packets (84 bytes) and data packets (1538 bytes), respectively.
本实施例中,一个信用包调度1538B的数据,而不是一个数据包。在发送缓冲区设置了令牌桶。一旦信用包到达,令牌桶的容量将增加1538B。只要待发送的数据包的大小不大于令牌桶的容量,就可以发送数据包。In this embodiment, a credit packet schedules 1538B of data, not a data packet. A token bucket is set in the send buffer. Once the credit packet arrives, the capacity of the token bucket will increase by 1538B. As long as the size of the data packet to be sent is not greater than the capacity of the token bucket, the data packet can be sent.
S15、当待发送数据包大小小于所述令牌桶容量大小,则发送数据。S15. When the size of the data packet to be sent is smaller than the capacity of the token bucket, send the data.
本实施例目标是降低小于1MTU大小的数据包(几乎全是是短流和长流的尾包)的延迟。主要的改动是在数据发送方中。首先,在总大小不超过1538B的情况下,发送尽可能多的短流。一旦这些数据包的累积大小超过1MTU,便将其一起发送出去。对于长流尾分组,如果剩余分组大小小于2MTU但大于1MTU,则最后两个尾分组将一起发送出去。但是,这带来了一个挑战,即在数据缓冲区中,短流不一定会集中在一起。无论是短流量还是长流量,都根据概率发送。长流量可能会延迟短流量。否则,为了发送尽可能短的流,需要重新安排数据包才能以这种方式传输,例如“最短流优先”。这使调度过程复杂化。因此,我们使用令牌而不是信用数据包来调度数据。信用包不再是调度数据包的数量,而是1538B大小的数据。对于要发送的流,发送方在出口上设置令牌桶。令牌桶的容量与接收到的信用数据包的数量有关。它的对应关系是,1538B的容量对应于一个信用包。每次接收到信用数据包时,令牌桶的容量都会增加1538B。对于超过一个MTU大小的数据包,仍按照最大以太网帧的大小(即1538B)发送数据包。对于不是完整MTU大小的数据包,只要令牌桶具有足够的容量,就可以发送该数据包。The goal of this embodiment is to reduce the delay of data packets with a size smaller than 1MTU (almost all of which are tail packets of short flows and long flows). The main change is in the data sender. First, send as many short streams as possible without the total size exceeding 1538B. Once the cumulative size of these packets exceeds 1MTU, they are sent together. For long tail packets, if the remaining packet size is less than 2MTU but greater than 1MTU, the last two tail packets will be sent out together. However, this poses the challenge that short streams are not necessarily clustered together in the data buffer. Whether it is short flow or long flow, it is sent according to the probability. Long traffic may delay short traffic. Otherwise, in order to send the shortest possible stream, packets need to be rearranged to be transmitted in this way, eg "shortest stream first". This complicates the scheduling process. Therefore, we use tokens instead of credit packets to dispatch data. The credit packet is no longer the number of scheduling data packets, but the data with a size of 1538B. For streams to be sent, the sender sets the token bucket on the egress. The capacity of the token bucket is related to the number of credit packets received. Its corresponding relationship is that the capacity of 1538B corresponds to a credit package. Every time a credit data packet is received, the capacity of the token bucket will increase by 1538B. For data packets exceeding one MTU size, the data packets are still sent according to the size of the largest Ethernet frame (that is, 1538B). A packet that is not the full MTU size can be sent as long as the token bucket has sufficient capacity.
第二实施例:Second embodiment:
结合图2,是本发明第二实施例提供的一种网络拥塞控制方法,应用于数据接收端,所述方法具体包括:In conjunction with FIG. 2, it is a network congestion control method provided by the second embodiment of the present invention, which is applied to the data receiving end. The method specifically includes:
S21、接收发送端发送的信用请求;S21. Receive the credit request sent by the sending end;
一旦信用请求信号到达,数据接收方就开始给数据的发送方投递信用包。Once the credit request signal arrives, the data receiver starts delivering credit packets to the data sender.
S22、向发送端发送信用包;S22. Send a credit packet to the sender;
在向发送端发送信用包前,将所述信用包地ECT字段设置为1。Before sending the credit packet to the sender, the ECT field of the credit packet is set to 1.
对于信用包,ExpressPass使用最小大小的84B以太网帧。并且每个信用包能够调度数据发送方发送最大尺寸的以太网帧(例如1538B)。因此,信用额度被限制为链路容量的5%,而其余的95%用于传输数据包。接收端还标记信用数据包,以便交换机可以对信用包进行分类,并将速率限制应用于单独的队列。For credit packets, ExpressPass uses a minimum size 84B Ethernet frame. And each credit packet can schedule the data sender to send the maximum size Ethernet frame (eg 1538B). Therefore, the credit is limited to 5% of the link capacity, while the remaining 95% is used to transmit packets. The receiver also marks the credit packets so that the switch can classify the credit packets and apply rate limits to individual queues.
S23、接收发送端发送的数据流。S23. Receive the data stream sent by the sending end.
根据所述发送端发来的数据包内带有ECN标记的数据包比例,控制信用包的发送速率。在每个RTT中,接收方都会根据信用反馈控制来调整信用数据包的发送速率。According to the proportion of data packets with ECN mark in the data packets sent from the sending end, the sending rate of credit packets is controlled. In each RTT, the receiver adjusts the sending rate of credit data packets according to the credit feedback control.
第三实施例:Third embodiment:
结合图3,是本发明第三实施例提供的一种网络拥塞控制方法,应用于交换机端,所述方法具体包括:In conjunction with Fig. 3, it is a network congestion control method provided by the third embodiment of the present invention, which is applied to the switch side, and the method specifically includes:
S31、按照链路容量限制,选择性丢弃信用包;S31. Selectively discard credit packets according to link capacity limitation;
S32、根据所述丢弃信用包的比例,对未被丢弃的信用包进行ECN标记。S32. Perform ECN marking on credit packets that have not been discarded according to the discarded credit packet ratio.
在所述交换机每个端口设置数据队列和信用队列;将ECN标记阈值K设置为队列的尾部;根据所述信用包被丢弃的个数计算丢包率loss_rate;所述根据所述丢弃信用包的比例,对未被丢弃的信用包进行ECN标记具体为:所述信用队列中,对所述信用包进行ECN标记的概率Data queues and credit queues are set at each port of the switch; the ECN mark threshold K is set to the tail of the queue; the discarded number calculates the packet loss rate loss_rate according to the number of the credit packets discarded; the discarded credit packets according to the Proportion, performing ECN marking on credit packets that have not been discarded is specifically: in the credit queue, the probability of performing ECN marking on the credit packet
PECN=σ·loss_rateP ECN = σ · loss_rate
其中,σ为控制因子。优选的,所述控制因子σ值为1。Among them, σ is the control factor. Preferably, the control factor σ has a value of 1.
为了权衡快速收敛,利用率和公平性这三个性能,ExpressPass引入了一个循环性的信用反馈,该反馈可动态调整信用包的发送速率。这能实现高利用率,公平性和快速收敛。ExpressPass使用信用包丢失率作为拥塞指标。在这种测量中,每个信用包都带有一个序号,数据包携带并返回该序号。序列号的缺失表示信用包已在网络中丢弃。当检测到拥塞时,ExpressPass会将信用发送速率降低为上一个RTT期间通过瓶颈的信用速率。To balance the three performances of fast convergence, utilization, and fairness, ExpressPass introduces a cyclic credit feedback that dynamically adjusts the sending rate of credit packets. This enables high utilization, fairness and fast convergence. ExpressPass uses a credit packet loss rate as a congestion metric. In this measure, each credit packet carries a sequence number, which is carried and returned by the data packet. The absence of a sequence number indicates that the credit packet has been dropped in the network. When congestion is detected, ExpressPass reduces the rate at which credits are sent to the rate at which credits passed through the bottleneck during the previous RTT.
本发明中,信用数据包不再调度一个数据包,而是调度一到几个数据包。因此,信用包的序号不能与数据包的序号一一对应。因此,数据包返回的序号大于信用包的序号。如果使用ExpressPass的方法计算信用丢失率,则数据包和信用包将使用两种计数方法。这使反馈过程复杂化。因此采用ECN标记机制。In the present invention, the credit data packet no longer schedules one data packet, but one or several data packets. Therefore, the sequence numbers of the credit packets cannot be in one-to-one correspondence with the sequence numbers of the data packets. Therefore, the sequence number returned by the data packet is greater than the sequence number of the credit packet. If ExpressPass's method of calculating credit loss rate is used, there will be two counting methods for data packets and credit packets. This complicates the feedback process. Therefore, the ECN marking mechanism is adopted.
本发明采用的数据中心交换机已经能够很好地支持ECN标记功能。ECN机制使用IPv4或IPv6标头中的ECT字段来编码数据包是否支持ECN。如果发送方具有ECN功能,则该包装将被标记为ECT(1),否则将被标记为ECT(0)。在每个交换队列中设置单个标记阈值K。当具有ECN功能的数据包到达时,如果队列长度大于K,它将被标记为ECN。The data center switch used in the present invention can well support the ECN marking function. The ECN mechanism uses the ECT field in the IPv4 or IPv6 header to encode whether a packet supports ECN. The package will be marked as ECT(1) if the sender is ECN capable, otherwise it will be marked as ECT(0). Set a single marking threshold K in each exchange queue. When an ECN-capable packet arrives, it will be marked as ECN if the queue length is greater than K.
因此,我们可以使用ECN标记作为参数来传递信用数据包的拥塞信息。在接收方,我们将所有信用数据包的ECT字段设置为ECT(1)。在每个RTT中,接收方都会根据信用反馈控制来调整信用数据包的速率。Therefore, we can use the ECN mark as a parameter to pass the congestion information of the credit packet. On the receiver side, we set the ECT field of all credit packets to ECT(1). In each RTT, the receiver adjusts the rate of credit packets according to the credit feedback control.
交换机的每个端口都使用一个数据队列和一个信用队列,并且它们在物理上是隔离的。在交换机处,我们将ECN标记阈值K设置为队列的尾部。交换机每收到十个信用包,就根据十个信用包被丢弃的个数计算丢包率loss_rate。交换机将信用队列中最后信用分组标记为ECN的概率为PECN=σ·loss_rate。σ是默认值为1的控制因子。在发送方,与带有ECN标签的信用数据包相对应的数据数据包也带有ECN标记。在一个RTT周期内,接收到带有ECN标记的数据包的比例等于了该RTT中信用包的平均丢失率。Each port of the switch uses a data queue and a credit queue, and they are physically isolated. At the switch, we set the ECN marking threshold K to the tail of the queue. Every time the switch receives ten credit packets, it calculates the packet loss rate loss_rate based on the number of discarded ten credit packets. The probability that the switch marks the last credit packet in the credit queue as ECN is P ECN =σ·loss_rate. σ is a control factor with a default value of 1. On the sending side, the data packets corresponding to the ECN-tagged credit packets are also ECN-tagged. In one RTT period, the proportion of received data packets with ECN mark is equal to the average loss rate of credit packets in this RTT.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are only examples of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911125459.3A CN110868359B (en) | 2019-11-15 | 2019-11-15 | Network congestion control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911125459.3A CN110868359B (en) | 2019-11-15 | 2019-11-15 | Network congestion control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110868359A CN110868359A (en) | 2020-03-06 |
| CN110868359B true CN110868359B (en) | 2023-03-24 |
Family
ID=69654898
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911125459.3A Active CN110868359B (en) | 2019-11-15 | 2019-11-15 | Network congestion control method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110868359B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113472692B (en) * | 2020-03-31 | 2025-08-12 | 华为技术有限公司 | Data transmission method and related equipment |
| CN112437019B (en) * | 2020-11-30 | 2022-01-25 | 中国人民解放军国防科技大学 | Active transmission method based on credit packet for data center |
| CN113543209B (en) * | 2021-06-24 | 2022-05-06 | 北京邮电大学 | Token scheduling-based congestion control method and device |
| CN115378873B (en) * | 2022-08-23 | 2024-08-13 | 山东云海国创云计算装备产业创新中心有限公司 | Flow control method and system for improving Ethernet data transmission efficiency |
| CN118827547B (en) * | 2024-03-25 | 2026-01-06 | 中国移动通信有限公司研究院 | Congestion control methods, apparatus, equipment, storage media and products |
| CN118368249B (en) * | 2024-06-18 | 2024-10-08 | 中国电信股份有限公司 | Congestion control method, device, equipment, medium and product |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101789895A (en) * | 2009-01-24 | 2010-07-28 | 华为技术有限公司 | Method and device for sending/receiving data packets |
| CN102055652A (en) * | 2009-11-03 | 2011-05-11 | 中兴通讯股份有限公司 | Dynamic bandwidth allocation method and device |
| CN103051554A (en) * | 2013-01-05 | 2013-04-17 | 北京航空航天大学 | TCP (transmission control protocol) congestion control method based on throughout change rate and ECN (Explicit Congestion Notification) mechanism |
| CN103051555A (en) * | 2013-01-05 | 2013-04-17 | 北京航空航天大学 | TCP (transmission control protocol) congestion control method based on network effective bandwidth and ECN (Explicit Congestion Notification) mechanism |
| CN104734985A (en) * | 2013-12-23 | 2015-06-24 | 腾讯数码(天津)有限公司 | Data receiving flow control method and system |
| CN106062726A (en) * | 2014-03-21 | 2016-10-26 | 思科技术公司 | Flow aware buffer management for data center switches |
| CN106533970A (en) * | 2016-11-02 | 2017-03-22 | 重庆大学 | Differential flow control method and device for cloud computing data center network |
| CN110166366A (en) * | 2018-02-14 | 2019-08-23 | 华为技术有限公司 | Method for controlling network congestion, device and system |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9025451B2 (en) * | 2013-01-22 | 2015-05-05 | Emulex Corporation | Positive feedback ethernet link flow control for promoting lossless ethernet |
| US9571402B2 (en) * | 2013-05-03 | 2017-02-14 | Netspeed Systems | Congestion control and QoS in NoC by regulating the injection traffic |
| US10922673B2 (en) * | 2018-02-09 | 2021-02-16 | The Toronto-Dominion Bank | Real-time authorization of initiated data exchanges based on tokenized data having limited temporal or geographic validity |
-
2019
- 2019-11-15 CN CN201911125459.3A patent/CN110868359B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101789895A (en) * | 2009-01-24 | 2010-07-28 | 华为技术有限公司 | Method and device for sending/receiving data packets |
| CN102055652A (en) * | 2009-11-03 | 2011-05-11 | 中兴通讯股份有限公司 | Dynamic bandwidth allocation method and device |
| CN103051554A (en) * | 2013-01-05 | 2013-04-17 | 北京航空航天大学 | TCP (transmission control protocol) congestion control method based on throughout change rate and ECN (Explicit Congestion Notification) mechanism |
| CN103051555A (en) * | 2013-01-05 | 2013-04-17 | 北京航空航天大学 | TCP (transmission control protocol) congestion control method based on network effective bandwidth and ECN (Explicit Congestion Notification) mechanism |
| CN104734985A (en) * | 2013-12-23 | 2015-06-24 | 腾讯数码(天津)有限公司 | Data receiving flow control method and system |
| CN106062726A (en) * | 2014-03-21 | 2016-10-26 | 思科技术公司 | Flow aware buffer management for data center switches |
| CN106533970A (en) * | 2016-11-02 | 2017-03-22 | 重庆大学 | Differential flow control method and device for cloud computing data center network |
| CN110166366A (en) * | 2018-02-14 | 2019-08-23 | 华为技术有限公司 | Method for controlling network congestion, device and system |
Non-Patent Citations (1)
| Title |
|---|
| NVMeoF网络存储协议及硬件卸载技术研究;朱佳平,李琼,宋振龙,董德尊,欧洋,徐炜遐;《第二十二届计算机工程与工艺年会暨第八届微处理器技术论坛论文集》;20180816;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110868359A (en) | 2020-03-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110868359B (en) | Network congestion control method | |
| US12212495B2 (en) | Reliable fabric control protocol extensions for data center networks with unsolicited packet spraying over multiple alternate data paths | |
| US20210297351A1 (en) | Fabric control protocol with congestion control for data center networks | |
| CN110808884B (en) | Network congestion control method | |
| CN108881056B (en) | Congestion control method, network equipment and network interface controller thereof | |
| US8437252B2 (en) | Intelligent congestion feedback apparatus and method | |
| CN109120544B (en) | A transmission control method based on host-side traffic scheduling in a data center network | |
| CN113728592A (en) | System and method for facilitating data-driven intelligent networks employing endpoint congestion detection and control | |
| US8213427B1 (en) | Method for traffic scheduling in intelligent network interface circuitry | |
| CN107948103B (en) | Switch PFC control method and control system based on prediction | |
| US20070280111A1 (en) | Method and system for adaptive queue and buffer control based on monitoring and active congestion avoidance in a packet network switch | |
| US11805071B2 (en) | Congestion control processing method, packet forwarding apparatus, and packet receiving apparatus | |
| CN112437019B (en) | Active transmission method based on credit packet for data center | |
| JP5347836B2 (en) | Communication apparatus and communication method | |
| CN112468405A (en) | Data center network congestion control method based on credit and reaction type | |
| WO2014031105A1 (en) | Flow control in a network | |
| WO2022057462A1 (en) | Congestion control method and apparatus | |
| CN116266826A (en) | A distributed machine learning network optimization system, method and electronic equipment | |
| CN117896324A (en) | A cross-data center RDMA network congestion control method and system | |
| CN101039254B (en) | Media data regrouping method and packet server | |
| CN109995608B (en) | Network rate calculation method and device | |
| US12231342B1 (en) | Queue pacing in a network device | |
| CN117411833A (en) | Congestion control method, device and system | |
| CN116708300A (en) | A congestion control method, device and system | |
| CN117176658A (en) | Flowlet load balancing method for data center network receiving end driving transmission protocol |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |