CN100568847C - Combined Frame Scheduling and Buffer Management Algorithm in DiffServ Network - Google Patents
Combined Frame Scheduling and Buffer Management Algorithm in DiffServ Network Download PDFInfo
- Publication number
- CN100568847C CN100568847C CNB018052460A CN01805246A CN100568847C CN 100568847 C CN100568847 C CN 100568847C CN B018052460 A CNB018052460 A CN B018052460A CN 01805246 A CN01805246 A CN 01805246A CN 100568847 C CN100568847 C CN 100568847C
- Authority
- CN
- China
- Prior art keywords
- frame
- type
- scheduling
- formation
- network environment
- 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.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 21
- 230000015572 biosynthetic process Effects 0.000 claims abstract 13
- 238000000034 method Methods 0.000 claims description 28
- 238000005755 formation reaction Methods 0.000 claims 12
- 208000027744 congestion Diseases 0.000 description 33
- 230000007246 mechanism Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 3
- 238000007493 shaping process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 239000010813 municipal solid waste Substances 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013598 vector Substances 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/28—Flow control; Congestion control in relation to timing considerations
- H04L47/283—Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
-
- 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
-
- 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/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2441—Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
-
- 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/30—Flow control; Congestion control in combination with information about buffer occupancy at either end or at transit nodes
-
- 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/32—Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本申请要求按照美国国会第35号法案中第119(e)款享有在2000年2月24日提交的、名为“在区分服务网中的帧调度与缓冲区管理联合算法”的第60/184557号美国专利临时申请的优先权。This application claims benefit under Section 119(e) of Act 35, United States Congress, to Title 60/2000, "A Joint Frame Scheduling and Buffer Management Algorithm in DiffServ Networks," filed February 24, 2000. Priority of US Provisional Application No. 184,557.
技术领域 technical field
本发明涉及网络交换技术,更具体来讲,是涉及在网络交换中所采用的数据帧转发技术。The present invention relates to network exchange technology, more specifically, relates to the data frame forwarding technology adopted in network exchange.
背景技术 Background technique
区分服务(DiffServ)是互联网领域中出现的一个相对较新的概念,其被认为是提高服务质量(QoS)的一种“软”途径。区分服务是由IETF(互联网工程任务组)提出的一组新技术,该技术允许互联网服务商以及其它基于IP协议的网络服务提供商能为额外付费的各单个用户提供水平各异的服务,并向这些用户发送信息流。在这种体制下,进入到网络路由器中的每个数据帧的帧头中都包含有一个标记,该标记指明了该网络路由器在传输过程中应赋予该数据帧何种水平的服务。然后,该网络路由器对进入到各个端口中的各个数据帧施用相应等级的不同服务。采用区分服务的方法,服务提供商则就可以根据帧头中所含的适当帧标记而向某些特定用户的所有数据帧流(traffic)提供优先等级的服务(但这并不是严格不变的承诺)。所提供服务的优先级越高,则帧延时(即帧等待时长)越短。在发生帧拥塞的时候,这些带有优先级标记的数据帧将享有优先的服务。Differentiated Services (DiffServ) is a relatively new concept emerging in the Internet field, which is considered as a "soft" way to improve Quality of Service (QoS). Differentiated Services is a group of new technologies proposed by IETF (Internet Engineering Task Force), which allows Internet service providers and other IP-based network service providers to provide different levels of service for individual users who pay extra, and Send streams to these users. Under this system, the frame header of each data frame entering the network router contains a mark, which indicates what level of service the network router should give to the data frame during transmission. The network router then applies a corresponding level of different services to each data frame entering each port. Using the method of distinguishing services, the service provider can provide priority services to all data frame streams (traffic) of some specific users according to the appropriate frame tags contained in the frame header (but this is not strictly invariable) promise). The higher the priority of the service provided, the shorter the frame delay (that is, the frame waiting time). When frame congestion occurs, these data frames with priority marks will enjoy priority service.
对于目前的区分转发机理,由于在最为恶劣的情况下,如不严重地降低系统资源的利用率就不能同时保证帧延时和带宽隔离的要求,所以该机理是不完善的。要同时满足帧延时保证和带宽保证就需要能有一种帧转发调度机制,该机制结合了缓存器管理技术和传送调度技术。As for the current differentiated forwarding mechanism, because in the worst case, the requirements of frame delay and bandwidth isolation cannot be guaranteed at the same time without seriously reducing the utilization rate of system resources, so the mechanism is not perfect. To satisfy frame delay guarantee and bandwidth guarantee at the same time, a frame forwarding scheduling mechanism is required, which combines buffer management technology and transmission scheduling technology.
发明内容 Contents of the invention
在此文中公开并要求保护的本发明的一个方面在于提供了一种用在区分服务网络环境中的帧调度、丢弃架构(architecture)。该架构中包括一个丢弃逻辑电路,其用于按照一种丢弃算法将一个数据帧从网络环境输入帧流中丢弃出去,如果当网络环境中的拥塞水平达到预定程度、且与该数据帧相关的队列积压长度达到预定限度时就丢弃该数据帧。还设置了调度逻辑电路,用于对网络环境中一个或多个排队数据帧的发送次序进行调度。One aspect of the present invention disclosed and claimed herein is to provide a frame scheduling, discarding architecture for use in a differentiated services network environment. The architecture includes a discarding logic circuit, which is used to discard a data frame from the input frame stream of the network environment according to a discarding algorithm, if the congestion level in the network environment reaches a predetermined level, and the data frame related The data frame is discarded when the queue backlog length reaches a predetermined limit. A scheduling logic circuit is also provided for scheduling the sending sequence of one or more queued data frames in the network environment.
附图说明 Description of drawings
为了能对本发明及其优点有一个更为完整的理解,下文结合附图作如下的描述,在附图中:In order to have a more complete understanding of the present invention and its advantages, the following description is made in conjunction with the accompanying drawings, in the accompanying drawings:
图1是一个总体框图,表示了根据所公开实施例的一种帧转发系统;FIG. 1 is an overall block diagram showing a frame forwarding system according to the disclosed embodiments;
图2中的图线表示了图1所示系统所形成的拥塞面;The graph in Figure 2 represents the congestion surface formed by the system shown in Figure 1;
图3中的框图表示了根据表1设计的帧转发系统样例;以及The block diagram in Figure 3 shows a sample frame forwarding system designed according to Table 1; and
图4中的图线表示了在一个WRED型应用中的亚拥塞面。The graph in Figure 4 shows the sub-congestion surface in a WRED-type application.
具体实施方式 Detailed ways
本文所公开的新型调度机制最好是将可测量的业务质量(QoS)判据和缓存器管理结合到一种用于在区分业务环境中执行帧转发的联合方法中,其中的业务质量判据例如为延时或带宽。The novel scheduling mechanism disclosed herein preferably combines measurable quality of service (QoS) criteria and buffer management into a joint method for performing frame forwarding in a differentiated service environment, where the quality of service criterion For example latency or bandwidth.
QoS是一个含义很宽泛的概念,不同的人对此有不同的解释。总体上来讲,本文所描述的提高QoS的方法是基于几个方面的假定:所提供的业务流型式是未知的;输入流业务是非规则或未整形的(但是,如果输入流是规则或已整形的,则可对交换性能作出一些其它保证);且网络管理者知晓在该网络上进行的应用类型(或流类型)以及这些应用的相对重要性,其中的应用例如是语音通信、文件传输、或者是网络浏览。术语“整形的”或“整形化”被定义为对业务流流量的控制(即流量调控),即通过将业务流流量限制在非常接近于下游设备的输入带宽容量的程度来防止下游设备出现溢出。规则化与整形化类似,但是,在规则化过程中,超出设定流量的业务流是被丢弃了,而不是缓存起来。在具有这些应用知识的前提下,网络管理者则就可以将各种应用分为几类型,且为各类型应用设立一个服务等级协定,该服务等级协定例如是由各个类型应用的带宽或延时保证组成的。QoS is a very broad concept, and different people have different interpretations for it. Generally speaking, the method for improving QoS described in this paper is based on several assumptions: the type of service flow provided is unknown; the input flow service is irregular or unshaped (however, if the input flow is regular or shaped some other guarantees on switching performance); and the network manager is aware of the types of applications (or flow types) being carried out on the network and the relative importance of these applications, such as voice communications, file transfers, Or web browsing. The term "shaping" or "shaping" is defined as the control (i.e., traffic policing) of traffic flow, i.e. preventing overflow of downstream devices by limiting traffic flow to a level very close to the downstream device's input bandwidth capacity . Regularization is similar to shaping, but in the process of regularization, service flows exceeding the set flow are discarded instead of cached. On the premise of having these application knowledge, the network manager can divide various applications into several types, and set up a service level agreement for each type of application. Guaranteed to be composed.
一种类型能提供超过协定带宽的流量。一个循规类型提供的业务流量不超过协定的流量。与此相反,一个违规类型所提供的流业务则会超过协定流量。一个违规类型是由多个违规的微业务流集合而成的。为了能实现高链接带宽的利用,一个违规类型被允许使用任何的冗余带宽。但是,对违规类型的宽容度必须要以不损害其它循规类型的QoS为限。One type can provide traffic exceeding the agreed bandwidth. The traffic flow provided by a compliance type does not exceed the agreed traffic. Conversely, a violation type can provide flow services that exceed contracted traffic. A violation type is composed of multiple violation micro-service flows. In order to achieve high link bandwidth utilization, a violation type is allowed to use any redundant bandwidth. However, the tolerance for violation types must be limited to not impairing the QoS of other compliance types.
下面的表1中表示了一个关于六种类型流的示例表格,表格中各种类型流都具有各自独有的属性和应用。Table 1 below shows an example table about six types of flows, each type of flow in the table has its own unique attributes and applications.
表1.六种类型流的示样表格Table 1. Sample tables for six types of streams
如表1所示,各种流类型(即电话业务、电路仿真、视频教学、关键及非关键的交互式应用、电子商务、电子邮件、文档备份以及随机网络浏览)被分成了三个类型(C1、C2、C3),每个类型都被分配了一定的带宽保证和延时限界。类型C3是优先级最高的传送类型,需要将所有的数据帧都在小于1ms的时间内发送出去,并占用了端口总带宽100Mbps中的40Mbps(40%)。类型C2是一个中等优先级的类型,其占用了端口总带宽100Mbps中的35Mbps(或为35%),且需要所有的数据帧都应当在小于4ms的时间内发送出去。最后,C1类型是优先级最低的类型,其占用了端口总带宽100Mbps中的25Mbps(或为25%),且需要所有的数据帧都应当在发生丢包之前、在小于16ms的时间内发送出去。As shown in Table 1, the various flow types (i.e. telephony, circuit emulation, video teaching, critical and non-critical interactive applications, e-commerce, e-mail, document backup, and random web browsing) are divided into three types ( C 1 , C 2 , C 3 ), each type is assigned a certain bandwidth guarantee and delay limit. Type C 3 is the transmission type with the highest priority, and all data frames need to be sent within less than 1 ms, and occupy 40 Mbps (40%) of the total port bandwidth of 100 Mbps. Type C 2 is a medium priority type, which occupies 35Mbps (or 35%) of the total port bandwidth of 100Mbps, and requires that all data frames should be sent out within less than 4ms. Finally, the C 1 type is the lowest priority type, which occupies 25Mbps (or 25%) of the total port bandwidth of 100Mbps, and requires that all data frames should be sent in less than 16ms before packet loss occurs go out.
另外,每个传送类型(C1、C2和C3)都具有两个亚类型:高丢包亚类型和低丢包亚类型。循规的用户应当很少出现丢帧的情况。但是,违规的用户(即以太高的流量发送数据帧的用户)将会丢失一些数据帧,且首先被丢弃的将是那些符合高丢包判据的数据帧。如果这样做还不足以缓解拥塞,则某些符合低丢包判据的数据帧也将被丢弃,而在最坏的情况下,所有的数据帧都要被丢弃。Additionally, each transfer type (C 1 , C 2 and C 3 ) has two subtypes: a high packet loss subtype and a low packet loss subtype. Consistent users should rarely experience dropped frames. However, violating users (ie, users sending data frames with too high a flow rate) will lose some data frames, and the first to be discarded will be those data frames that meet the high packet loss criterion. If this is not enough to relieve congestion, some data frames that meet the low packet loss criterion will also be discarded, and in the worst case, all data frames will be discarded.
从表1可以看出:类型的应用、对应属性、以及延时和丢包判据可按照任何所希望的方式进行搭配。例如,随机网络浏览被分在了高丢包率、且容许长延时的流类型中,而VoIP电话则被分在了低丢包率、短延时的流类型中。It can be seen from Table 1 that types of applications, corresponding attributes, and delay and packet loss criteria can be matched in any desired manner. For example, random web browsing is classified as a high packet loss, high latency stream, while VoIP telephony is classified as a low packet loss, low latency stream.
除了上述的三个类型(C1、C2和C3)之外,还可以划分出更多个具有其它延时限界和最小带宽保证的传送类型。另外,在另一种变型形式中,尽量做好(best-effort)流可构成一个优先级最低的类型,该流只有在其它类型均没有任何的流时才能享有带宽。还可以增加一种传送优先级更高的类型,其具有高于其它三个(或更多个)类型的绝对优先权;也就是说,如果该类型即使只有一个数据帧要进行传送,则也要首先对其进行传送。但应当注意的是,在本具体实施例中,每个10/100Mbps端口总共支持三个类型(C1、C2和C3)。In addition to the above three types (C 1 , C 2 and C 3 ), more transmission types with other delay bounds and minimum bandwidth guarantees can also be divided. Also, in another variant, best-effort flows may constitute a lowest-priority class that only gets bandwidth if none of the other classes have any flows. It is also possible to add a type with higher transmission priority, which has absolute priority over the other three (or more) types; that is, if this type has only one data frame to transmit, then It needs to be sent first. But it should be noted that in this specific embodiment, each 10/100 Mbps port supports a total of three types (C 1 , C 2 and C 3 ).
在一个1Gbps的应用环境中,由于线路速度越高,所要求的QoS保证越高,所以每个端口可能会支持多达八个类型(C8-C1)。例如,一种缺省配置形式可能会具有六个延时限界队列Q8-Q1(分别对应于类型C8-C1)和两个尽量做好队列Q2和Q1(分别对应于类型C2和C1)。对于1Gbps端口的情况,延时限界的设定例如为:C8和C7为0.16ms、C6为0.32ms、C5为0.64ms、C4为1.28ms、以及C3为2.56ms。只有当没有任何延时限界流需要服务时,才对尽量做好型业务流提供服务。对于该1Gbps端口的情况,存在两个尽量做好队列,且类型越高优先权越大(也就是说,C2对C1具有绝对的优先权)。同样,上文的描述只是一种示例情况。应当注意的是:上述架构与互联网工程任务组提出的IETF类型分类是兼容的。In a 1Gbps application environment, since the higher the line speed, the higher the required QoS guarantee, each port may support up to eight types (C 8 -C 1 ). For example, a default configuration might have six delay-bound queues Q 8 -Q 1 (corresponding to types C 8 -C 1 , respectively) and two best-effort queues Q 2 and Q 1 (corresponding to types C 2 and C 1 ). For the case of a 1Gbps port, the setting of the delay bound is, for example, 0.16ms for C 8 and C 7 , 0.32ms for C 6 , 0.64ms for C 5 , 1.28ms for C 4 , and 2.56ms for C 3 . Best-effort traffic is serviced only when there are no delay-bound flows requiring service. For the case of the 1Gbps port, there are two best-effort queues, and the higher the type, the greater the priority (that is, C 2 has absolute priority to C 1 ). Again, the above description is only an example situation. It should be noted that the above architecture is compatible with the IETF Type Classification proposed by the Internet Engineering Task Force.
为解决由于对输入流的混合不了解而产生的不确定性,采用了一种延时保证算法,按照队列占位情况和队列HOL帧的应到时刻来动态地调整调度判据及丢包判据。结果就是:对于所有的高自信度(confidence)准入数据帧,都能确保达到延时限界-甚至在出现全系统范围拥塞的情况下。延时保证算法能识别出违规的类型,并智能地丢弃一些数据帧,以达到不损害循规类型的目的。该算法还能用一个加权的RED(RandomEarly Detection随机早期检测)方法(WRED)来区分开高丢包流和低丢包流。WRED方法用在互联网络中,用于在帧拥塞成为问题之前避免其出现。RED算法沿一个网络在选定位置点上监视着流负载,且在拥塞开始增加时,随机地丢弃一些数据帧。响应于对丢弃数据帧进行检测的上层作业,数据帧的传输速度被放慢了。In order to solve the uncertainty caused by the ignorance of the mixing of input streams, a delay guarantee algorithm is adopted to dynamically adjust the scheduling criterion and packet loss criterion according to the queue occupancy and the due time of the queue HOL frame. according to. The result: a guaranteed delay bound for all admitted data frames with high confidence - even in the presence of system-wide congestion. The delay guarantee algorithm can identify the type of violation, and intelligently discard some data frames, so as not to damage the type of compliance. The algorithm can also use a weighted RED (Random Early Detection) method (WRED) to distinguish high packet loss flows from low packet loss flows. The WRED method is used in internetworks to avoid frame congestion before it becomes a problem. The RED algorithm monitors the flow load at selected points along a network and randomly drops frames when congestion starts to increase. The transmission of data frames is slowed down in response to an upper layer operation that detects dropped data frames.
下面参见图1,图1中表示了一个方框图,该方框图是对所公开实施例的一个上位总览。本文所公开的新型转发机制包括结合在一起的两个方面:缓存器管理和传送调度,其中的缓存器管理是根据一种丢弃算法工作的,用于决定输入数据帧的准入和丢弃;而传送调度则用于确定数据帧发送离去的次序。上述结合的重要性可归纳如下:带宽、延时以及缓存之间的相互关系被数学地表达成一个“所享有带宽∝队列长度/所经历延时”的关系式。此利用了调度技术和缓存器管理技术的合并机制控制了所经历的延时时长以及队列长度。作为上述事实和数学关系式的结果,该联合机制还调整了各个类型所享有的带宽。Referring now to FIG. 1, a block diagram is shown which is a high-level overview of the disclosed embodiments. The novel forwarding mechanism disclosed herein includes two aspects combined: buffer management and delivery scheduling, wherein buffer management works according to a discarding algorithm for deciding admission and discarding of incoming data frames; and The delivery schedule is used to determine the order in which data frames are sent out. The importance of the above combination can be summarized as follows: the interrelationship among bandwidth, delay, and cache is mathematically expressed as a relational expression of "shared bandwidth∝queue length/experienced delay". This combined mechanism, which utilizes scheduling techniques and buffer management techniques, controls the experienced delay and queue length. As a result of the above facts and mathematical relationships, the federation mechanism also adjusts the bandwidth enjoyed by each type.
再参见图1,一个帧转发系统100包括一个按照丢弃算法工作的丢弃逻辑电路102,其中的丢弃算法监视着输入位流104。该丢弃逻辑电路102的输出106流入到一个或多个队列108、110和112(也被称为队列Q1、Q2...、Qn)中,其中的各个队列分别对应着各个流类型C1、C2...、Cn。队列108、110、112按照各个数据帧所被指定的流类型而临时存储着这些数据帧,且各个队列将数据帧输出到一个多路复用逻辑电路114中,以最终输入到一个输出队列116中,该输出队列具有K Mbps的总带宽容量。例如,传送优先级最低的类型C1与一个服务等级协定S1相关联,该协定是由延时限界参数(δ1)和一个带宽参数(r1)限定的。如果排队在队列108(也被称为Q1)中的数据帧数目不能在由延时限界参数(δ1)指定的时间内发送出去,则就具有了要将该类型中的某些数据帧丢弃以防止发生拥塞的一定概率。类似地,图中还表示出了传送优先级次高的类型C2,该类型与一个服务等级协定S1相关联,该协定是由延时限界参数(δ2)和一个带宽参数(r2)限定的。如果排队在队列110(也被称为Q2)中的数据帧数目多到不能在由延时限界参数(δ2)指定的时间内发送出去,则就具有了要将该类型中的某些数据帧丢弃以防止发生拥塞的一定概率。Referring again to FIG. 1, a
在所示的实施例中存在多个类型,其中优先级最高的Cn与一个服务等级协定Sn相关联,该协议是由延时限界参数(δn)和一个带宽参数(rn)限定的。如果排队在队列112(也被称为Qn)中的数据帧数目多到不能在由延时限界参数(δn)指定的时间内发送出去,则就存在一定概率:要将该类型中的某些数据帧丢弃以防止发生拥塞。输出队列116临时存储着从各个类型队列108、110和112接收来的数据帧,且将各个类型C1、C2、...Cn输出向一个端口P(图中未示出)。多路复用器114是由一个调度逻辑电路118控制的,该逻辑电路确定了数据帧从各个类型队列108、110和112中离去的次序。In the embodiment shown there are multiple types, of which the highest priority C n is associated with a service level agreement S n defined by a delay bound parameter (δ n ) and a bandwidth parameter (r n ) of. If the number of data frames queued in queue 112 (also referred to as Q n ) is too large to be sent within the time specified by the delay bound parameter (δ n ), then there is a certain probability that a frame of that type will Some data frames are dropped to prevent congestion. The
下文是对该新型系统更为概括化的描述。假定端口P为n个流业务类型提供服务,这n个类型标为C1、C2、...Cn。网络提供商为每个服务类型Ci都议定了一个服务等级协定Si,该协定是δi和rI的表达式,即Si=(δi,ri),式中δi为类型Ci中任何数据帧所允许的最长经历保证延时,且ri是指为类型Ci分配的超时最小保证带宽。这些类型被设定成这样:使得类型C1的最大保证延时δ1大于或等于类型C2的最大保证延时δ2,且类型C2的最大保证延时δ2大于或等于类型C3的最大保证延时δ3,并以此类推(也就是说,δ1≥δ2≥...≥δn)。所公开该机制的有利之处在于:无论所提供的流型式是怎样的,都能同时满足服务等级协定Si(i为所有值)的延时约束条件和带宽约束条件。The following is a more generalized description of the new system. Assume that port P serves n stream traffic types, denoted C 1 , C 2 , . . . C n . The network provider has negotiated a service level agreement S i for each service type C i , the agreement is the expression of δ i and r I , that is, S i = (δ i , r i ), where δ i is the type The longest experienced guaranteed delay allowed for any data frame in C i , and r i refers to the timeout minimum guaranteed bandwidth allocated for type C i . The types are set such that the maximum guaranteed delay δ 1 of type C 1 is greater than or equal to the maximum guaranteed delay δ 2 of type C 2 and the maximum guaranteed delay δ 2 of type C 2 is greater than or equal to type C 3 The maximum guaranteed delay δ 3 of , and so on (that is, δ 1 ≥δ 2 ≥...≥δ n ). The advantage of the disclosed mechanism is that no matter what the stream type is, it can simultaneously satisfy the delay constraint condition and the bandwidth constraint condition of the service level agreement S i (i is all values).
下文对延时限界调度的讨论是在10/100Mbps端口的环境中进行的,其中的端口具有三个延时限界类型(C3、C2和C1)。但是,也可以类似地构建具有更多个类型的应用环境。在表1中的10/100Mbps端口情况下,当对限界的延时进行调度时,排入到三个调度队列Q1-Q3(分别属于类型C1、C2和C3)中的数据帧都包含一个到达时间戳。当一个数据帧到达队列中的队头(HOL)位置时,根据每个队列中HOL数据帧的时间戳而作出调度决定。在下文中给出的示例性的规则中,延时被定义为工作(或数据帧)到达时间戳与当前时间之间的时间差。很显然,如果对于某一具体类型,没有任何数据帧要等待传送,则就不能选择该类型。The following discussion of delay bounded scheduling is in the context of a 10/100 Mbps port with three delay bound types (C 3 , C 2 and C 1 ). However, it is also possible to similarly construct application environments having more types. In the case of the 10/100Mbps port in Table 1, when the bounded delay is scheduled, the data queued into three scheduling queues Q 1 -Q 3 (belonging to types C 1 , C 2 and C 3 respectively) Frames contain an arrival timestamp. When a data frame arrives at the head-of-line (HOL) position in the queue, scheduling decisions are made based on the timestamp of the HOL data frame in each queue. In the exemplary rules given below, latency is defined as the time difference between the job (or data frame) arrival timestamp and the current time. Obviously, if there are no data frames waiting to be transmitted for a particular type, then that type cannot be selected.
下面参见图2,该图在欧几里得空间中表示了根据所公开实施例的拥塞面200的概念。将每个服务类型Ci中等待输出端口P转发的队列积压长度(以总字节数为计量单位)设为Qi。设λi=δ1/δi,且设D=K·δ1(以字节数为计量单位)。拥塞超平面200是由向量组{Q1、Q2、Q3、...Qn}围成的,并由方程(1)限定:Referring now to FIG. 2, this figure represents the concept of a
缓存管理器102将在如下条件、且仅在如下条件下丢弃一个输入数据帧,该数据帧预定要送向端口P,且属于类型Ci,The
以及as well as
Qi>ri·δ1 Q i >r i ·δ 1
(3)(3)
第一个条件(公式[2])表明系统100发生了拥塞,也就是说系统100已经超出了拥塞面200。第二个条件(公式[3])表明类型Ci的积压量已经很大了。即使一个属于类型Ci的数据帧获准接入了,但也不能对其要符合延时约束条件的情况作出任何改变,该约束条件是所存在积压量与对其它类型的最小带宽保证的结果。因而,该类型i的输入数据帧要被丢弃。The first condition (formula [2]) indicates that the
所公开的缓存器管理算法可被变型为包含WRED技术,WRED技术的好处在文献中已有很充分的介绍。WRED技术采用一种加权的队列长度,来判断系统何时变得十分拥塞而需要考虑丢弃一个或多个数据帧。该丢弃法则必须要丢弃足够多的数据帧,以将队列长度保持在拥塞面200以下;不然的话,就要丢弃100%的数据帧来防止出现拥塞。由于目标是区分开高丢包流和低丢包流,所以不能允许系统100到达拥塞面200的临界情况,在拥塞面上,所有的数据帧都将被丢弃,而并不考虑丢弃时的先后次序。因而,在该特定的实施例中,定义出两个亚拥塞面(水平1和水平2),这两个亚拥塞面被设计成能实现早期拥塞预防,这样,数据帧就很少遇到具有100%丢包概率的严厉条件。The disclosed buffer management algorithm can be modified to incorporate WRED techniques, the benefits of which are well described in the literature. WRED technology uses a weighted queue length to determine when the system becomes so congested that one or more data frames need to be considered discarded. The drop rule must drop enough frames to keep the queue length below the
下面参见图3,图中的方框图表示了根据表1的一种示例性转发系统。该帧转发系统300(类似于系统100)具有100Mbps的带宽,并采用了按照本文所公开的丢弃算法工作的丢弃逻辑电路102。该丢弃逻辑电路102监视着输入位流302,并基于预先设定的判据将位流302中的选定数据帧304丢弃到一个垃圾箱306(图中所示的仅是为了展开讨论)中。而那些准入的数据帧(307、309、311)则随后被排入到对应类型的输排队列(308、310和312)中。例如,输入队列308是属于C1类型(传送优先级最低的类型)的,该类型的延时限界要求所有的数据帧307都应当在小于16ms的时间内发送出去,如果该类型C1由于提供的流量超过了议定的25Mbps时而变为一个违规类型时,就存在要丢弃某些C1类型数据帧的概率,以此来防止拥塞。输入队列310是一个C2类型(传送优先级中等的类型)的队列,该类型的延时限界要求所有的数据帧309都应当在小于4ms的时间内发送出去,如果该类型C2由于提供的流量超过了议定的35Mbps时而变为一个违规类型时,就存在要丢弃某些C2类型数据帧的概率,以此来防止拥塞。最后,输入队列312是一个C3类型(传送优先级最高的类型)的队列,该类型的延时限界要求所有的数据帧311都应当在小于1ms的时间内发送出去,如果该类型C3由于提供的流量超过了议定的40Mbps时而变为一个违规类型时,就存在要丢弃某些C3类型数据帧的概率,以此来防止拥塞。Referring now to FIG. 3, a block diagram in the figure shows an exemplary forwarding system according to Table 1. Referring to FIG. The frame forwarding system 300 (similar to system 100) has a bandwidth of 100 Mbps and employs
排入到各个队列(308、310和312)中的对应数据帧(307、309和311)通过一个多路复用器314(其类似于上述的多路复用逻辑电路114)、以不超过100Mbps的流量被多路传送到一个输出位流316中,其中的100Mbps流量值为系统300的端口输出速度。但是,有一个调度逻辑电路318与多路复用器314相连接,用于对从各个类型队列(308、310和312)传来的对应类型数据帧(307、309和311)的传送进行调度。如上所述,每个排队数据帧(307、309和311)在到达对应队列(308、310和312)时都被加上了一个时间戳。当某一类型的数据帧(307、309和311)到达其对应队列(308、310和312)的队头位置(313、315和317)时,根据各个队列中队头数据帧的到达时间戳而作出调度决定。Corresponding data frames (307, 309, and 311) enqueued into the respective queues (308, 310, and 312) pass through a multiplexer 314 (similar to the
参见图4,图中的图线表示了拥塞面和亚拥塞面。应当说明的是,可定义出任何数目个亚拥塞面。水平1和水平2的亚拥塞面(分别为400和402)通过随机地丢弃一定比例的高丢弃数据帧、而同时大量地保留低丢弃数据帧来防止出现拥塞。这就使得高丢弃数据帧成为低丢弃数据帧的牺牲品而在早期就开始被丢弃了。在该示例中,当已存在的总队列积压量N在120到200KB之间时,且类型队列Q1-Q3中任何一个队列的被缓存数据帧积压量达到或超过对应的队列限度A、B或C(以KB为单位),就存在丢弃数据帧的一定概率。在水平1的亚拥塞面400中,存在16Q3+4Q2+Q1≥120KB,且队列Q1-Q3中的任何一个或多个队列的积压程度超过了对应的限度(分别为A、B和C),低丢包与高丢包的范围分别是在0和0-X%之间。类似地,在水平2的亚拥塞面402中,存在16Q3+4Q2+Q1≥160KB,且队列Q1-Q3中的任何一个或多个队列的积压程度超过了对应的限度(分别为A、B和C),低丢包与高丢包的范围分别是在0-Y%与0-Z%之间。最后,对于第3水平的拥塞面200中,该拥塞面是由16Q3+4Q2+Q1≥200KB的关系式限定出的,无论是高丢包规则还是低丢包规则都规定要100%地丢弃数据帧。Referring to Fig. 4, the graph lines in the figure represent the congestion surface and the sub-congestion surface. It should be noted that any number of sub-congestion planes can be defined. The
表2对采用WRED的丢包规则进行了归纳,在该表中,各个亚拥塞面是根据100Mbps的端口进行定义的,在该具体示例中总最大队列积压量N=200KB。Table 2 summarizes the packet loss rules using WRED. In this table, each sub-congestion plane is defined according to a 100Mbps port. In this specific example, the total maximum queue backlog N=200KB.
表2.在10/100Mbps端口上、对于具有三个延时限界类型的情况下为提高QoS的丢包规则。Table 2. Packet drop rules for improving QoS with three delay bound types on 10/100Mbps ports.
需要注意的是:在具有表1中延时限界的特定实施例中,当16Q3+4Q2+Q1≥N KB时,只应用了上述的丢弃数据帧(或丢包)规则,此方面内容将在下文详细讨论。It should be noted that: in the specific embodiment with the delay limit in Table 1, when 16Q 3 +4Q 2 +Q 1 ≥ N KB, only the above-mentioned discarding data frame (or packet loss) rule is applied, in this respect The content is discussed in detail below.
表3给出了一个示例,其将上述的丢弃机制与WRED技术相结合。Table 3 gives an example that combines the above-mentioned discarding mechanism with the WRED technique.
表3.结合了WRED技术的丢弃方法样例Table 3. Sample drop method combined with WRED technology
表3中的水平3遵从了上文提出的规则,并假定具有图1中系统的延时限界约束条件。例如,根据上述的各个方程,如果在这样的条件下(也仅当在这样的条件下):16Q3+4Q2+Q1≥200KB,且队列Q2超过了预定的积压限-即Q2≥17.5KB时,一个C2类型的数据帧就要被丢弃。水平1和水平2形成了上述讨论的两个亚拥塞面(分别为400和402)。例如,如果120KB≤16Q3+4Q2+Q1<200KB,且Q2≥17.5KB,则以一定的概率进行丢包。可以注意到:在每个WRED水平上,识别出数据帧属于高丢包种类还是属于低丢包种类,而据此指定不同的丢弃概率。Level 3 in Table 3 follows the rules presented above and assumes the delay-bound constraints of the system in Figure 1. For example, according to the above equations, if under such conditions (and only under such conditions): 16Q 3 +4Q 2 +Q 1 ≥ 200KB, and the queue Q 2 exceeds the predetermined backlog limit - that is, Q 2 When ≥17.5KB, a data frame of type C 2 will be discarded.
如图2所示,在该具有三个类型C1、C2和C3的特定实施例中,拥塞面200上的每个点都形成了一个队列长度的三维坐标(Q1、Q2、Q3),该坐标点是可承受的,也就是说,如果各个队列长度(Q1、Q2、Q3)在这些数值上保持稳定,则对应的各个延时限界都是可以满足的。例如,一组可承受的稳定态队列长度以KB为单位表示为(50,17.5,5)。这些数值是这样导出的:Q3=(r3)(δ3)=(40Mbps)(1ms)=5KB;Q2=(r2)(δ2)=(40Mbps)(4ms)=17.5KB;Q1=(r1)(δ1)=(25Mbps)(16ms)=50KB。As shown in FIG. 2 , in this particular embodiment with three types C 1 , C 2 and C 3 , each point on the
对于传送调度,将Δ(F)定义为数据帧F的当前等待时间。然后,将类型i的数据帧F定义为具有迟滞度(slack)Ψi(F),其中Ψi(F)=δi-Δ(F)。这种传送调度方法的优点在于很简单的关系:迟滞度(迟滞时间)越小,则传送优先级越高。当计算出的迟滞时间对于两个或多个类型的队列是相等时,则调度过程首先是对高优选级(也就是具有更为严格的延时要求的类型)的队列进行传送。For delivery scheduling, define Δ(F) as the current latency of data frame F. Then, a data frame F of type i is defined as having slack Ψ i (F), where Ψ i (F) = δ i - Δ(F). The advantage of this transmission scheduling method lies in a very simple relationship: the smaller the hysteresis (delay time), the higher the transmission priority. When the calculated sluggish times are equal for two or more types of queues, the scheduling process first transmits to the queue with higher priority (that is, the type with stricter delay requirements).
尽管上文对优选实施例作了详细描述,但应当理解:无须超越所附权利要求书限定的本发明保护范围和设计思想,就可对此作出多种形式的改变、替换和变更。Although the preferred embodiment has been described in detail above, it should be understood that various changes, substitutions and alterations can be made without going beyond the protection scope and design concept of the present invention defined by the appended claims.
Claims (14)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US18455700P | 2000-02-24 | 2000-02-24 | |
US60/184,557 | 2000-02-24 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1416633A CN1416633A (en) | 2003-05-07 |
CN100568847C true CN100568847C (en) | 2009-12-09 |
Family
ID=22677393
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB018052460A Expired - Fee Related CN100568847C (en) | 2000-02-24 | 2001-02-16 | Combined Frame Scheduling and Buffer Management Algorithm in DiffServ Network |
Country Status (6)
Country | Link |
---|---|
EP (1) | EP1258115A1 (en) |
KR (1) | KR20020079904A (en) |
CN (1) | CN100568847C (en) |
AU (1) | AU2001237043A1 (en) |
TW (1) | TW490964B (en) |
WO (1) | WO2001063858A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030223442A1 (en) * | 2002-05-29 | 2003-12-04 | Huang Anguo T. | Buffer memory reservation |
US7283536B2 (en) * | 2002-06-11 | 2007-10-16 | Nokia Corporation | Multimode queuing system for DiffServ routers |
US7177274B2 (en) | 2002-06-19 | 2007-02-13 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods of transmitting data packets without exceeding a maximum queue time period and related devices |
CN100359888C (en) * | 2003-11-27 | 2008-01-02 | 华为技术有限公司 | A data poll dispatching method |
EP1619839A1 (en) * | 2004-07-21 | 2006-01-25 | Siemens Mobile Communications S.p.A. | Method of and apparatus for scheduling transmission of multimedia streaming services over the radio channel of wireless communication systems |
KR100745682B1 (en) * | 2005-12-08 | 2007-08-02 | 한국전자통신연구원 | I/o packet control device and method of line card in packet exchange system |
WO2009012811A1 (en) * | 2007-07-23 | 2009-01-29 | Telefonaktiebolaget Lm Ericsson (Publ) | Controlling traffic in a packet switched comunications network |
KR101013668B1 (en) * | 2008-10-17 | 2011-02-10 | 엘에스산전 주식회사 | Coil Support Device of Switchgear for Air Circuit Breaker |
CN102036398B (en) * | 2009-09-29 | 2015-06-03 | 中兴通讯股份有限公司 | Relay node (RN) and method thereof for transmitting data |
CN103067968B (en) * | 2011-10-19 | 2016-08-10 | 鼎桥通信技术有限公司 | A kind of method preventing frame protocol step-out |
US10904313B2 (en) * | 2017-06-20 | 2021-01-26 | Telefonaktiebolaget Lm Ericsson (Publ) | Apparatuses, methods, computer programs, and computer program products for live uplink adaptive streaming |
-
2001
- 2001-02-16 WO PCT/US2001/005014 patent/WO2001063858A1/en not_active Application Discontinuation
- 2001-02-16 AU AU2001237043A patent/AU2001237043A1/en not_active Abandoned
- 2001-02-16 EP EP01909268A patent/EP1258115A1/en not_active Withdrawn
- 2001-02-16 CN CNB018052460A patent/CN100568847C/en not_active Expired - Fee Related
- 2001-02-16 KR KR1020027011090A patent/KR20020079904A/en not_active Application Discontinuation
- 2001-02-23 TW TW090104184A patent/TW490964B/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
AU2001237043A1 (en) | 2001-09-03 |
WO2001063858A1 (en) | 2001-08-30 |
CN1416633A (en) | 2003-05-07 |
TW490964B (en) | 2002-06-11 |
EP1258115A1 (en) | 2002-11-20 |
KR20020079904A (en) | 2002-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6990529B2 (en) | Unified algorithm for frame scheduling and buffer management in differentiated services networks | |
JP4619584B2 (en) | Method for scheduling packets at a router in a packet switched network | |
Cao et al. | Rainbow fair queueing: Fair bandwidth sharing without per-flow state | |
US20040125815A1 (en) | Packet transmission apparatus and method thereof, traffic conditioner, priority control mechanism and packet shaper | |
US20050163048A1 (en) | Method and system for providing committed information rate (CIR) based fair access policy | |
CN101552726B (en) | A Hierarchical Service Edge Router | |
CN100550852C (en) | A kind of method and device thereof of realizing mass port backpressure | |
CN100568847C (en) | Combined Frame Scheduling and Buffer Management Algorithm in DiffServ Network | |
CN107454015A (en) | A kind of QoS control method and system based on OF DiffServ models | |
CN101567851A (en) | Method and equipment for shaping transmission speed of data traffic flow | |
WO2004077767A1 (en) | Packet transfer control method and packet transfer control circuit | |
CN102752192A (en) | Bandwidth allocation method of forwarding and control element separation (ForCES) transmission mapping layer based on stream control transmission protocol (SCTP) | |
Kaur et al. | Core-stateless guaranteed throughput networks | |
CN114629847B (en) | Coupled multi-stream TCP congestion control method based on available bandwidth allocation | |
JP4087279B2 (en) | BAND CONTROL METHOD AND BAND CONTROL DEVICE THEREOF | |
Cisco | Policing and Shaping Overview | |
Attiya et al. | Improving internet quality of service through active queue management in routers | |
CA2401425C (en) | Method and system for controlling flows in sub-pipes of computer networks | |
JP5592317B2 (en) | Disposal circuit | |
Usha et al. | Pushout policy in active queue management to support quality of service guaranties in IP routers | |
KR100720917B1 (en) | Differential Active Queue Management Method for Guaranteeing Multimedia Data Usage | |
JP2004032602A (en) | Packet transmitting apparatus and its method | |
Paul | QoS in data networks: Protocols and standards | |
De Cnodder et al. | Rate adaptive shaping for the efficient transport of data traffic in diffserv networks | |
Kim et al. | Zero latency queuing system based on deficit round robin |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
ASS | Succession or assignment of patent right |
Owner name: CONEXANT SYSTEMS, INC. Free format text: FORMER OWNER: GALINK SEMICONDUCTOR V.N. INC Effective date: 20070629 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20070629 Address after: American California Applicant after: Conexant Systems Inc. Address before: American California Applicant before: Mitel Semiconductor V.N. Inc. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091209 Termination date: 20140216 |