This invention relates to packet loss in wireless local area networks (WLANs). More particularly, this invention relates to adjusting the link retry limit to minimize packet loss in WLANs. Most particularly, this invention relates to a system and method for dynamically adapting the wireless link retry limit in real-time according to channel conditions and workload intensity to maximize MAC throughput and minimize packet loss.
According to present standards, the MAC layer of 802.11b (and a) does not dynamically adapt its retry limit to network conditions. Some commercially available 802.11b wireless interface cards do allow the card driver to reset the MAC's default retry limits (7 for ShortRetryLimit and 4 for LongRetryLimit) to different values to achieve differential protections for different types of traffic. However, there is no retry limit optimization or adaptation provided by these products. Most of the available commercial 802.11b cards simply disable card drivers to modify the MAC's retry limits.
Thus, there is a need for a way to adapt and optimize the MAC's retry limit.
In wireless networking systems, such as 802.11b WLANs, see, e.g.,
For streaming applications, normally, the RTP/UDP combination is used instead of RTP/TCP for transport control. Unlike TCP, UDP has no inherent flow control mechanism. It is simply an open-loop transport protocol without any feedback for flow control. An application, using UDP, can send the packets into the interface queue at any rate it desires. Streaming applications, especially video streaming, can generate packets at a very high rate, sometimes in bursty patterns. When video streaming applications are deployed over WLANs, the network can easily be overwhelmed either due to temporary bursty traffic or sporadic degradation of the wireless links.
Simulation shows that if the retry limit is fixed, packet loss due to queue drops increase due to one or both of the following reasons:
Simulations have also shown that, for a fixed combination of the incoming traffic rate and channel bit-error rate, there exists an optimal setting for the retry limit that can achieve minimum overall packet loss (the sum of both queue and link drops). If workload and channel conditions do not change, then it is only necessary to set the retry limit with a simulated optimal value once, and the WLAN always achieve its best performance in terms of minimizing packet loss.
However in real networks, both workload conditions (including incoming packet rate and pattern) and channel conditions can change over time. There does not exist a fixed optimal retry limit that can be applied to all conditions.
Therefore, a practical way to approach optimality is to dynamically adapt the retry limit in a way that tends to make the retry limit setting approach its optimal value under changing workload and channel conditions.
Simulation reveals that when queue drops and link drops are balanced, overall drops are at their minimum. Under certain workload conditions and channel bit-error rates, queue drops monotonically increase with the increase of the setting of the retry limit, while link drops monotonically decrease. This observation leads to a very simple retry limit adaptation algorithm that is a preferred embodiment of the present invention, see
The system and method of the present invention can be used by all 802.11a(b) related products, such as network card designs and the implementation of card drivers, or any wireless communication system wherein the wireless link perform error protection by the means of multiple retransmissions.
The present invention is an algorithm such that when the queue drop rate is higher than the link drop rate, the retry limit is reduced, otherwise the retry limit is increased.
Using this algorithm, a MAC layer can adapt its retry limit in a way that can track the varying optimal settings corresponding to dynamic network conditions. Simulations show the algorithm minimizes packet loss and maximizes network throughput, achieving much better network performance than without a retry limit adaptation.
The system and method of the present invention continuously measures both interface queue and MAC drop rates, and compares these two rates periodically. In a preferred embodiment, if the queue drop rate is higher than the MAC drop rate, the system and method of the present invention reduces the MAC retry limit by one. If the queue drop rate is smaller than the MAC drop rate, the system and method of the present invention increases the retry limit by one.
A preferred embodiment of a cross-layer algorithm is illustrated in C code in
The OS 36 passes the queue_drop_rate 35 information periodically down to the driver 33, and the driver 33 compares the queue_drop_rate 35 with its own measure MAC drop rate, and then sets the MAC retry limit according to the algorithm. At step 200 the driver 33 compares the sum of the OS queue_drop_rate and its own measured MAC_drop_rate with a first threshold TH1 to determine if the total drop rate is low. If the comparison at step 200 indicates that the total drop rate is low then the driver 33 compares the retry_limit to a lower limit R step 201. If the retry_limit is set too high, it is decreased by one at step 202 until the pre-determined minimum retry limit R is reached. The combined testing at steps 200 and 201 are done to prepare for possible bad/bursty channel conditions.
At step 204 through 208, the algorithm attempts to obtain a similar drop rate for the both the interface queue queue_drop_rate and MAC MAC_drop_rate, since simulation shows that this strategy leads to the minimum packet-loss rate.
The foregoing description of the exemplary embodiment of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise algorithm disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not with this detailed description, but rather by the claims appended hereto.
This application claims priority to an provision application No. 60/409,670, entitled “REAL TIME RETRY LIMIT ADAPTATION—A METHOD TO MAXIMIZE THROUGHPUT AND MINIMIZE PACKET LOSS OF WIRELESS LOCAL NETWORKS,” filed on Sep. 10, 2002.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB03/03853 | 9/1/2003 | WO | 7/12/2006 |
Number | Date | Country | |
---|---|---|---|
60409670 | Sep 2002 | US | |
60432855 | Dec 2002 | US |