The invention relates generally to networking environments, and more particularly to estimation of sustainable capacity in a network.
In a communication network, it can helpful to determine the network capacity that is available for a new channel. For example, in a small home network, a number of devices (e.g., servers, desktop computers, Personal Digital Assistants (PDAs)) may be connected using a variety of OSI Communications Model Layer 2 technologies. In addition, various combinations of switches, hubs, wireless access points, and wireless bridges, etc. may be employed in the network configuration.
Measuring network characteristics in such networks may be important for applications and services such as streaming multimedia data across the network. For example, with knowledge of the sustainable capacity between two nodes in the network, a user's multimedia application can determine whether and at what data rate to safely start a new multimedia stream.
However, existing approaches for determining available capacity generally require distributed intelligence in the network (e.g., detection of packet loss or management of Explicit Congestion Notification (ECN) marks). Furthermore, some such approaches are designed to operate only on wide area networks, failing to adequately support small network.
Implementations described and claimed herein address the foregoing problems by actively probing the network to estimate the sustainable capacity available in the network between two devices. One implementation probes the network using two probe sequences having different loads. Average round-trip delay times associated with each sequence are used as probe estimates to estimate the sustainable capacity in the network. Another implementation probes the network using two probe sequences, in which either the probe packet size or the inter-probe gap are different between the sequences. Calculation of a delay trend for each sequence leads to an estimate of the maximum network capacity and the background load on the network, from which sustainable capacity may be determined. Yet another implementation uses a windowing technique to probe the sustainable capacity in the network. The window size is increased until the network is saturated. The number of bytes transferred in the resulting window during a given time period is an estimate of the sustainable capacity of the network.
In some implementations, articles of manufacture are provided as computer program products. One implementation of a computer program product provides a computer program storage medium readable by a computer system and encoding a computer program. Another implementation of a computer program product may be provided in a computer data signal embodied in a carrier wave by a computing system and encoding the computer program
The computer program product encodes a computer program for executing on a computer system a computer process. A first probe estimate is computed from a first probe sequence transmitted over a network from a first device to a second device. A second probe estimate is computed from a second probe sequence transmitted over the network from the first device to the second device. The first probe sequence provides a different load to the network than the second probe sequence. A sustainable capacity of the network is estimated based on the first probe estimate and the second probe estimate.
In another implementation, a method is provided. A first probe estimate is computed from a first probe sequence transmitted over a network from a first device to a second device. A second probe estimate is computed from a second probe sequence transmitted over the network from the first device to the second device. The first probe sequence provides a different load to the network than the second probe sequence. A sustainable capacity of the network is estimated based on the first probe estimate and the second probe estimate.
In yet another implementation, a system is provided. A probe sequence generator generates a first probe sequence and a second probe sequence. A communication module transmits the first probe sequence and the second probe sequence to a target. The communication module also receives a first response sequence associated with the first probe sequence and a second response sequence associated with the second probe sequence. The communications module computes a first probe estimate from the first probe sequence and a second probe estimate from the second probe sequence. A probe performance analyzer estimates a sustainable capacity in the network characterizing sustainable capacity of the network for data traffic from the first device and the second device based on the first probe estimate and the second probe estimate.
Yet another computer program product implementation is provided. A first round-trip delay trend associated with a first probe sequence transmitted over a network from a first device to a second device is computed. A second round-trip delay trend associated with a second probe sequence transmitted over the network from the first device to the second device is computed. A maximum capacity and a background load of the network are estimated based on the first round-trip delay trend and the second round-trip delay trend. The sustainable capacity of the network is estimated based on the maximum capacity and the background load of the network.
Yet another method implementation is provided. A first round-trip delay trend associated with a first probe sequence transmitted over a network from a first device to a second device is computed. A second round-trip delay trend associated with a second probe sequence transmitted over the network from the first device to the second device is computed. A maximum capacity and a background load of the network are estimated based on the first round-trip delay trend and the second round-trip delay trend. The sustainable capacity of the network is estimated based on the maximum capacity and the background load of the network.
Yet another system implementation is provided. A probe sequence generator generates a first probe sequence and a second probe sequence. A communication module transmits the first probe sequence and the second probe sequence to a target. The communication module also receives a first response sequence associated with the first probe sequence and a second response sequence associated with the second probe sequence; and computes first round-trip delay times of the first probe sequence and second round-trip delay times of the second probe sequence. A probe performance analyzer computes a first round-trip delay trend associated with a first probe sequence and a second round-trip delay trend associated with a second probe sequence. The probe performance analyzer also estimates a maximum capacity and a background load of the network based on the first round-trip delay trend and the second round-trip delay trend, and estimates a sustainable capacity of the network based on the maximum capacity and the background load of the network.
Other implementations are also described and recited herein.
Various actively probing techniques on a network allow an estimation of the sustainable capacity available in the network. One implementation probes the network using two probe sequences having different loads. Average round-trip delay times associated with each sequence are used as probe estimates to estimate the sustainable capacity in the network. Another implementation probes the network using two probe sequences, in which either the probe packet size or the inter-probe gap are different between the sequences. Calculation of a delay trend for each sequence leads to estimate of the maximum network capacity and the background load on the network. Yet another implementation uses a windowing technique to probe the sustainable capacity in the network. The window size is increased until the network is saturated. The number of bytes transferred within the window during a given time period provides an estimate of the sustainable capacity of the network.
The first network device 102 includes a transmission module, such as a streaming media server 108, and a sustainable capacity probe 110. The streaming media server 108 transfers data from the first network device 102 to the second network device 104 through a logical network connection 112. In order to provide a high quality of service to the second network device 104, the first network device 102 attempts to estimate the sustainable capacity of the logical network connection 112, which may also be heavily influenced by communications of other network nodes, such as the devices 106.
The second network device 102 includes a reception module (or “IP target”), such as a streaming media receiver 114. For example, the streaming media server 108 may transmit streaming multimedia data over the logical connection 112 to the streaming media receiver, which presents the multimedia as content to a user (e.g., through a media player module).
The logical network connection 112 includes a control channel 116 and a data channel 118. The control channel and data channel may be unidirectional or bidirectional. The control channel 116 communicates control signals used to determine spare capacity between devices 102 and 104 (typically, bidirectional), such as by communicating probe packets and acknowledgements. The probes and acknowledgements may be communicated in-band or out-of-band with respect to the data channel 118. The data channel 118 communicates the primary transmission traffic, such as the streaming media. The transmission rate of this multimedia data is dependent upon the sustainable capacity of the network 100 and the rate needed to serve the reception module with an acceptable quality of service (e.g., the acceptable streaming rate). The control channel may be separate from or integral with the application's data channel or the application's own control channel.
To estimate the sustainable capacity in the network 100, the sustainable capacity probe module 110 transmits probes to the second device 104. A probe elicits a response from the second device 102. For example, a probe may take the form of an ICMP ping packet, although other probe formats may be employed. In another implementation, a probe may be included in an arbitrary IP packet. A probe also includes a unique signature to identify the probe and the corresponding response so that the sustainable capacity probe module 110 can associate the probe and the response into a probe-response pair.
A probe and a response are also time-stamped. For example, the probe may be time-stamped just prior to transmission and the response may be time-stamped just after receipt to minimize unnecessary delay overhead between the two communications. The sustainable capacity probe module 110 determines the difference in the probe time stamp and the response time stamp of a probe-response pair. In one or more embodiments, this difference value D may be used to compute the estimated sustainable capacity of the network.
A probing module 204 operates in user mode on a first network device and includes a probing sequence generator 206, which generates an appropriate probe sequence that is transmitted to the IP target. However, it should be understood that the probing module 204 could also operating in kernel mode or could even be combined with application data. Various exemplary probe sequences are discussed elsewhere in this document. Responsive to the sustained capacity request 202, the probing module 204 identifies the IP target. Depending on the probe sequence employed, the probing module 204 generates probes of a given packet size and collects the probes into a sequence (or probe train) with a given inter-probe gap T and a given number of probes N. In addition, in certain implementations, an additional load may also be introduced into the probe sequence.
A probe sequence is passed to a probe packet sender/receiver 206, which (in the illustrated embodiment) executes in kernel mode; however, in alternative implementations, the probe packet sender/receiver 206 may execute in a user mode. The probe packet sender/receiver 206 adds a unique signature to outgoing probe packets of a probe sequence. The probe packet sender/receiver 206 may also be associated with the device's network stack, although this does not preclude implementations of the probe packet sender/receiver 206 both within and outside of the network stack. For example, in one implementation, the probing subsystem is an operating system service that all applications can use. A probe packet timestamp module 208 inserts a time stamp into each probe packet as it is transmitted onto the network toward the IP target. The probe packet timestamp module 208 may also be implemented in either a kernel mode or a user mode.
When each response packet (e.g., a ping acknowledgement) is received by the probe packet timestamp module 208, the module timestamps the response packet and checks the response packet to verify that the response corresponds to a previously transmitted probe. The response packet is then passed to the probe packet sender/receiver 206, which checks the unique signature of the response packet and groups matching probe-response pairs.
Given a matching probe-response pair, the round-trip delay associated with the pair is calculated and used by a probe performance analyzer 210 in the probing module 204 to estimate the available sustained capacity for communications over as the network to the IP target. In one implementation, a sustained capacity response 212 generated by the probe performance analyzer 210 specifies whether a requested level of sustained capacity is available (e.g., YES/NO). Alternatively or in addition, a sustained capacity response 212 may specify the estimated level of sustained capacity available over the network to the IP target, or some other combination of information responsive to the sustained capacity request 202.
However, reactive traffic (e.g., TCP traffic) may react to a loss of available channel capacity by delaying or aborting transmissions. In the extreme, this reaction may result in the removal of all reactive traffic from the channel. As such, the maximum sustainable capacity 310 for streaming media traffic may be represented by the maximum network capacity minus the CBR traffic. Applying a load that saturates the network channel for a sustained period of time tends to provide a more accurate estimate of the maximum sustainable capacity because the reactive traffic is pushed out by the sustained, saturating load.
In one implementation, the sustainable capacity estimation involves two probe sequences or probe trains. The network load introduced by each probe sequence is different. For example, in
Each probe packet is time-stamped before transmission, and each response packet is time-stamped after reception. The difference in the reception timestamp (e.g., as shown by vertical line 408) and the corresponding transmission timestamp (e.g., as shown by vertical line 410) represents a round-trip delay time D1,x, where the subscript “1” represents a delay associated with a first probe sequence and the subscript “x” represents the sequence number (e.g., 1, 2, 3, . . . ) of the probe-response pair. The average of the delays in the first probe sequence is indicated as {circumflex over (D)}1.
The probe packets are designated in
In contrast to
Each probe packet is time-stamped before transmission, and each response packet is time-stamped after reception. The difference in the reception timestamp (e.g., as shown by vertical line 510) and the corresponding transmission timestamp (e.g., as shown by vertical line 512) represents a round-trip delay time D2,x, where the subscript “2” represents a delay associated with a second probe sequence and the subscript “x” represents the sequence number (e.g., 1, 2, 3, . . . ) of the probe-response pair. The average of the delays in the second probe sequence is indicated as {circumflex over (D)}2.
The first network device 602 includes a transmission module, such as a streaming media server 608, and a sustainable capacity probe 610. The streaming media server 608 transfers data from the first network device 602 to the second network device 604 through a logical network connection 612. In order to provide a high quality of service to the second network device 604, the first network device 602 attempts to estimate the sustainable capacity of the logical network connection 612, which may also be heavily influenced by communications of other network nodes, such as the devices 606. The second network device 602 includes a reception module (or “IP target”), such as a streaming media receiver 614. For example, the streaming media server 608 may transmit streaming multimedia data over the logical connection 612 to the streaming media receiver, which presents the multimedia content to a user (e.g., through a media player module).
The logical network connection 612 includes a control channel 616 and a data channel 618. The data channel 618 may be bidirectional or there may be separate server-client and client-server data and control channels. The control channel 616 communicates control signals for probes and acknowledgements, which may be communicated in-band or out-of-band with respect to the data channel. The data channel 618 communicates the primary transmission traffic, such as the streaming media. The transmission rate of this multimedia data is dependent upon the sustainable capacity of the network 600 and the rate needed to serve the reception module with an acceptable quality of service (e.g., the acceptable streaming rate).
To estimate the sustainable capacity in the network 600 from the first network device 602 to the second network device 604, the sustainable capacity probe module 610 transmits probes to the second device 604. A probe elicits a response from the second device 602. For example, a probe may take the form of an ICMP ping packet, although other probe formats may be employed, generally taking the form of IP packets. A probe also includes a unique signature to identify the probe and the corresponding response so that the sustainable capacity probe module 610 can associate the probe and the response of a probe-response pair.
A probe and a response are also time-stamped. For example, the probe may be time-stamped just prior to transmission and the response is time-stamped just after receipt to minimize unnecessary delay overhead between the two communications. The sustainable capacity probe module 610 determines the difference in the probe time stamp and the response time stamp of a probe-response pair. This difference value D is used to compute the estimated sustainable capacity of the network from the first network device 602 to the second network device 604.
However, in contrast to the configuration shown in
A second transmission operation 708 transmits a second probe sequence from the first network device to the IP target. The second probe sequence provides a different load to the network (e.g., a load higher than that provided by the first probe sequence). It should be understood, however, that the relative order of the lower and higher loads may be changed. A reception operation 710 receives the corresponding responses to the second probe sequence from the IP target. By collecting corresponding probe-response pairs, a computation operation 712 determines the round-trip delay times for each pair in the second probe sequence and then determines the average round-trip delay time {circumflex over (D)}2 in the second probe sequence.
An estimation operation 714 estimates the sustainable capacity available in the network from the first network device to the IP target based on the average round-trip delay times {circumflex over (D)}1 and {circumflex over (D)}2, the difference in the loads δm, and a minimum round-trip delay time Dmin associated with all of the probe-response pairs. In one implementation, the estimate is computed as follows:
wherein SusCapest represents the sustainable capacity that is available in the network channel from the first network device to the IP target. It should be understood that the same algorithm may also be employed in a symmetric configuration to determine the sustainable capacity that is available in the network from the IP target to the first network device. In another implementation, other statistics of the delay may be used instead of the average delays times. For example, {circumflex over (D)}1 and {circumflex over (D)}2 could include other probe estimates, such as the medians of the delays or trimmed means, among other metrics.
In yet another implementation, {circumflex over (D)}1 and {circumflex over (D)}2 may estimate the scale of the distributions. For example, {circumflex over (D)}1 may be the standard deviation of the delays (or a robust alternative), with {circumflex over (D)}2 being similarly defined, in which case, the estimate is computed as:
A delay trend of a given probe sequence may be estimated using the following algorithm:
wherein i represents the probe index (i.e., 1 or 2), N represents the number of probes packets in a sequence, Di,n represents the round-trip delay of a probe-response pair in the i-th sequence, Di,n−1 represents the round-trip delay of the previous probe-response pair in the sequence, C represents the maximum network capacity, pi represents the probe packet size of the i-th sequence, B represents the existing channel traffic (i.e., the background load), and δti represents the inter-probe gap of the i-th sequence. Therefore, the estimate of available sustainable capacity is given by C−B.
To determine the values of C and B, the delay trends of both sequences may be combined:
If δt1=δt2 and p1≠p2, and all are known values, then Equation (4) reduces to:
Thereafter, C can be inserted back into one of the DelayTrendi equations
to solve for B.
Alternatively, if δt1≠δt2 and p1≠p2, and all are known values, then the Equations (3) and (4) for i=1 and 2 can be solved to give C if some specified form of B(δt) is assumed.
Accordingly, the implementation may be represented by the operations 800. A transmission operation 802 transmits a first probe sequence from a first network device to an IP target. The first probe sequence is characterized by a probe packet size pi and an inter-probe gap δt1. Each probe has a unique signature, such as a sequence number, that distinguishes each probe packet from others in the sequence. A reception operation 804 receives the corresponding responses to the first probe sequence from the IP target. By collecting corresponding probe-response pairs (e.g., based on the unique signatures), a computation operation 806 determines the round-trip delay trend DelayTrendi for first probe sequence.
A second transmission operation 808 transmits a second probe sequence from the first network device to the IP target. A reception operation 810 receives the corresponding responses to the second probe sequence from the IP target. By collecting corresponding probe-response pairs, a computation operation 812 determines the round-trip delay trend DelayTrend2 for the second probe sequence. A combination operation 814 combines the estimates of the delay trend to determine the maximum network capacity C and the background load B. A determining operation 816 subtracts the background load B from the maximum network capacity C to determine the sustainable capacity in the network.
It should be understood that the same algorithm may also be employed in a symmetric configuration to determine the sustainable capacity that is available in the network from the IP target to the first network device.
Yet another implementation employs a windowing technique to determine a saturation load on the network. A “window” represents a number of packets or a number of bytes sent out from the server at any one time.
In a later stage 912 of the slow start phase, the window 906 is tested at 28 packets. At this window size, the network is full. After this window size, any further increase in size would result in lost packets. Therefore, the slow start phase stops at a maximum window size Wmax equals 28.
In one implementation, the time period T is chosen to be the minimum round trip delay time (RTTmin) detected by calibration (e.g., transmitting a 11 sequence of probes and taking the shortest round-trip delay time). A rough estimate of the sustainable capacity may be computed using Wmax/RTTmin, if the window is in bytes
In another implementation, a sustained transfer phase is used to flood the network with the Wmax number of packets for a predetermined time period T. Then, the number of bytes per unit time
transmitted in the window Wmax during the predetermined time period T represents the sustainable capacity of the network.
The exemplary hardware and operating environment of
The system bus 23 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, a switched fabric, point-to-point connections, and a local bus using any of a variety of bus architectures. The system memory may also be referred to as simply the memory, and includes read only memory (ROM) 24 and random access memory (RAM) 25. A basic input/output system (BIOS) 26, containing the basic routines that help to transfer information between elements within the computer 20, such as during start-up, is stored in ROM 24. The computer 20 further includes a hard disk drive 27 for reading from and writing to a hard disk, not shown, a magnetic disk drive 28 for reading from or writing to a removable magnetic disk 29, and an optical disk drive 30 for reading from or writing to a removable optical disk 31 such as a CD ROM or other optical media.
The hard disk drive 27, magnetic disk drive 28, and optical disk drive 30 are connected to the system bus 23 by a hard disk drive interface 32, a magnetic disk drive interface 33, and an optical disk drive interface 34, respectively. The drives and their associated computer-readable media provide nonvolatile storage of computer-readable instructions, data structures, program modules and other data for the computer 20. It should be appreciated by those skilled in the art that any type of computer-readable media which can store data that is accessible by a computer, such as magnetic cassettes, flash memory cards, digital video disks, random access memories (RAMs), read only memories (ROMs), and the like, may be used in the exemplary operating environment.
A number of program modules may be stored on the hard disk, magnetic disk 29, optical disk 31, ROM 24, or RAM 25, including an operating system 35, one or more application programs 36, other program modules 37, and program data 38. A user may enter commands and information into the personal computer 20 through input devices such as a keyboard 40 and pointing device 42. Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 21 through a serial port interface 46 that is coupled to the system bus, but may be connected by other interfaces, such as a parallel port, game port, or a universal serial bus (USB). A monitor 47 or other type of display device is also connected to the system bus 23 via an interface, such as a video adapter 48. In addition to the monitor, computers typically include other peripheral output devices (not shown), such as speakers and printers.
The computer 20 may operate in a networked environment using logical connections to one or more remote computers, such as remote computer 49. These logical connections are achieved by a communication device coupled to or a part of the computer 20; the invention is not limited to a particular type of communications device. The remote computer 49 may be another computer, a server, a router, a network PC, a client, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 20, although only a memory storage device 50 has been illustrated in
When used in a LAN-networking environment, the computer 20 is connected to the local network 51 through a network interface or adapter 53, which is one type of communications device. When used in a WAN-networking environment, the computer 20 typically includes a modem 54, a network adapter, a type of communications device, or any other type of communications device for establishing communications over the wide area network 52. The modem 54, which may be internal or external, is connected to the system bus 23 via the serial port interface 46. In a networked environment, program modules depicted relative to the personal computer 20, or portions thereof, may be stored in the remote memory storage device. It is appreciated that the network connections shown are exemplary and other means of and communications devices for establishing a communications link between the computers may be used.
In an exemplary implementation, probing modules, probe sequence generators, probe performance analyzers, probe packet senders/receivers, and other modules may be incorporated as part of the operating system 35, application programs 36, or other program modules 37. Signatures, delay times, window sizes, probe packets, response packets, and other data may be stored as program data 38.
The embodiments of the invention described herein are implemented as logical steps in one or more computer systems. The logical operations of the present invention are implemented (1) as a sequence of processor-implemented steps executing in one or more computer systems and (2) as interconnected machine modules within one or more computer systems. The implementation is a matter of choice, dependent on the performance requirements of the computer system implementing the invention. Accordingly, the logical operations making up the embodiments of the invention described herein are referred to variously as operations, steps, objects, or modules.
The above specification, examples and data provide a complete description of the structure and use of exemplary embodiments of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.
This applications claims priority to U.S. Provisional Application No. 60/474,656, entitled “Acappella—Admission Control and Active Probing for Networked Dataflows”, filed on May 30, 2003 and specifically incorporated herein by referenced for all that it discloses and teaches.
Number | Name | Date | Kind |
---|---|---|---|
20020080726 | Klassen et al. | Jun 2002 | A1 |
20030058792 | Shao et al. | Mar 2003 | A1 |
20030147386 | Zhang et al. | Aug 2003 | A1 |
20040090923 | Kan et al. | May 2004 | A1 |
20040165538 | Swami | Aug 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20040243335 A1 | Dec 2004 | US |
Number | Date | Country | |
---|---|---|---|
60474656 | May 2003 | US |