The present invention relates to improvements in or relating to internet access, and is more particularly, although not exclusively, concerned with controlled IP flows, where controlled implies a feedback connection.
Where TCP/IP (transmission control protocol over internet protocol) traffic flows between the internet as a whole and an essentially private, stub network across long-latency links, access to the internet is sub-optimal. Specifically, if a mobile network built around point-to-point, high latency wireless links (for example, a geostationary satellite link) is connected to the internet, the latencies involved severely restrict the performance of TCP/IP connections. However, TCP/IP is required to use flow control mechanisms for congestion avoidance and congestion recovery, but although this produces poor performance when applied to long-latency connections, it is essential to prevent the internet from collapsing.
It is therefore an object of the present invention to provide a system which improves the performance of controlled IP flows.
In accordance with one aspect of the present invention, there is provided a method of controlling data flow rate from a first network to a second network across an enhancer link, the method comprising:
determining the data flow rate in the second network;
feeding the determined data flow rate back to the first network; and
adjusting the data flow rate over the enhancer link in accordance with the determined data flow rate.
Preferably, the enhancer link comprises at least one connection splitting node. In a preferred embodiment of the present invention, the. enhancer link comprises first and second connection splitting nodes, each node being associated with a respective one of the first and second networks.
Advantageously, the second connection splitting node includes a buffer for storing data during transfer to the second network.
The data flow from the first network to the second network may comprise a controlled IP flow. The step of adjusting the data flow rate at the enhancer link in accordance with the determined data flow rate comprises throttling the data flow rate from the first network so that it substantially matches the data flow rate of the second network.
This invention introduces various equations which may be used to determine the data flow rate over a controlled IP flow. These equations determine an output flow rate for the enhancer link in accordance with the round trip time of the second network and the amount of data in transit at any one time.
Other objects, advantages and novel features of the present invention will become apparent from the following detailed description of the invention when considered in conjunction with the accompanying drawings.
A connection splitting technique has been investigated to improve the performance of TCP/IP connections over long-latency links—specifically geostationary satellites with an end-to-end latency of typically 280 ms have been considered. This has shown that buffer management is an important area to address. The reason for this is that the long round trip time (RTT) means there is a substantial delay before the sender can receive any information about the status of the other end of a flow.
The present invention will be described with reference to controlled IP flows, e.g. TCP, RTCP and RTP flows.
In
It will readily be appreciated that node 24 effects connection splitting, that is, node 24 allows incoming data to be transmitted at a different rate.
However, the receiving host 32 in the remote network 30 receives data from the internet 34 via a modem (not shown), and can only accept data at a speed or rate of 56 kbit/s. If the sending host 22 tried to send gigabytes of data to the receiving host 32, it would rapidly be able to flood the flow buffer (not shown) on node 42, stalling the link. Again, node 42 effects connection splitting. It will be appreciated that the fixed link rates given above are by way of example only and that the link rate can be chosen to be any suitable value. Moreover, it is also possible to use a link rate which changes over the lifetime of the connection, for example, due to changes in the network capacity because of other intermittent traffic.
To avoid this, the node 24 in the local network 20 needs to control the sending rate of any given flow, based on the rate at which the receiving host 42 is accepting the data. This introduces two problems:—first, how to make an accurate enough assessment of the host data transfer capacity in the remote network 30 and, secondly, how to apply this effectively, given the long round-trip time. A flow which overcomes these problems in accordance with the present invention is shown in
A satellite flow 100 is shown in
In accordance with the present invention, a throttling algorithm is utilised which allows the value of the parameter ‘T’ to be determined within node 124. ‘T’ is a throttling parameter, which is used to throttle (or slow) the traffic passing through it and hence it throttles data traffic which it receives from the sending host 22. The resulting traffic flow out of node 124 into the satellite link 40, 46, 48 is then matched to that of the remote network at node 142.
The throttling algorithm uses flow rate statistics from node 142. Every set of data statistics received in a reverse traffic ‘feedback’ frame can be regarded as a delayed snapshot of the flow rate in node 142. For a geostationary satellite link with a typical latency of 280 ms, it is useful to configure the system, so that these ‘snapshots’ typically arrive every 140 ms, that is, at half the link latency.
It is useful to introduce the concept of a “data sample” at this point. This is the amount of data flowing through the node 142 for a single flow over the course of the sampling period, for example, 140 ms.
Hence, for a 56 kbit/s link, the data sample equates to:
57344×0.140=8028 bits, that is, approximately 1 kbyte.
The number of data samples stored in the buffer 152 at node 142 gives an indication of how long that flow will take to drain the buffer 152 assuming no more data is input. This number is referred to as the session buffer volume (SBV).
As described above, the nodes 124 and 142 are connection splitting nodes and need to cooperate with one another if the flow 100 is to have at an optimum performance.
As the SBV becomes large, it becomes less important for node 124 to continue to send data at the network output flow rate. In addition, it indicates that the buffer 152 is being overused for that session. The throttling unit 150 in node 124 must therefore throttle the flow back to allow the buffer 152 at node 142 to drain.
The SBV measurement is not enough to ensure that the buffer 152 at the node 142 is not overrun. The spare capacity of the buffer 152 in node 142 for all TCP sessions must also be accounted for and this is given by the receiver buffer ratio (RBR).
The data that node 124 requires from node 142 can be summarised as:
The throttling algorithm within the throttling unit 150 of node 124 attempts to match the output rate Ro to that of the output rate Ri of node 142 into the internet 34. This limits the amount of data flowing into node 142 so that its buffer 152 do not overfill.
Realising that the measured value of Ri at node 142 is always out of date by 280 ms, that is, by two ‘snapshot’ periods, the throttling value T needs to be determined in accordance with:
Ro=TRi (1)
Considering the earlier definition of SBV, the following conditions apply:
when
Hence, from equation (1):
T=1/(1+SBV) (2)
or generally for a specific flow ‘s’
Ts=1/(1+SBVs) (3)
Equation (3) is a suitable equation for the data flow aspect of the throttling value T held in throttling unit 150 of node 124.
Additionally, to avoid overflow of buffer 152 of node 142, the overall spare capacity of buffer 152 needs to be considered as determined by RBR.
The following conditions apply:
when
Hence:
Tb=1−1/(1+RBR) (4)
Equation (4) is a suitable equation for the buffering aspect of the throttling value T.
In this case, equation (4) applies for the whole system regardless of the number of active sessions.
In addition to the above, the algorithm also requires a forcing factor P. This is required to push a small amount of extra data than that indicated by the flow rates of the node 142 across the satellite link 40, 46, 48. If this factor is not included, the send rate from node 124 will converge to the output rate from node 142, and the utilisation of the buffer 152 in node 142 will be zero. If the connection from node 142 to receiving host 32 increases in capacity at this point, node 142 will have no spare data to output and will not be able to detect the extra capacity.
A suitable value for the forcing factor is around 105% (1.05). Higher values have been shown to introduce oscillation in the usage of the buffer 152 on node 142 even with a constant flow rate between node 142 and receiving host 32.
Hence, the complete formulae for the throttling factor for any flow ‘s’ is given by:
T=PTbTS (5)
T=P(1−1/(1+RBR))(1/(1+SBVs)) (6)
The value thus obtained, T for a session s, is a value between 0 and 1, representing the fraction of the measured flow rate from node 142 to receiving host 32 that should be permitted across the satellite link 40, 46, 48. Any suitable rate control mechanism, for example, a token leaky bucket scheme, can be used to apply the rate control.
The above paragraph explains how node 124 calculates a link rate for a connection from information fed back from node 142—but this still requires that node 142 can supply this information correctly. The buffer data is simple—given a pool of buffers the RBR is simply the fraction of free buffers.
However, to correctly determine the value of each SBV, node 142 needs to supply a rate for data transfer between itself and the receiving host 32. This has to be a comparatively accurate instantaneous measurement. It cannot be of the form “20 kbyte transferred with connection duration of 10 s=2 kbyte/s” as this does not indicate the achievable output rate.
In
The following procedure is used to determine the RTT of the remote network 30:
TCP outputs a segment and if the cycle timer is not active, a timer is started. This starts the measurement process.
The following cycle then repeats:
It will be appreciated that any other suitable process can be used to determine the RTT of the remote network.
The amount of data in transit, at any time, is known by the sliding window of the flow in the remote network 30, that is, between node 142 and sending host 32. Together with the RTT value determined above, the external data rate can be accurately measured.
The following method has been used to measure the output rate at the remote end of the link. The calculation is performed in parallel for each connection, and the following definitions apply:
TCP·SND_NXT is the sequence number of the next byte to be output by this TCP connection.
TCP·SND_UNA is the earliest unacknowledged byte for the TCP connection.
The difference between these two values, therefore, gives the quantity of data in transit at the point of measurement. This calculation should be performed before SND_UNA is updated with the value of the received acknowledgement.
Alpha and beta set, respectively, the lower and upper thresholds for reporting change in output rate. Without this, every cycle will cause an update which, if the value is comparatively stable, is unnecessary. Values of 0.95 for alpha and 1.1 for beta, for example, can be used to reduce the number of updates. Setting both to a value of 1 will cause the value to be updated for every change.
The foregoing disclosure has been set forth merely to illustrate the invention and is not intended to be limiting. Since modifications of the disclosed embodiments incorporating the spirit and substance of the invention may occur to persons skilled in the art, the invention should be construed to include everything within the scope of the appended claims and equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
9929877.0 | Dec 1999 | GB | national |
0024467.3 | Oct 2000 | GB | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/GB00/04785 | 12/14/2000 | WO | 00 | 10/29/2002 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO01/45332 | 6/21/2001 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5694390 | Yamato et al. | Dec 1997 | A |
5748901 | Afek et al. | May 1998 | A |
5970048 | Pajuvirta et al. | Oct 1999 | A |
6097697 | Yao et al. | Aug 2000 | A |
6118834 | Rasanen | Sep 2000 | A |
6233224 | Yamashita et al. | May 2001 | B1 |
6438101 | Kalampoukas et al. | Aug 2002 | B1 |
6654344 | Toporek et al. | Nov 2003 | B1 |
Number | Date | Country |
---|---|---|
WO 9722196 | Jun 1997 | WO |
WO 9922477 | May 1999 | WO |
WO 0145332 | Dec 2000 | WO |
Number | Date | Country | |
---|---|---|---|
20030103466 A1 | Jun 2003 | US |