The present invention relates to data communications, and more particularly, to data communications in which multiple service classes are supported.
The Internet is a collection of interconnected networks, all of which use the Internet Protocol (IP). The connections between these networks can be used to support a wide range of applications including, for example, electronic mail, file transfer, electronic commerce, downloading of web site information, and voice over IP. Different types of IP services may require different qualities of service. Quality of service (QoS) is the level of assurance that the network can meet a particular application's service requirements. From a technical perspective, quality of service can be characterized by several performance criteria such as availability, throughput, setup time, percentage of successful transmissions, etc., and can be measured in terms of bandwidth, packet loss, delay, and jitter. In an IP header, one of the fields typically corresponds to a traffic class, which enables different types/classes of traffic to be differentiated from others. A higher level traffic class corresponding to a higher quality of service may be given a higher priority than a lower level traffic class with a lower QoS. For example, real-time applications such as voice might be given a higher priority than other non-real-time applications such as e-mail.
In IP networks that support multiple quality of service classes, there may be situations when one traffic class with stricter delay requirements is multiplexed with another traffic class with less strict delay requirements. For example, voice traffic has strict delay requirements while certain types of data traffic typically has less strict delay requirements. In such a situation, even though the voice traffic has priority over the data traffic, the delay of voice packets is nonetheless influenced by the size of the data packets. At the start of transmission of a large data packet, a voice packet cannot be sent until transmission of that large data packet is finished. For example, if the size of the data packet is one kilobyte and the transmission rate is 64 kbps, the next voice packet to be transmitted in the multiplexed transmission may be delayed by as much as 125 milliseconds.
Accordingly, the way in which IP packets are sized or the way in which IP packets are fragmented/segmented for transmission may affect delay and other service parameters. One example algorithm for fragmenting packets is the point-to-point protocol (PPP) multilink protocol (MP) described in an IETF RFC written in 1990 by K. Sklower et al. entitled, “The PPP Multilik Protocol W).” The RFC indicates that systems implementing the multilink procedure are not required to segment packets, although segmentation may be performed. Segmenting longer, lower priority data packets may prevent transmission delays of a voice packet on a multiplexed transmission link. However, no segmenting algorithm is described in the RFC.
One simple approach to segmenting data packets for multilink procedures, (as well as for other procedures), is to divide the packet into segments of equal size, with all of the segments having the maximum segmentation size possible. More than likely, some portion of the packet smaller than the maximum segmentation size will make up the last packet segment. Unfortunately, this relatively simple segmentation procedure does not take into account how it impacts transmission delays for both the voice and data.
Consider the example in
As can be seen in
To better understand how segmentation affects the delay of the segmented packet, examine two other segmentation options.
More formally, if the size of the last segment is denoted by L, the packet size by P, and the bit rate of the multiplexed link by C, the time needed to transmit the last data packet segment is L/C. The time needed for transmission of the data packet is (T1+T2), where T1 is the time when the sum of idle times between voice bursts is equal to (P−L)/C, and T2=L/C. Therefore, the delay of the data packet is minimal if the size of last segment is maximized.
Based on these recognitions, two general rules are employed to characterize how the segmentation size of data packets influences delays in the voice/data multiplex transmission. First, a worst case delay increase of higher priority voice packets is reduced when the size of the largest data segment is reduced. Second, the delay of low priority data packets is reduced when the size of the last data segment, (not the size of the largest segment), is increased relative to the size of the other segments of the data packet.
The efficiency of transmitting lower priority data traffic along with higher priority traffic is improved by segmenting a data packet in such a way so as to reduce transmission delay of the higher priority traffic. The data packet is segmented so that all its segments, including the last segment, are approximately the same size. The segment size is set smaller than a maximum permitted segment size. However, there may be reasons not to set that size too small. For example, because each includes a protocol header, the total “overhead” of the data packet transmission is proportional to the number of segments. To reduce such overhead, the number of segments should preferably be kept to the minimum number allowed by the maximum permitted segment size. Thus, it is desirable (though not necessary) to set the segment size as small as design parameters allow in order to reduce transmission delay of the higher priority traffic but at the same time not increase overhead associated with segment headers. Because the last segment is set at the same size or a larger size than the other segments, delay in transmitting the data packet is also reduced. The last segment may be sized as large as practical to minimize the transmission delay of the data packet. Once segmented, the data packet segments are transmitted along with the higher priority traffic.
One example, non-limiting implementation employs a relatively simple algorithm. Initially, an overall size of the data packet to be transmitted is determined. First and second segment sizes are determined for the data packet. The first and second segment sizes are determined to reduce the delay in transmitting the higher priority traffic, transmitting the data packet, or both. The data packet is segmented into plural segments at the first segment size and a last segment at the second segment size. The higher priority traffic is multiplexed along with the data packet segments. The first segment size is smaller than the maximum allowed segment size, and all of the data packet segments except the last segment are the same first segment size. Although the last segment may be the same size as the first segment size, the second segment size is preferably larger than the first segment size.
The examples above, described with two priority levels of traffic, may be applied to multiplexed transmissions with three or more traffic priority levels. Two detailed, non-limiting, examples of how to implement the basic segmenting algorithm are described below. In general, the first example emphasizes delay reduction for higher priority traffic, while the second example emphasizes delay reduction for the lower priority data packet segments. However, both the first and second segmentation examples achieve delay reductions for both the high priority and data packet traffic.
The foregoing and other objects, features, and advantages of the present invention may be more readily understood with reference to the following description taken in conjunction with the accompanying drawings.
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular embodiments, procedures, techniques, etc. in order to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. For example, while the example embodiment described below relates to voice traffic and low priority data traffic, the present invention may be applied to any types of traffic in a communications system that offers communication services with different qualities of service, priorities, etc.
In some instances, detailed descriptions of well-known methods, interfaces, devices, and signaling techniques are omitted so as not to obscure the description of the present invention with unnecessary detail. Moreover, individual function blocks are shown in some of the figures. Those skilled in the art will appreciate that the functions may be implemented using individual hardware circuits, using software functioning in conjunction with a suitably programmed digital microprocessor or general purpose computer, using an application specific integrated circuit (ASIC), and/or using one or more digital signal processors (DSPs).
The present invention may be employed in any communications system where different classes/types/priorities of traffic are multiplexed onto or otherwise share a transmission channel. Consider the simplified, example communications system 10 shown in
Optimal segmentation is determined for a data packet of a lower priority or traffic class when information from a higher priority class is transmitted along with segments of the lower priority data packet. Such segmentation may also be employed when there are three or more different traffic classes/priority levels QoS's. However, for simplicity, and not for limitation, the following description employs the example of two traffic classes characterized as higher priority traffic, e.g., voice, and lower priority traffic, e.g., data.
Although various optimal segmentation algorithms with specific procedures are described below, the present invention is not limited to the details of a particular segmentation algorithm. Rather, the present invention follows two guidelines. First, to reduce delay of a higher priority traffic class, the largest packet size of the lower priority data packet should be reduced. Ideally, the largest packet size should be reduced as small as possible. However, in practice, this goal may be limited to ensure that the number of segments is not unduly increased. As explained above, if the number of segments is larger then needed, the overhead for the packet increases because a segment header is needed for each segment. Thus, it is preferred (but not necessary) that the packet be segmented into as few segments as the maximum segment size allows while minimizing the size of each of those segments in that minimum number. Second, the delay of the lower priority traffic is reduced when the size of the last data segment is increased. Ideally, the last data segment size should be increased as large as possible or practical within design constraints. Thus, both high priority and low priority traffic delays may be reduced if the last segment size is larger than the other segments, and the other segments have approximately the same relatively small size. If the number of segments is determined as the smallest value allowed by the maximum allowed segment size, the largest segment is as small as possible when all of the segments are of equal size.
Referring now to one example procedure entitled Optimize Segmentation (block 30) shown in
Using the procedures described above, the traffic delay associated with a system that carries two or more traffic classes is decreased both for the higher and lower priority traffic. Furthermore, this reduced traffic delay is easy to implement using a variety of relatively simple segmentation algorithms, two examples of which are described below.
Any segmentation algorithm that follows the guidelines set forth above may be employed. A first example, non-limiting segmentation algorithm is now described that segments the data packet into equal size segments. A predetermined segment size parameter, e.g., a maximum segment size (MSS) defined for the lower priority traffic class, is used to calculate a number of segments “n.” More formally, the number of segments
where ceil[ ] denotes rounding to the next larger integer if
results in an integer plus a remainder. A number of “large” segments n1=mod(P, n), where mod denotes the remainder of the division
A number of “small” segments n2=n−n1. The size of one or more large segments
and the size of the small segments
where floor denotes rounding to the next smaller integer if
results in an integer and a remainder. The first n2 segment is small, and the remaining n2 segments are large. The difference between large and small segments is one byte. It may be desirable in some situations to set the first segment size to a size larger than the maximum segment size that will be applied on a packet. In this case, two different maximum segment sizes will be used. The first segment will be set to a predetermined value, and a segmentation algorithm is applied to the rest of the packet.
where MSS is the maximum segment size set to reduce high priority traffic delay (block 44). A number of larger segments n1=mod(P, n) and a number of smaller segments n2=n−n1 are calculated (block 45). Segment sizes Sand S2 are determined in accordance with the equations:
for large segment(s) and
for small segment(s) (block 46). The data packet is segmented using the segment sizes S1 and S2 (block 48). The first n1 packet segments are set to size S1. The last n2 segments are set to size S2.
A second example, non-limiting segmentation algorithm is described in a “Segment 2” routine (block 50) shown in flowchart form in
where MSS is the maximum segment size set to reduce high priority traffic delay (block 54). The size of the segment S(i) is determined in accordance with the following
(block 56). The data packet is segmented using the size relationships for S(i) set forth in block 56 (block 58).
The present invention may be employed in any data transmitter. A simplified transmission apparatus 60 is shown in
Each segmenter 64, as shown for the priority x traffic, has its own maximum segment size MSS which can be used, for example, in either of the above-described, example segmentation algorithms to determine optimal segment sizes. While a single segmentation algorithm may be employed, it may be desirable in certain situations to have plural segmentation algorithms available and to select one. As will be described below, one segmentation algorithm may be more optimal for minimizing, delays of a higher priority traffic class, while the other algorithm is more optimal for mining delay of a lower priority traffic class. The segmenter 64 also may add a fragmentation protocol header, e.g., PPP/multiprotocol (MP) header, to each segment before sending the segment to the buffer if an PPP/MP protocol is used. These headers permit reconstruction of the data packet from received segments at the receive side.
To illustrate how the example first and second segment algorithms reduce delays when two different traffic classes are carried over the same link, a simulation was conducted for a low priority class with large packets that need to be segmented and a high priority voice class with potentially short voice packets. The simulation was based on a 1920 kbps link (E1) that carries multiplexed voice-data traffic. Each high priority voice source transmits 144-byte packet every 20 milliseconds, and each low priority data source transmits 1013-byte packet every 20 milliseconds. The traffic mix includes the traffic of one data source and 80 voice sources. Overhead introduced by segmentation was neglected during the simulations because it does not influence the comparison.
While the present invention has been described with respect to particular embodiments, those skilled in the art will recognize that the present invention is not limited to these specific exemplary embodiments. Different formats, embodiments, and adaptations besides those shown and described as well as many variations, modifications, and equivalent arrangements may also be used to implement the invention. Therefore, while the present invention has been described in relation to its preferred embodiments, it is to be understood that this disclosure is only illustrative and exemplary of the present invention. Accordingly, it is intended that the invention be limited only by the scope of the claims appended hereto.
Number | Name | Date | Kind |
---|---|---|---|
5541919 | Yong et al. | Jul 1996 | A |
5802051 | Petersen et al. | Sep 1998 | A |
5809254 | Matsuzono | Sep 1998 | A |
5822321 | Petersen et al. | Oct 1998 | A |
6032272 | Soirinsuo et al. | Feb 2000 | A |
6212190 | Mulligan | Apr 2001 | B1 |
6215789 | Keenan et al. | Apr 2001 | B1 |
6243382 | O'Neill et al. | Jun 2001 | B1 |
6327626 | Schroeder et al. | Dec 2001 | B1 |
RE37494 | Cantoni et al. | Jan 2002 | E |
6522651 | Herrmann | Feb 2003 | B2 |
6564267 | Lindsay | May 2003 | B1 |
6654376 | Stacey et al. | Nov 2003 | B1 |
6721271 | Beshai et al. | Apr 2004 | B1 |
6721335 | Gregg | Apr 2004 | B1 |
6804251 | Limb et al. | Oct 2004 | B1 |
6819658 | Agarwal et al. | Nov 2004 | B1 |
6857096 | Braneci et al. | Feb 2005 | B1 |
6859442 | Agarwal et al. | Feb 2005 | B1 |
6907001 | Nakayama et al. | Jun 2005 | B1 |
6961326 | Chang et al. | Nov 2005 | B1 |
20020041592 | Van Der Zee et al. | Apr 2002 | A1 |
Number | Date | Country |
---|---|---|
WO 9904521 | Jan 1999 | WO |
WO 0126326 | Apr 2001 | WO |
Number | Date | Country | |
---|---|---|---|
20030110286 A1 | Jun 2003 | US |