Priming data packet for avoiding transmission delay
Abstract
The fast dynamic measurement of bandwidth in a TCP network environment utilizes a single pair of packets to calculate bandwidth between two entities on a network (such as the Internet). This calculation is based upon the packet-pair technique. This bandwidth measurement is extremely quick. On its journey across a network, communication devices may delay the packet pairs. In particular, TCP networks have two algorithms designed to delay some packets with the goal of increasing the overall throughput of the network. However, these algorithms effectively delay a packet pair designed to measure bandwidth. Therefore, they distort the measurement. These algorithms are Nagle and Slow Start. The fast dynamic measurement of bandwidth implements countermeasures to overcome the delays imposed by these algorithms. Such countermeasures comprise avoiding the Slow Start Algorithm by priming it with a dummy packet.

Term
Term ended
Projected expiry passed 2 August 2021, 5.1 years ago.
- Priority
- Filed
- Published
- Projected expiry
- Today
13 claims: 5 independent, 8 dependent
- 1A method for facilitating speedy communication of packets between entities on a network, the method comprising:sending a set of packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the set is intolerable;immediately before, sending at least one "priming" packet to avoid a transmission delay between packets in the set, wherein the delay is caused by flow-control functions of a communication device on the network.
- 9A method for facilitating bandwidth measurement between two entities on a network, the method comprising:sending a pair of bandwidth-measurement packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the pair is intolerable;immediately before, sending at least one "priming" packet to avoid a transmission delay between packets in the pair, wherein the delay is caused by flow-control functions of a communication device on the network.
- 11A computer-readable medium having computer-executable instructions that, when executed by a computer, perform a method to facilitate speedy communication of packets between entities on a network, the method comprising:sending a set of packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the set is intolerable;immediately before, sending at least one "priming" packet to avoid a transmission delay between packets in the set, wherein the delay is caused by flow-control functions of a communication device on the network.
- 12An apparatus comprising:a processor;a transmission-delay avoider executable on the processor to: send a set of packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the set is intolerable;immediately before, send at least one "priming" packet to avoid a transmission delay between packets in the set, wherein the delay is caused by flow-control functions of a communication device on the network.
- 13A modulated data signal having data fields encoded thereon transmitted over a communications channel, comprising:a first field including a "priming" packet;a second field including a first bandwidth-measurement packet;a third field including a second bandwidth-measurement packet;wherein the "priming" packet facilitates minimization of transmission delay between packets, wherein the delay is caused by flow-control functions of a communication device on the network.
Independent claims5
199 paragraphs, as filed
<u>TECHNICAL FIELD</u>
0001This invention relates to dynamic detection of maximum bandwidth for a connection between entities on a TCP network environment. In particular, it relates to countermeasures to flow-control functions of the network environment that may effectively delay transmission of a set of packets.
<u>BACKGROUND</u>
0002As the Internet has matured, the characteristics of the available content on the Internet have changed. Sound and video content is now included with the traditional textual content. However, this new content on the Internet requires a greater connection speed (i.e., bandwidth) than was commonly available a few years ago.
0003Fig. 1 illustrates an example of a typical Internet configuration. It includes a server (such as media server 20), which is coupled to the Internet 30. The server typically includes one or more physical server computers 22 with one or more physical storage devices and/or databases 24. On the other side of an Internet transmission is a client 90, which is connected via one of many available Internet Service Providers (ISPs) 80. Herein, a server is a network entity that sends data and a client is a network entity that receives data.
0004Cloud 30 is labeled the Internet, but it is understood that this cloud represents that portion of the Internet that only includes that which is illustrated therein. Inside such cloud are the routers, transmission lines, connections, and other communication devices that more-often-than-not successfully transmit data between clients and servers. Inside exemplary Internet cloud 30 are routers 32-44; two satellite dishes 46 and 50; and a satellite 48. The links between these devices represent the possible paths that a data packet may take on its way between the server and the client.
0005In general, a communication device on a network (such as the Internet) is any device that facilitates communication over the network between two entities, and includes the two entities. Examples of such entities include the server 20 and the client 90.
<u>The layers of the OSI Model</u>
0006Open System Interconnection (OSI) model is an ISO standard for worldwide communications that defines a networking framework for implementing protocols in seven layers. Control is passed from one layer to the next, starting at the application layer in one station, proceeding to the bottom layer, over the channel to the next station and back up the hierarchy. A person of ordinary skill in the art is familiar with the OSI model.
0007Most of the functionality in the OSI model exists in all communications systems, although two or three OSI layers may be incorporated into one. These layers are also called "levels."
0008Generally, the hardware implements the physical layer. Such hardware may include a network card, a modem, or some other communications device. Typically, the kernel of an operating system (OS) implements the transport layer.
0009The top of the stack is the applications in the application layer. This includes any application that communicates with entities outside of the computer, such as a Web browser, a media player, and an email program. The application layer has the least control of details of communication between entities on a network, such as the Internet.
<u>Bandwidth</u>
0010Bandwidth is the amount of data that can be transmitted in a fixed amount of time. For example, bandwidth between media server 20 in Fig. 1 to media client 90 is calculated by the amount of data (e.g., 1000 bits) that may be transmitted between them in a unit of time (e.g., one second). More specifically, data may be transmitted between devices at a rate of approximately 56,000 bits per second. That may be called 56 kilo-bits per second (Kbps).
0011As shown in Fig. 1, a transmission over the Internet travels across multiple links before it reaches its destination. Each link has its own bandwidth. Like a chain being only as strong as its weakest link, the maximum bandwidth between server 20 and client 90 is the link therebetween with the slowest bandwidth. Typically, that is the link between the client 90 and its ISPs 80. That slowest bandwidth is the maximum de facto bandwidth.
0012Herein, unless otherwise apparent from the context, references to bandwidth between network entities (such as server 20 and client 90) is assumed to be the maximum de facto bandwidth therebetween.
0013Bandwidth may also be called "connection speed", "speed", or "rate". In references to bandwidth measured by bits per second, it may also be called "bit rate" or "bitrate."
<u>Streaming Media</u>
0014Streaming is a technique for transferring multimedia data such that it can be processed as a steady and continuous stream. Streaming technologies are becoming increasingly important with the growth of the Internet because most users do not have fast enough access to download large multimedia files quickly. With streaming, the client browser or plug-in can start displaying the data before the entire file has been transmitted.
0015For streaming to work, the client side receiving the data must be able to collect the data and send it as a steady stream to the application that is processing the data and converting it to sound or pictures. This means that if the streaming client receives the data more quickly than required, it needs to save the excess data in a buffer. If the data doesn't come quickly enough, however, the presentation of the data will not be smooth.
0016Within the context of an audio and/or visual presentation, "media" and "multimedia" are used interchangeably herein. Media refers to the presentation of text, graphics, video, animation, and/or sound in an integrated way.
0017"Streaming media" is an audio and/or visual presentation that is transmitted over a network (such as the Internet) to an end-user. Such transmission is performed so that the presentation is relatively smooth and not jerky. Long pauses while additional frames are being downloaded to the user are annoying to the user. These annoyances encourage a user to avoid viewing future streaming media.
<u>Smoothly Transmitting Streaming Media</u>
0018Since the bandwidth determines the rate at which the client will receive data, a streaming media presentation may only be presented at a rate no greater than what the bandwidth allows. For example, assume media server 20 needs to send data at 50Kbps to the client 90 in order to smoothly "play" a streaming media presentation. However, the bandwidth between the client and server is only 30Kbps. The result is a jerky and jumpy media presentation.
0019In an effort to alleviate this problem, streaming media presentations are often encoded into multiple formats with differing degrees of qualities.
0020The formats with the lowest quality (e.g., small size, low resolution, small color palette) have the least amount of data to push to the client over a given time. Therefore, a client over a slow link can smoothly present the streaming media presentation, but the quality of the presentation suffers.
0021The formats with the highest quality (e.g., full screen size, high resolution, large color palette) have the greatest amount of data to push to the client over a given time. Therefore, the client with a fast link can smoothly present the streaming media presentation and still provide a high quality presentation.
<u>Select-a-Bandwidth Approach</u>
0022When a server sends streaming media to a client, it needs to know what format to use. Thus, in order to select the proper format, the server must to know the bandwidth between the server and the client.
0023This easiest way to accomplish this is to ask the user of the client what their bandwidth is. Since a client's link to the Internet is typically the bandwidth bottleneck, knowing the bandwidth of this link typically indicates the actual bandwidth.
0024Fig. 2 shows a cut-away 100 of a Web page displayed on a client's computer. Inside the cut-away 100, is a typical user-interface 110 that may be used to ask a user what their connection speed is. The user clicks on one of the three buttons 112, 114, and 116 provided by the user-interface 110. If the user clicks on button 112, the server delivers data from a file containing streaming media in a format designed for transmission at 28.8 Kbps. Likewise, if the user clicks on button 114, data sends from a file containing streaming media in a format designed for transmission at 56.6 Kbps. If the user clicks on button 114, the server delivers data from a file containing streaming media in a format designed for transmission at a rate greater than 56.6Kbps and up-to the typical speed of a T1 connection.
0025However, the primary problem with the "select-a-bandwidth" approach is that it requires a thoughtful selection by a user. This approach invites selection errors.
0026It requires that a user care, understand, and have knowledge of her connection speed. Often, a user does not pay particular attention to which button to press. The user may only know that a media presentation will appear if the user presses one of these buttons. Therefore, they press any one of them.
0027Often, a user does not understand the concept of bandwidth. A user may choose button 116 because she may want to see the presentation at its highest quality. This user does not realize that seeing the presentation at its highest quality may result in a non-smooth presentation because her Internet connection cannot handle the rate that the data is being sent through it.
0028If she does understand the concept of bandwidth, then the user may not know her bandwidth. A user may simply be ignorant of her bandwidth. In addition, varying degrees of noise may cause varying connection speeds each time a user connects to the Internet. Furthermore, some types of connections (such as a cable modem) can have wide degrees of connection speed depending upon numerous factors.
0029Moreover, the user needs to understand the implications of an incorrect choice. A user needs to be educated so that she understands that she needs to select an option that is equal to or less than her bandwidth to get a smooth presentation. But she should not choose one that is significantly less than her bandwidth. If she does, then she will be seeing a smooth presentation at a lower quality that she could otherwise see at a higher available bandwidth.
0030As can be seen by the above discussion, this manual approach is often confusing and intimidating to many user. Therefore, it often results in incorrect selections.
0031What's more, maintaining multiple files (one for each bandwidth) at the media server adds to the overhead of maintaining a Web site.
<u>Automatic Bandwidth Detection</u>
0032To overcome these problems, media servers may use a single file containing subfiles for multiple bandwidths. In addition, media servers may automatically detect the bandwidth.
0033This single file is called a MBR (multiple bit rate) file. The MBR files typically include multiple differing "bands" or "streams." These bands may be called "subfiles." A user only clicks on one link. Automatically, behind the scenes, the server determines the right speed band to send to the client.
0034This automatic speed detection may take a long time. This means that an additional five seconds to a minute (or more) is added to the user's wait for the presentation to begin. This delay for existing automatic speed detection is because of long "handshaking" times while the speed determination is going on.
0035One existing automatic detection technique involves sending multiple data packets for measuring the speed between the server and client. This technique is described further below in the section titled, "Multiple Measurement Packets Technique."
<u>Bandwidth Measurement Packets</u>
0036Typically, automatic bandwidth detection techniques measure bandwidth between entities on a network by sending one or more packets of a known size.
0037Fig. 3 shows a time graph tracking the transmission of two such packets (P<sub>x</sub> and P<sub>y</sub>) between a sender (e.g., server) and a receiver (e.g., client). The server and client sides are labeled so. On the graph, time advanced downwardly.
0038Time t<sub>a</sub> indicates the time at the server the transmission of P<sub>x</sub> begins. Time t<sub>b</sub> indicates the time at the server the transmission of P<sub>x</sub> ends. Similarly, Time t<sub>0</sub> indicates the time at the client begins receiving P<sub>x</sub>. Time t<sub>1</sub> indicates the time at the client completes reception of P<sub>x</sub>. At t<sub>1</sub>, the network hardware presumably passes the packet up the communication layers to the application layer.
0039Packet P<sub>y</sub> is similarly labeled on the time graph of Fig. 3. t<sub>c</sub> is the server time at the transmission of P<sub>y</sub> begins. t<sub>d</sub> is the server time that the transmission of P<sub>y</sub> ends. Similarly, t<sub>2</sub> is the client time that it begins receiving P<sub>y</sub>. t<sub>3</sub> is the client time that it completes reception of P<sub>y</sub>. At t<sub>3</sub>, the network hardware presumably passes the packet up the communication layers to the application layer.
0040<u>Bandwidth measurement using a single packet</u>. In a controlled, laboratory-like environment, measuring bandwidth between two entities on a network is straightforward. To make such a calculation, send a packet of a known size from one entity to the other and measure the transmission latency, which is the amount of time it takes a packet to travel from source to destination. Given this scenario, one must know the time that the packet was sent and the time that the packet arrived.
0041This technique is nearly completely impractical outside of the laboratory setting. It cannot be used in an asynchronous network (like the Internet) because it requires synchronization between the client and server. Both must be using the same clock.
0042Alternatively, the client may track the time it begins receiving a packet (such as t<sub>0</sub> for P<sub>x</sub>) and the time the packet is completely received (such as t<sub>1</sub> for P<sub>x</sub>).
0043Fig. 3 shows packet P<sub>x</sub> being sent from a server to a client. P<sub>x</sub> has a known size in bits of PS. The formula for calculating bandwidth (bw) is<maths id="math0001" num="Formula 1 (Single Packet)"><math display="block"><mrow><msub><mrow><mtext>bw(P</mtext></mrow><mrow><mtext>x</mtext></mrow></msub><mtext>) = </mtext><mfrac><mrow><mtext>PS</mtext></mrow><mrow><msub><mrow><mtext>t</mtext></mrow><mrow><mtext>1</mtext></mrow></msub><msub><mrow><mtext> - t</mtext></mrow><mrow><mtext>0</mtext></mrow></msub></mrow></mfrac></mrow></math><img file="EP1538796A2_D0001.tif" /></maths>
0044This technique works in theory, but unfortunately does not work in practice. Only the hardware knows when a packet is initially received. Therefore, only the hardware knows when t<sub>0</sub> is.
0045The other communication layers (such as the transport layer and the application layer) can only discover the time when the packet is completely received by the hardware. That is when the hardware passes it up to them. This completion time for packet P<sub>x</sub> is t<sub>1</sub>. It is not possible to calculate bandwidth only one knowing one point in time.
0046<u>Packet-pair.</u> A technique called packet-pair is used to overcome these problems in asynchronous networks. With packet-pair, two identical packets are sent back-to-back. The server sends a pair of packets, one immediately after the other. Both packets are identical; thus, they have the same size (PS). The bandwidth is determined by dividing the packet size by the time difference in reception of each packet.
0047<u>Each packet has specific measurable characteristics</u>. In particular, these characteristics include its packet size (PS) and the measured time such a packet arrives (e.g., t<sub>0-3</sub> in Fig. 3). Some characteristics (such as packet size) may be specified rather than measured, but they may be measured if so desired.
0048As shown in Fig. 3, the server sends packet, P<sub>x</sub>. The client's hardware begins receiving the packet at t<sub>0</sub>. When reception of the packet is complete at t<sub>1</sub>, the hardware passes it up the communication layers. Ultimately, it is received by the destination layer (e.g., application layer) at presumably t<sub>1</sub>.
0049After the server sends P<sub>x</sub> (which completed at t<sub>b</sub>), it immediately sends packet P<sub>y</sub> at t<sub>c</sub>. It is important that there be either 1) absolutely no measurable delay between t<sub>b</sub> and t<sub>c</sub> or 2) a delay of a known length between t<sub>b</sub> and t<sub>c</sub>. Herein, to simplify the description, it will be assumed that there is no measurable delay between t<sub>b</sub> and t<sub>c</sub>.
0050The client's hardware begins receiving P<sub>y</sub> at t<sub>2</sub>. When reception of the packet is complete at t<sub>3</sub>, the hardware passes it up the communication layers. Ultimately, it is received by the destination layer (e.g., application layer) at presumably t<sub>3</sub>.
0051Fig. 3 shows no delay between t<sub>1</sub> (the time of completion of reception of P<sub>x</sub>) and t<sub>2</sub> (the time reception of P<sub>y</sub> begins). Theoretically, this will always be the case if P<sub>x</sub> and P<sub>y</sub> are transmitted under identical conditions. In practice, is the often the case because P<sub>y</sub> is sent immediately after P<sub>x</sub>.
0052Using packet-pair, the formula for calculating bandwidth (bw) is<maths id="math0002" num="Formula 2 (Packet-Pair)"><math display="block"><mrow><msub><mrow><mtext>bw(P</mtext></mrow><mrow><mtext>x</mtext></mrow></msub><msub><mrow><mtext>P</mtext></mrow><mrow><mtext>y</mtext></mrow></msub><mtext>) = </mtext><mfrac><mrow><mtext>PS</mtext></mrow><mrow><msub><mrow><mtext>t</mtext></mrow><mrow><mtext>3</mtext></mrow></msub><msub><mrow><mtext> - t</mtext></mrow><mrow><mtext>1</mtext></mrow></msub></mrow></mfrac></mrow></math><img file="EP1538796A2_D0002.tif" /></maths>
0053This technique works in theory and in practice. However, it only works well over a network that is relatively static.
0054For example, in Fig. 1, assume the network consists of only the server 20; routers 32, 34, and 36; a specific ISP of ISPs 80; and client 90. Further, assume that the links between each node on this static network is fixed and has a consistent bandwidth. In this situation, the packet-pair techniques provide an accurate and effective measurement of bandwidth.
0055<u>Issues related to using Packet-pair over the Internet.</u> However, the packet-pair technique does not work well over a dynamic network, like the Internet. A dynamic network is one where there is a possibility that a packet may be handled in a manner different from an earlier packet or different from a later packet. In particular, there are problems with a TCP network.
0056Fig. 1 illustrates examples of handling differences found on a dynamic network. Assume that all packets are traveling from the server to the client (from left to right in Fig. 1). Assume that packets 60-68 were sent back-to-back by the server 20 to the client 90.
0057Notice, as illustrated in Fig. 1, that packets may take different routes. In addition, some routes may significantly delay the packet transmission. This is especially true if the packet is transmitted via an apparently unusual (but not necessarily uncommon) route, such as wireless transmission, oversees via an underwater cable, satellite transmission (as shown by dishes 46 and 50 and satellite 48), etc. A router (such as router 42) may delay one or more packets (such as 63 and 64) more than another may by temporarily storing them in a memory (such as buffer 43).
<u>Multiple Measurement Packets Technique</u>
0058To overcome these problems, conventional automatic bandwidth measurement techniques uses multiple packets. A server sends several (much more than two) packets and calculates the speed of each. Conventional wisdom on bandwidth measurement indicates that in order to get accurate measurements several pairs of packets must be sent repeatedly over several seconds to several minutes. Herein, this technique is called "multiple-packets" to distinguish it from the above-described "packet-pair" technique.
0059Typically, the ultimate bandwidth is determined by finding the average of the many bandwidth measurements. This averaging smoothes out variances in delays for each packet; however, it does not compensate for packet compression during transmission. One of two extremely incorrect measurements will skew the average.
0060Unfortunately, this technique takes a long time relative the existing wait for the user between click and media presentation. A long time may be five seconds to several minutes depending on the data and the situation. Such a delay adds to the annoyance factor for the user who wishes experience the media presentation. This is not an acceptable delay. Since there are no other options available using conventional techniques, the user has be forced to endure these delays.
0061No existing automatic bandwidth measurement can nearly instantaneously measure bandwidth across the Internet using a pair of packets. No existing automatic bandwidth measurement can make such measurements at the application layer. Thus, it avoids modifying the operating system. No existing automatic bandwidth measurement addresses measurement distortion caused by packet compression.
<u>Transport Layer Implementation</u>
0062The conventional approaches typically modify the kernel of the operating system (OS) to do perform automatic bandwidth measurements. More specifically, these approaches modify the transport layer of the OSI model and such layer is often located within the kernel of the OS. In general, such modifications are undesirable because it is generally less stable and more expensive than implementations that do not modify the OS.
0063If these approaches could be implemented within an application (thus, at the application layer), such modifications would not be possible. However, no existing packet-pair approach measures bandwidth at the application layer. This is because the application layer has less control over the details of the actual communication over the network. In particular, an application has even less control using TCP, than it would with UDP (User Datagram Protocol).
0064TCP and UDP are discussed below in section titled "TCP and UDP." The transport and application layers are part of the seven layers of the OSI model discussed below.
<u>TCP and UDP</u>
0065Over the Internet (and other networks), packets of data are usually sent via TCP or UDP protocols. TCP is the universally accepted and understood across the Internet.
0066TCP (Transmission Control Protocol) is one of the main protocols in TCP/IP networks (such as the Internet). Whereas the IP protocol deals only with packets, TCP enables two hosts to establish a connection and exchange streams of data. TCP guarantees delivery of data and guarantees that packets will be delivered in the same order in which they were sent.
0067UDP (User Datagram Protocol) is a connectionless protocol that (like TCP) runs on top of IP networks. Unlike TCP/IP, UDP/IP provides very few error recovery services, offering instead a direct way to send and receive packets (i.e., datagram) over an IP network.
0068A packet is a chunk of data provided by the application program. UDP typically sends a single "application-level packet" as a single UDP packet. However, TCP may break a single application-level packet into multiple smaller TCP "segments", each of which is treated as a separate "packet" at the TCP layer. The Nagle Algorithm (discussed below) does the opposite: It takes multiple small application packets and combines them into a single larger TCP segment.
<u>Nagle TCP/IP Algorithm</u>
0069The Nagle Algorithm was designed to avoid problems with small TCP segments (sometimes called "tinygrams") on slow networks. The algorithm says that a TCP/IP connection can have only one outstanding tinygram that has not yet been acknowledged. The defined size of a tinygram depends upon the implementation. However, it is generally a size smaller than the size of typical TCP segments.
0070The Nagle Algorithm states that under some circumstances, there will be a waiting period of about 200 milliseconds (msec) before data is sent. The Nagle Algorithm uses the following parameters for traffic over a switch: <ul id="ul0001" list-style="bullet" compact="compact"><li>Segment size = MTU or tcp_mssdflt or MTU path discovery value.</li><li>TCP Window size = smaller of tcp_sendspace and tcp_recvspace values.</li><li>Data size = application data buffer size.</li></ul>
0071The following are the specific rules used by the Nagle Algorithm in deciding when to send data: <ul id="ul0002" list-style="bullet" compact="compact"><li>If a packet is equal to or larger than the segment size (or MTU), and the TCP window is not full, send an MTU size buffer immediately.</li><li>If the interface is idle, or the TCP_NODELAY flag is set, and the TCP window is not full, send the buffer immediately.</li><li>If there is less than half of the TCP window in outstanding data, send the buffer immediately.</li><li>If sending less than a segment size buffer, and if more than half the window is outstanding, and TCP_NODELAY is not set, wait up to 200 msec for more data before sending the buffer.</li></ul>
0072Setting TCP_NODELAY on the socket of the sending side deactivates the Nagle Algorithm. All data sent will go immediately, no matter what the data size.
0073The Nagle Algorithm may be generically called the "tinygram-buffering" function because it buffers tinygrams.
<u>TCP Slow Start Algorithm</u>
0074On TCP networks that don't use "slow start," devices start a connection with a sender by injecting multiple packets into the network, up to the window size advertised by a receiver. While this is acceptable when the two hosts are on the same LAN (local area network), problems may arise if there are routers and slower links between the sender and the receiver. Since some of the intermediate router is likely to queue the packets, it is possible for that such a router will have insufficient memory to queue them. Therefore, this naive approach is likely to reduce the throughput of a TCP connection drastically.
0075The algorithm to avoid this is called "slow start." It operates by observing that the rate at which new packets should be injected into the network is the rate at which the acknowledgments are returned by the other end.
0076The Slow Start Algorithm adds another window to the sender's TCP: a congestion window, called "cwnd". When a new connection is established with a host on another network, the congestion window is initialized to one packet. Each time an acknowledgement (i.e., "ACK") is received, the congestion window is increased by one packet. The sender can transmit up to the minimum of the "congestion window" and the "advertised window." The "congestion window" is flow control imposed by the sender. The "advertised window" is flow control imposed by the receiver. The former is based on the sender's assessment of perceived network congestion. The latter is related to the amount of available buffer space at the receiver for this connection.
0077The sender starts by transmitting one packet and waiting for its ACK (acknowledgement). When that ACK is received, the congestion window is incremented from one to two. Now, two packets can be sent. When each of those two packets is acknowledged, the congestion window is increased to four. And so forth.
0078At some point, the capacity of the connection between the sender and receiver may be reached. At that point, some intermediate router will start discarding packets. This tells the sender that its congestion window has reached its limit.
<u>Proxy</u>
0079A proxy (i.e., proxy server) is a device that sits between a client application (such as a Web browser) and a real server. Generally, it intercepts all requests to and from the real server to see if it can fulfill the requests itself. If not, it forwards the request to the real server. A proxy is employed for two main purposes: Improve performance and filter requests.
0080Since the proxy server is often a central point of communication for a number of clients, it attempts to make its communications as efficient as possible. Thus, it typically implements a form of the Nagle Algorithm. Every new TCP connection start with Slow Start. When there is a proxy between the client and the server, slow start is run in the two connections: server-proxy and proxy-client. Therefore, the proxy adds new complexity to the packet pair experiment.
<u>Background Summary</u>
0081An application (at the application layer) has limited control over the handling of TCP packets. Thus, conventional bandwidth measurements avoid application-level TCP bandwidth measurements.
0082The integrity of the packet pair technique requires that at least two packets be sent back-to-back. However, these packets may not arrive in such a manner because of the affects of the Nagle Algorithm and the Slow Start Algorithm. This discourages the use of the packet-pair technique for bandwidth measurement over a TCP network.
<u>SUMMARY</u>
0083The fast dynamic measurement of bandwidth in a TCP network environment utilizes a single pair of packets to calculate bandwidth between two entities on a network (such as the Internet). This calculation is based upon the packet-pair technique. This bandwidth measurement is extremely quick.
0084On its journey across a network, communication devices may delay the packet pairs. In particular, TCP networks have two algorithms designed to delay some packets with the goal of increasing the overall throughput of the network. However, these algorithms effectively delay a packet pair designed to measure bandwidth. Therefore, they distort the measurement. These algorithms are "Nagle" and "Slow Start."
0085The fast dynamic measurement of bandwidth implements countermeasures to overcome the delays imposed by these algorithms. Such countermeasures include disabling the application of the Nagle Algorithm; minimizing the buffering of packets by sending a "push" packet right after the packet pair; and avoiding the Slow Start Algorithm by priming it with a dummy packet.
<u>BRIEF DESCRIPTION OF THE DRAWINGS</u>
0086<ul id="ul0003" list-style="none" compact="compact"><li>Fig. 1 illustrates a typical public networking environment (such as the Internet) and the routing of and delay of data packets sent from a server to a client.</li><li>Fig. 2 is cut-away portion of a Web page. The cut-away shows a user interface providing a user a mechanism for selecting the bandwidth. This shows a conventional technique for determining bandwidth.</li><li>Fig. 3 shows a packet pair (being sent from a server to a client) graphed in the time domain. This shows a conventional implementation of packet-pair technique to measure bandwidth.</li><li>Fig. 4 also illustrates a typical public networking environment (such as the Internet). This shows a pair of packets sent back to back.</li><li>Fig. 5 is a flowchart illustrating the methodology of an implementation of the exemplary bandwidth meter.</li><li>Figs. 5a, 5b, and 5c are a flowchart illustrating the specific methodology implementation details of different aspects of the exemplary bandwidth meter.</li><li>Fig. 6 is an example of a computing operating environment capable of implementing the exemplary bandwidth meter.</li></ul>
<u>DETAILED DESCRIPTION</u>
0087The following description sets forth a specific embodiment of the fast dynamic measurement of bandwidth in a TCP network environment that incorporates elements recited in the appended claims. This embodiment is described with specificity in order to meet statutory written description, enablement, and best-mode requirements. However, the description itself is not intended to limit the scope of this patent. Rather, the inventors have contemplated that the claimed fast dynamic measurement of bandwidth in a TCP network environment might also be embodied in other ways, in conjunction with other present or future technologies.
0088Even when used with a TCP network (such as the Internet), an exemplary fast dynamic measurement of bandwidth in a TCP network environment (i.e., "bandwidth meter" or "bw-meter") described herein is fast and robust. The exemplary bandwidth meter implements a low-latency technique for automatically measuring the network bandwidth available between two entities on a communications network. It has been found to be particularly useful over the Internet (or other such TCP networks).
0089Unlike the conventional approaches, the exemplary bw-meter obtains a best effort bandwidth measurement with the least possible delay, even under difficult network conditions. The exemplary bw-meter is designed to provide reasonable output in less than one second in most existing TCP networks, including LANs, cable, DSL, and modem connections.
0090Furthermore, the exemplary bw-meter is implemented at the application layer. Although the exemplary bw-meter may be implemented on other layers, the one described herein is implemented on the application layer. In particular, it may be partially implemented by a Web browser or a media player.
0091Other aspects of the packet-pair technique that may be implemented by the exemplary bw-meter are described in more detail in co-pending patent application, entitled "Fast Dynamic Measurement of Connection Bandwidth" with serial number <u> </u>, which was filed <u> </u>, 2000 and is assigned to the Microsoft Corporation. The co-pending application is incorporated herein by reference.
<u>Packet-Pair Technique</u>
0092The exemplary bw-meter utilizes the well-established packet-pair technique described above and illustrated in Fig. 3. The exemplary bw-meter uses the packet-pair formula (Formula 2) described above to calculate the maximum de facto bandwidth between two entities on a communications network (such as the Internet).
0093Unlike existing automatic bandwidth measurement techniques that use multiple packets, the exemplary bw-meter uses a single pair of packets for measuring bandwidth over the Internet. With the exemplary bw-meter, bandwidth measurements and calculations are made "nearly instantaneously" because only a single pair of measurement packets is sent. The term "nearly instantaneously" means that the bandwidth is determined as soon as the pair of packets arrive at the client.
0094The exemplary bw-meter overcomes the drawbacks and limitations of using packet-pairs over a TCP network (such as the Internet) by implementing countermeasures to the Nagle Algorithm and the Slow Start Algorithm.
0095<u>Packet Pair Journey</u>. A packet of the packet-pair technique of the exemplary bw-meter travels from the sending entity (e.g., server) to the receiving entity (e.g., client). Fig. 4 shows an example of such a journey. Fig. 4 illustrates an environment similar to that shown in Fig. 1.
0096Fig. 4 illustrates an example of a typical Internet (TCP network) configuration. It includes a server (such as media server 220), which is coupled to the Internet 230. The server typically includes one or more physical server computers 222 with one or more physical storage devices and/or databases 224. On the other side of an Internet transmission is a client 290, which is connected via a proxy server 284, which is Internet Service Providers (ISPs) 280.
0097Cloud 230 is labeled the Internet, but it is understood that this cloud represents that portion of the Internet that only includes that which is illustrated therein. Inside such cloud are the routers, transmission lines, connections, and other devices that more-often-than-not successfully transmit data between clients and servers. Inside exemplary Internet cloud 230 are routers 232-244; two satellite dishes 246 and 250; and a satellite 248. These represent the possible paths that a data packet may take on its way between the server and the client.
0098Fig. 4 shows successive packets 260 and 262 of the pair sent in accordance with the exemplary bw-meter. The server 220 sends packet 262 immediately after packet 260.
0099The proxy server 284 is connected via link 282 to its ISPs 280. Client 290 and clients 292 use the proxy server to communicate with the Internet.
<u>Application-Level Bandwidth Measurement</u>
0100Conventional bandwidth measurement approaches are typically implemented the transport layer or some other layer below the application level. However, the exemplary bw-meter is implemented at the application layer. There are at least two major benefits to such an application-level approach to TCP packet-pair bandwidth measurement.
0101First, a lower level (such as transport level) packet-pair implementation is disfavored. It requires changes to the kernel of the OS and it does not lend itself easily to incremental deployment. As opposed to an application-level implementation, a lower packet-pair implementation involves greater expense in development, initial deployment, future development, and future deployment.
0102Second, according to one study, only a quarter of the TCP connections studied would benefit from a bandwidth measurement Therefore, it is not cost effective to implement such bandwidth measurement at a lower level if it only used no more than a quarter of the connections. Therefore, such bandwidth measurement is best to be included in the applications that applications that need it. Applications are much easier (and less expensive) to incrementally deploy than a new kernel of the operating system.
0103It is generally safe to assume that the receiver's clock is sufficiently precise and the IP datagrams (i.e., packets) are passed up through the receiver's network stack (OSI layers) to the application unmolested. The second assumption is violated in the case of some applications, such as software from America Online version four (AOLv4) and earlier which behaved as if it only delivered data to the application on a timer. Thus, this imposed an artificial clock granularity on the measurements. Fortunately, it appears that version five (and later) of AOL software do not perform such molestation.
<u>Conditions for Effective Measurements Using Packet-Pair</u>
0104When using the packet-pair technique to measure bandwidth, two conditions must be met to achieve a good measurement.
0105The first condition is that the packets must be sent back-to-back. Herein, this is called the "back-to-back" condition. If packets are not back-to-back, then the timing measurements between them will be distorted. Both the Nagle Algorithm and the Slow Start Algorithm threaten this condition. Both potentially delay delivery of the second measurement packet. For bandwidth measurement using a packet-pair, any avoidable delay between packets is intolerable because it distorts the measurement of the actual bandwidth.
0106The second condition is that the size of the packets must be preserved. That is, they must not be combined with other packets. Herein, this is called the "size-preservation" condition. The Nagle Algorithm threatens this condition.
0107The Nagle algorithm may cause multiple application-layer packets to be sent as a single TCP segment. Thus, while the application may think it is sending two or more packets, in fact, the TCP layer is only sending a single packet.
<u>Countermeasures to the Nagle Algorithm</u>
0108An interesting behavior of the Nagle Algorithm is that for small packets, only one ACK may be outstanding. Thus, a pair of small packets cannot be sent back-to-back with the Nagle Algorithm. The Nagle Algorithm will combine small packets that are waiting for an ACK. This affects both the "back-to-back" and the "size-preservation" conditions.
0109The exemplary bw-meter puts a countermeasure into action to overcome the Nagle Algorithm's tendency to interfere with the two conditions. An entity (such as the server 220 in Fig. 4) sends a command that instructs communication devices (such as routers 230-250) to disable the Nagle Algorithm. Generally, the server passes a command generically called a "delay-disable" command. Specifically, the server passes TCP_NODELAY to SetSockOpt().
0110As long as the congestion window is open, turning off the Nagle Algorithm prevents TCP from attempting to combine any of the packet-pair packets and TCP will immediately write the packet to the network.
0111In other words, with the Nagle Algorithm disabled by a "delay-disable" command, both packets of the packet-pair will flow though routers without the delay caused by Nagle's collecting of multiple packets.
<u>Countermeasure to the Slow Start Algorithm</u>
0112The exemplary bw-meter puts a countermeasure into action to overcome the Slow Start Algorithm's tendency to interfere with the "back-to-back" condition. This is done by opening the server's congestion window (which is specifically called "cwnd") to at least three packets.
0113This is done by "priming" the congestion window. To prime the congestion window, a server sends at least one packet and receives an ACK before it sends the pair of packets of the packet-pair. Therefore, the server sends at least one "priming" packet to the client and that packet is not used for calculating bandwidth. After one or more priming packets are sent, the server sends the actual packet-pair used for measuring bandwidth. At this point, the Slow Start Algorithm will let, at least, two packets in a row go through without delaying them.
0114The Slow Start Algorithm can be completely avoided by performing the bandwidth measurement later in the particular TCP connection. However, this is not a desirable option because of two reasons: additional delay and overhead causing a faulty measurement.
0115If the measurement is made later, there is a built-in delay to wait for the Slow Start Algorithm to run its course. It is better to not have any delays that can be avoided. With the exemplary bw-meter, this delay can be avoided.
0116Performing the bandwidth measurement at the beginning of a TCP connection removes many uncertainties that accumulate as the connection progresses. For example, if the TCP connection is shared by both control and data transport, it is impossible to predict later in the session whether the sender's congestion window will allow packets to be sent back-to-back.
<u>Countermeasures to Delays at a Proxy</u>
0117The Nagle Algorithm operating at a proxy can similarly distort a packet-pair bandwidth measurement. Generally, proxies do not recognize a "delay-disable" command. Neither the client nor the server application can tell in advance if the connection is made through a circuit-level proxy.
0118In order to address the Nagle Algorithm at a proxy, a large third packet is sent after the pair of measurement packets. If the proxy is holding the second packet of the packet-pair, the third packet pushes it along. Hence, this third packet is called the "push" packet.
0119In addition, the first and second packets could be combined at the proxy. The result would be an artificially high measurement, but the overwhelming majority of proxy users have a high bandwidth connection anyway.
<u>Methodological Implementation</u>
0120Fig. 5 shows a methodological implementation of the exemplary bandwidth meter. It is from the server perspective. At 300, the dynamic bandwidth measurement in accordance with the exemplary bandwidth meter is initiated. Typically, a user of the client selects an option on a Web page to experience a media presentation. Alternatively, an application on the client may initiate such bandwidth measurement. Such an application may be a Web browser, media player, or the like.
0121Generally, at 302 of Fig. 5, the server sends a pair of packets to the client, with one immediately following the other. The specific implementation details at this block 302 are shown in Figs. 5a, 5b, and 5c. These figures are discussed below.
0122At 306, the server waits for a response from the client. If it is not received within time limit, the process returns to send another pair of packets at 302. Although not shown in the flowchart, the process will repeat this a given number of times before terminating and generating an error. If a response is received within the time limit, the process proceeds to the next block at 308.
0123The response includes a bandwidth measurement determined by the client using the pair of packets sent by the server at 304. The server extracts the specified bandwidth from the response at 308.
0124At 310 of Fig. 6, the server selects the file (or portion thereof) formatted for a bandwidth equal to or just lesser than the specified bandwidth. At 312, the server sends the file (or portion thereof) to the client.
0125If it was a media file, the user of the client enjoys a media presentation that begins play quickly. It also plays smoothly and at the highest quality possible at a measured bandwidth. The process ends at 314.
0126<u>Countermeasure to Nagle Algorithm.</u> Fig. 5a shows the specific methodological implementation of the exemplary bandwidth meter for the countermeasure to the Nagle Algorithm. At 402, the server sends a delay-disable command to disable the use of the Nagle Algorithm. At 404, the server sends a pair of bandwidth-measurement packets to the client. At 406, the process returns to block 306 of Fig. 5.
0127<u>Countermeasure to Proxy Delays</u>. Fig. 5b shows the specific methodological implementation of the exemplary bandwidth meter for the countermeasure to the Proxy delays. At 412, the server sends a pair of bandwidth-measurement packets to the client. At 414, the server sends a "push" packet to force the pair out of any buffer in which they may be stored by a communications device. At 416, the process returns to block 306 of Fig. 5.
0128<u>Countermeasure to Slow Start Algorithm</u>. Fig. 5c shows the specific methodological implementation of the exemplary bandwidth meter for the countermeasure to the Slow Start Algorithm. At 422, the server sends a "priming" packet to overcome the Slow Start Algorithm.
0129This "priming" packet is not used for bandwidth measurement. It allows the network to open up (i.e., the congestion window to open) and allow two packets at a time without delay. At 424, the server sends a pair of bandwidth-measurement packets to the client. At 426, the process returns to block 306 of Fig. 5.
<u>Other Implementation Details</u>
0130<u>Implementation Applications</u>. The exemplary bw-meter may be implemented by any entity wishing to quickly measure bandwidth between two entities on a network. In particular, a TCP network, such as the Internet.
0131Such an entity may implement this exemplary bw-meter at the application level. Examples of an application-level program modules that may implement this exemplary bw-meter is streaming media server application on a server using either Microsoft Media Server (MMS) protocol or Real Time Streaming Protocol (RTSP).
0132Both MMS and RTSP share the very similar fundamental techniques to provide the conditions for a successful measurement using the exemplary bw-meter. However, implementation of the exemplary bw-meter using RTSP is trickier than such an implementation using MMS protocol.
0133<u>RTSP Packet Pair Syntax</u>. One way that RTSP is trickier than MMS is because the three packets must masquerade as a response to an RTSP command so the client's RTSP parser may process them. The RTSP GET_PARAMETER command is used to request the packet pair experiment. The first packet of the reply begins with the typical RTSP response headers.
0134Here are examples of the headers for a packet-pair request from the client: <ul id="ul0004" list-style="none" compact="compact"><li>GET_PARAMETER* RTSP/1.0</li><li>Content-Type: application/x-rtsp-packetpair</li><li>Content-Length: 16</li><li>Date: Sun, 02 Apr 2000 22:36:18 GMT</li><li>CSeq: 2</li><li>User-Agent: WMPlayer/5.0.0.0488 guid/1A21De80-08E7-11D4-93FE-006097B76A2E</li><li>Accept-Language: en-us, *;q=0.1</li><li>Accept-Charset: UTF-8, *;q=0.1</li><li>Timestamp: 1</li></ul>
0135Here are examples of the headers for the packet pair reply from the server: <ul id="ul0005" list-style="none" compact="compact"><li>RTSP/1.0 200 OK</li><li>Content-Type: application/x-rtsp-packetpair</li><li>Content-Length: 2048</li><li>Date: Sun, 02 Apr 2000 22:30:48 GMT</li><li>CSeq: 2</li><li>TimeStamp: 1 0.063</li><li>Server: WMServer/5.0.0.0518</li></ul>
0136<u>TCP issues</u>. As noted earlier, the congestion window needs to be open to at least three packets by the time the three packets are sent from the server. Since the initial congestion window is two, the DESCRIBE response is used to open the window to three or greater. If the DESCRIBE response requires three packets, that means that the third packet must wait for an ACK from the client before it can be transmitted.
0137While the server's TCP is waiting for the ACK of either or both of the first two packets, if the GET_PARAMETER arrives and then the application starts writing the reply to the GET_PARAMETER to the socket, the packet pair packets may get combined with the third and last packet of the DESCRIBE reply and with one another. Therefore, the client should not send the GET_PARAMETER until the DESCRIBE reply is fully received.
0138This guarantees that the congestion window will be open at the server when the packet pair packets are sent. Consequently, no packets will be combined. The DESCRIBE response may be one or greater packets and the congestion window will be three or greater when the packet pair is performed. Obviously, no other traffic should occur before the packet pair.
0139<u>Measuring Arrival Times.</u> Part of performing the packet pair measurement of the exemplary bw-meter (at the application level) means that the client application is measuring the arrival times of the two packets. RTSP presents an extra challenge in that the response headers take a relatively long time to process compared to the granularity needed for an accurate measurement. Therefore, the client cannot wait until processing the response header to figure out that it is a response to a packet pair request before it time stamps this first packet of the packet pair.
0140The timestamp must occur before the client even knows what kind of response it is. Therefore, when the client makes a packet pair request, it timestamps every incoming command response packet until it receives the packet pair. Then it quits this pre-timestamp mode.
0141The client must still process the header of the first packet before it can read the second packet. Therefore, there is an upper bound to how high of a bottleneck can be measured and it is determined by how fast the client can process the RTSP response header. For instance, if the time it takes to process the header is 5ms, the maximum speed that can be measured is around 800 kb/s. Therefore, RTSP measurements at the high end will not be as good as MMS unless the time it takes to parse the RTSP response is low.
<u>Exemplary Computing Environment</u>
0142Fig. 6 illustrates an example of a suitable computing environment 920 on which the exemplary bw-meter may be implemented.
0143Exemplary computing environment 920 is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the exemplary bw-meter. Neither should the computing environment 920 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary computing environment 920.
0144The exemplary bw-meter is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with the exemplary bw-meter include, but are not limited to, personal computers, server computers, thin clients, thick clients, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, wireless phone, wireless communication devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
0145The exemplary bw-meter may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The exemplary bw-meter may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
0146As shown in Fig. 6, the computing environment 920 includes a general-purpose computing device in the form of a computer 930. The components of computer 920 may include, by are not limited to, one or more processors or processing units 932, a system memory 934, and a bus 936 that couples various system components including the system memory 934 to the processor 932.
0147Bus 936 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) buss also known as Mezzanine bus.
0148Computer 930 typically includes a variety of computer readable media. Such media may be any available media that is accessible by computer 930, and it includes both volatile and non-volatile media, removable and non-removable media.
0149In Fig. 6, the system memory includes computer readable media in the form of volatile, such as random access memory (RAM) 940, and/or non-volatile memory, such as read only memory (ROM) 938. A basic input/output system (BIOS) 942, containing the basic routines that help to transfer information between elements within computer 930, such as during start-up, is stored in ROM 938. RAM 940 typically contains data and/or program modules that are immediately accessible to and/or presently be operated on by processor 932.
0150Computer 930 may further include other removable/non-removable, volatile/non-volatile computer storage media. By way of example only, Fig. 6 illustrates a hard disk drive 944 for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a "hard drive"), a magnetic disk drive 946 for reading from and writing to a removable, non-volatile magnetic disk 948 (e.g., a "floppy disk"), and an optical disk drive 950 for reading from or writing to a removable, non-volatile optical disk 952 such as a CD-ROM, DVD-ROM or other optical media. The hard disk drive 944, magnetic disk drive 946, and optical disk drive 950 are each connected to bus 936 by one or more interfaces 954.
0151The drives and their associated computer-readable media provide nonvolatile storage of computer readable instructions, data structures, program modules, and other data for computer 930. Although the exemplary environment described herein employs a hard disk, a removable magnetic disk 948 and a removable optical disk 952, it should be appreciated by those skilled in the art that other types 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 (ROM), and the like, may also be used in the exemplary operating environment.
0152A number of program modules may be stored on the hard disk, magnetic disk 948, optical disk 952, ROM 938, or RAM 940, including, by way of example, and not limitation, an operating system 958, one or more application programs 960, other program modules 962, and program data 964.
0153A user may enter commands and information into computer 930 through input devices such as keyboard 966 and pointing device 968 (such as a "mouse"). Other input devices (not shown) may include a microphone, joystick, game pad, satellite dish, serial port, scanner, or the like. These and other input devices are connected to the processing unit 932 through an user input interface 970 that is coupled to bus 936, but may be connected by other interface and bus structures, such as a parallel port, game port, or a universal serial bus (USB).
0154A monitor 972 or other type of display device is also connected to bus 936 via an interface, such as a video adapter 974. In addition to the monitor, personal computers typically include other peripheral output devices (not shown), such as speakers and printers, which may be connected through output peripheral interface 975.
0155Computer 930 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 982. Remote computer 982 may include many or all of the elements and features described herein relative to computer 930.
0156Logical connections shown in Fig. 6 are a local area network (LAN) 977 and a general wide area network (WAN) 979. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets, and the Internet.
0157When used in a LAN networking environment, the computer 930 is connected to LAN 977 network interface or adapter 986. When used in a WAN networking environment, the computer typically includes a modem 978 or other means for establishing communications over the WAN 979. The modem 978, which may be internal or external, may be connected to the system bus 936 via the user input interface 970, or other appropriate mechanism.
0158Depicted in Fig. 6, is a specific implementation of a WAN via the Internet. Over the Internet, computer 930 typically includes a modem 978 or other means for establishing communications over the Internet 980. Modem 978, which may be internal or external, is connected to bus 936 via interface 970.
0159In a networked environment, program modules depicted relative to the personal computer 930, or portions thereof, may be stored in a remote memory storage device. By way of example, and not limitation, Fig. 6 illustrates remote application programs 989 as residing on a memory device of remote computer 982. It will be appreciated that the network connections shown and described are exemplary and other means of establishing a communications link between the computers may be used.
<u>Exemplary Operating Environment</u>
0160Fig. 6 illustrates an example of a suitable operating environment 920 in which the exemplary bw-meter may be implemented. Specifically, the exemplary bw-meter is implemented by any program 960-962 or operating system 958 in Fig. 6.
0161The operating environment is only an example of a suitable operating environment and is not intended to suggest any limitation as to the scope of use of functionality of the bw-meter described herein. Other well known computing systems, environments, and/or configurations that may be suitable for use with the bw-meter include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
<u>Computer-Executable Instructions</u>
0162An implementation of the exemplary bw-meter may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
<u>Computer Readable Media</u>
0163An implementation of the exemplary bw-meter may be stored on or transmitted across some form of computer readable media. Computer readable media can be any available media that can be accessed by a computer. By way of example, and not limitation, computer readable media may comprise computer storage media and communications media.
0164Computer storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
0165Communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier wave or other transport mechanism and included any information delivery media. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above are also included within the scope of computer readable media.
<u>Conclusion</u>
0166Although the fast dynamic measurement of bandwidth in a TCP network environment has been described in language specific to structural features and/or methodological steps, it is to be understood that the fast dynamic measurement of bandwidth in a TCP network environment defined in the appended claims is not necessarily limited to the specific features or steps described. Rather, the specific features and steps are disclosed as preferred forms of implementing the claimed fast dynamic measurement of bandwidth in a TCP network environment.
0167<b>The following is a list of further embodiments of the invention:</b><ul id="ul0006" list-style="none"><li>Embodiment 1. A method for facilitating speedy communication of packets between entities on a network, the method comprising: <ul id="ul0007" list-style="none"><li>sending a delay-disable command;</li><li>sending a set of packets from a sending entity to a receiving entity.</li></ul></li><li>Embodiment 2. A method as recited in embodiment 1, wherein the set of packets includes two packets sent back-to-back.</li><li>Embodiment 3. A method as recited in embodiment 1, wherein the set of packets consists of a first bandwidth-measurement packet and a second bandwidth-measurement packet, wherein the second packet is sent immediately after the first packet.</li><li>Embodiment 4. A method as recited in embodiment 1, wherein the network is TCP.</li><li>Embodiment 5. A method as recited in embodiment 1, wherein the delay-disable command disables the Nagle Algorithm on one or more communication devices on the network.</li><li>Embodiment 6. A method as recited in embodiment 1, wherein the delay-disable command is TCP_NODELAY.</li><li>Embodiment 7. A program module having computer-executable instructions that, when executed by a computer, performs the method as recited in embodiment 1 at an application layer in accordance with an OSI model.</li><li>Embodiment 8. A computer-readable medium having computer-executable instructions that, when executed by a computer, performs the method as recited in embodiment 1.</li><li>Embodiment 9. A method for facilitating speedy communication of packets between entities on a network, the method comprising: <ul id="ul0008" list-style="none"><li>sending a set of packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the set is intolerable;</li><li>immediately thereafter, sending at least one "push" packet to avert a transmission delay between packets in the set, wherein the delay is caused by packet buffering of a communication device on the network.</li></ul></li><li>Embodiment 10. A method as recited in embodiment 9, wherein the set of packets includes two packets sent back-to-back.</li><li>Embodiment 11. A method as recited in embodiment 9, wherein the set of packets are bandwidth-measurement packets for measuring bandwidth between the sending entity and the receiving entity.</li><li>Embodiment 12. A method as recited in embodiment 9, wherein the communication device is a proxy server.</li><li>Embodiment 13. A method as recited in embodiment 9, wherein the network is TCP.</li><li>Embodiment 14. A program module having computer-executable instructions that, when executed by a computer, performs the method as recited in embodiment 9 at an application layer in accordance with an OSI model.</li><li>Embodiment 15. A computer-readable medium having computer-executable instructions that, when executed by a computer, performs the method as recited in embodiment 9.</li><li>Embodiment 16. A method for facilitating speedy communication of packets between entities on a network, the method comprising: <ul id="ul0009" list-style="none"><li>sending a set of packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the set is intolerable;</li><li>immediately before, sending at least one "priming" packet to avoid a transmission delay between packets in the set, wherein the delay is caused by flow-control functions of a communication device on the network.</li></ul></li><li>Embodiment 17. A method as recited in embodiment 16, wherein the set of packets includes two packets sent back-to-back.</li><li>Embodiment 18. A method as recited in embodiment 16, wherein the set of packets are bandwidth-measurement packets for measuring bandwidth between the sending entity and the receiving entity.</li><li>Embodiment 19. A method as recited in embodiment 16, wherein the network is TCP.</li><li>Embodiment 20. A method as recited in embodiment 16 further comprising establishing a TCP connection between the sending entity to the receiving entity, wherein the establishing is just before the sending of the set of packets.</li><li>Embodiment 21. A method as recited in embodiment 16, wherein the flow-control function is the Slow Start Algorithm.</li><li>Embodiment 22. A program module having computer-executable instructions that, when executed by a computer, performs the method as recited in embodiment 16 at an application layer in accordance with an OSI model.</li><li>Embodiment 23. A computer-readable medium having computer-executable instructions that, when executed by a computer, performs the method as recited in embodiment 16.</li><li>Embodiment 24. A method for facilitating bandwidth measurement between two entities on a network, the method comprising: <ul id="ul0010" list-style="none"><li>sending a delay-disable command;</li><li>sending a pair of bandwidth-measurement packets from a sending entity to a receiving entity.</li></ul></li><li>Embodiment 25. A method as recited in embodiment 24 further comprising receiving a bandwidth calculation based upon measurements related to the pair of packets.</li><li>Embodiment 26. A method for facilitating bandwidth measurement between two entities on a network, the method comprising: <ul id="ul0011" list-style="none" compact="compact"><li>sending a pair of bandwidth-measurement packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the pair is intolerable;</li><li>immediately thereafter, sending at least one "push" packet to avert a transmission delay between packets in the pair, wherein the delay is caused by packet buffering of a communication device on the network.</li></ul></li><li>Embodiment 27. A method as recited in embodiment 26 further comprising receiving a bandwidth calculation based upon measurements related to the pair of packets.</li><li>Embodiment 28. A method for facilitating bandwidth measurement between two entities on a network, the method comprising: <ul id="ul0012" list-style="none" compact="compact"><li>sending a pair of bandwidth-measurement packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the pair is intolerable;</li><li>immediately before, sending at least one "priming" packet to avoid a transmission delay between packets in the pair, wherein the delay is caused by flow-control functions of a communication device on the network.</li></ul></li><li>Embodiment 29. A method as recited in embodiment 28 further comprising receiving a bandwidth calculation based upon measurements related to the pair of packets.</li><li>Embodiment 30. A computer-readable medium having computer-executable instructions that, when executed by a computer, perform a method to facilitate speedy communication of packets between entities on a network, the method comprising: <ul id="ul0013" list-style="none"><li>sending a delay-disable command;</li><li>sending a set of packets from a sending entity to a receiving entity.</li></ul></li><li>Embodiment 31. A computer-readable medium having computer-executable instructions that, when executed by a computer, perform a method to facilitate speedy communication of packets between entities on a network, the method comprising: <ul id="ul0014" list-style="none"><li>sending a set of packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the set is intolerable;</li><li>immediately thereafter, sending at least one "push" packet to avert a transmission delay between packets in the set, wherein the delay is caused by packet buffering of a communication device on the network.</li></ul></li><li>Embodiment 32. A computer-readable medium having computer-executable instructions that, when executed by a computer, perform a method to facilitate speedy communication of packets between entities on a network, the method comprising: <ul id="ul0015" list-style="none"><li>sending a set of packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the set is intolerable;</li><li>immediately before, sending at least one "priming" packet to avoid a transmission delay between packets in the set, wherein the delay is caused by flow-control functions of a communication device on the network.</li></ul></li><li>Embodiment 33. An apparatus comprising: <ul id="ul0016" list-style="none"><li>a processor;</li><li>a transmission-delay avoider executable on the processor to:</li><li>send a delay-disable command;</li><li>send a set of packets from a sending entity to a receiving entity.</li></ul></li><li>Embodiment 34. An apparatus comprising: <ul id="ul0017" list-style="none" compact="compact"><li>a processor; a transmission-delay avoider executable on the processor to: <ul id="ul0018" list-style="none"><li>send a set of packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the set is intolerable;</li><li>immediately thereafter, send at least one "push" packet to avert a transmission delay between packets in the set, wherein the delay is caused by packet buffering of a communication device on the network.</li></ul></li></ul></li><li>Embodiment 35. An apparatus comprising: <ul id="ul0019" list-style="none"><li>a processor; a transmission-delay avoider executable on the processor to:</li><li>send a set of packets from a sending entity to a receiving entity, wherein a transmission delay between packets in the set is intolerable;</li><li>immediately before, send at least one "priming" packet to avoid a transmission delay between packets in the set, wherein the delay is caused by flow-control functions of a communication device on the network.</li></ul></li><li>Embodiment 36. A modulated data signal having data fields encoded thereon transmitted over a communications channel, comprising: <ul id="ul0020" list-style="none"><li>a first field including a delay-disable command</li><li>a second field including a first bandwidth-measurement packet;</li><li>a third field including a second bandwidth-measurement packet.</li></ul></li><li>Embodiment 37. A modulated data signal having data fields encoded thereon transmitted over a communications channel, comprising: <ul id="ul0021" list-style="none"><li>a first field including a first bandwidth-measurement packet</li><li>a second field including a second bandwidth-measurement packet;</li><li>a third field including a "push" packet facilitating minimization of transmission delay between the first and second packets, wherein the delay is caused by packet buffering of a communication device on the network.</li></ul></li><li>Embodiment 38. A modulated data signal having data fields encoded thereon transmitted over a communications channel, comprising: <ul id="ul0022" list-style="none"><li>a first field including a "priming" packet;</li><li>a second field including a first bandwidth-measurement packet;</li><li>a third field including a second bandwidth-measurement packet; wherein the "priming" packet facilitates minimization of transmission delay between packets, wherein the delay is caused by flow-control functions of a communication device on the network.</li></ul></li></ul>
9 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9
33 members in 5 offices
Priority claims9
| Document | Office | Kind | Date |
|---|---|---|---|
| 635988 | United States of America | – | |
| 63598800 | United States of America | A | |
| 63598800 | United States of America | A | |
| 01118629 | European Patent Office (EPO) | A | |
| 01118629 | European Patent Office (EPO) | A | |
| 01118629 | – | – | – |
| 635988 | – | – | – |
| EP20010118629 | – | – | – |
| US20000635988 | – | – | – |
Members33
| Document | Office | Kind | |
|---|---|---|---|
| EP1179925A2 | European Patent Office (EPO) | A2 | |
| JP2002094567A | Japan | A | |
| EP1179925A3 | European Patent Office (EPO) | A3 | |
| US2005100014A1 | United States of America | A1 | |
| US2005108420A1 | United States of America | A1 | |
| EP1538795A2 | European Patent Office (EPO) | A2 | |
| EP1538796A2This record | European Patent Office (EPO) | A2 | |
| EP1538795A3 | European Patent Office (EPO) | A3 | |
| EP1538796A3 | European Patent Office (EPO) | A3 | |
| US7266613B1 | United States of America | B1 | |
| EP1538795B1 | European Patent Office (EPO) | B1 | |
| US7349977B2 | United States of America | B2 | |
| US7353286B2 | United States of America | B2 | |
| AT389999T | Austria | T | |
| ATE389999T1 | Austria | T1 | |
| EP1912393A1 | European Patent Office (EPO) | A1 | |
| DE60133324D1 | Germany | D1 | |
| US2008147877A1 | United States of America | A1 | |
| EP1179925B1 | European Patent Office (EPO) | B1 | |
| EP1538796B1 | European Patent Office (EPO) | B1 | |
| AT400947T | Austria | T | |
| AT400949T | Austria | T | |
| ATE400947T1 | Austria | T1 | |
| ATE400949T1 | Austria | T1 | |
| US2008183888A1 | United States of America | A1 | |
| DE60134701D1 | Germany | D1 | |
| DE60134793D1 | Germany | D1 | |
| DE60133324T2 | Germany | T2 | |
| EP1912393B1 | European Patent Office (EPO) | B1 | |
| AT463906T | Austria | T | |
| ATE463906T1 | Austria | T1 | |
| DE60141782D1 | Germany | D1 | |
| JP4806141B2 | Japan | B2 |
64 legal events, as 6 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal feeWithdrawnR119 | R119 | DE | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Fee paymentPLFP | PLFP | FR | |
| Fee paymentPLFP | PLFP | FR | |
| Fee paymentPLFP | PLFP | FR | |
| Transmission of propertyTP | TP | FR | |
| Amendment of ipc main classPREVIOUS MAIN CLASS: H04L0012560000R079 | R079 | DE | |
| Change of applicant/patenteeR081 | R081 | DE | |
| Change of representativeR082 | R082 | DE | |
| Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977)REGISTERED BETWEEN 20150108 AND 20150114732E | 732E | GB | |
| Amendment of ipc main classPREVIOUS MAIN CLASS: H04L0012560000R079 | R079 | DE | |
| Change of representativeR082 | R082 | DE | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Patent ceasedCeasedPL | PL | CH | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Nl: lapsed or annulled due to failure to fulfill the requirements of art. 29p and 29m of the patents actLapsedNLV1 | NLV1 | EP | |
| European patents granted designating irelandGrantedFG4D | FG4D | IE | |
| Corresponds to:REF | REF | EP | |
| European patent takes effect as a national patent in ch/liEP | EP | CH | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Designated contracting statesAK | AK | EP | |
| European patent grantedGrantedFG4D | FG4D | GB | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| Grant fee paidORIGINAL CODE: EPIDOSNIGR3GRAS | GRAS | EP | |
| Despatch of communication of intention to grant a patentORIGINAL CODE: EPIDOSNIGR1GRAP | GRAP | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Designation fees paidAKX | AKX | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Information on inventor provided before grant (corrected)RIN1 | RIN1 | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for examination filed17P | 17P | EP | |
| Divisional application: reference to earlier applicationAC | AC | EP | |
| Designated contracting statesAK | AK | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 1538796
- Publication, DOCDB
- 1538796
- Publication, EPODOC
- EP1538796
- Application
- 5003310
- Application, DOCDB
- 05003310
- Application, EPODOC
- EP20050003310
Titles3
- German
- Vorbereitungsdatenpaket zur Vermeidung von Übertragungsverzögerung
- English
- Priming data packet for avoiding transmission delay
- French
- Paquet d'amorcage pour éviter le délai de transmission
Classification
- CPC, 14
- H04L47/28
- H04L41/0896
- H04L43/0852
- H04L43/087
- H04L43/0888
- H04L43/16
- H04L43/50
- H04L47/10
- H04L47/193
- H04L47/26
- H04L65/80
- H04L69/16
- H04L69/163
- H04L65/65
- IPC, 2
- H04L12 26
- H04L12 56
Designated states1
- Contracting states, 1
- Türkiye