Evaluation of The Minstrel Rate Adaptation Algorithm in Ieee 802.11G Wlans
Evaluation of The Minstrel Rate Adaptation Algorithm in Ieee 802.11G Wlans
Evaluation of The Minstrel Rate Adaptation Algorithm in Ieee 802.11G Wlans
Abstract—Rate adaptation varies the transmission rate of a Therefore, in this paper we present an experimental study
wireless sender to match the wireless channel conditions, in order
which analyzes the performance of Minstrel by comparing it
to achieve the best possible performance. It is a key component of
IEEE 802.11 wireless networks. Minstrel is a popular rate against fixed rates in a real-world IEEE 802.11g wireless
adaptation algorithm due to its efficiency and availability in testbed. Fixed rates provide a performance benchmark which a
commonly used wireless drivers. However, despite its popularity, good rate adaptation algorithm should be at least able to meet,
little work has been done on evaluating the performance of if not exceed. We therefore consider an evaluation against
Minstrel or comparing it to the performance of fixed rates. In this fixed rates to be an important tool in the analysis of rate
paper, we conduct an experimental study that compares the adaptation algorithm behavior.
performance of Minstrel against fixed rates in an IEEE 802.11g To fully understand the performance of Minstrel we
testbed. The experiment results show that whilst Minstrel
conducted experiments of three different scenarios: static
performs reasonably well in static wireless channel conditions, in
some cases the algorithm has difficulty selecting the optimal data
channel transmission, dynamic channels with fast variation,
rate in the presence of dynamic channel conditions. In addition, and dynamic channels with slow variation. This work builds
Minstrel performs well when the channel condition improves on our previous study which evaluates Minstrel [2]. In this
from bad quality to good quality. However, Minstrel has trouble paper we consider different scenarios to provide a more
selecting the optimal rate when the channel condition detailed evaluation. We have also further analyzed our results
deteriorates from good quality to bad quality. in order to provide deeper insights into Minstrel and rate
adaptation algorithm design. Our results show that whilst
I. INTRODUCTION
Minstrel performs well in static wireless channel conditions,
The IEEE 802.11 standards specify multiple data rates that the algorithm has difficulty selecting the optimal data rates in
can be used by a wireless sender, depending on the modulation more dynamic channel conditions. Furthermore, Minstrel
and coding schemes used at the PHY layer. High data rates performs well compared to fixed rates when the channel
transmit data faster than low data rates, however high data conditions improve from a poor quality starting point,
rates are more susceptible to bit errors. This means more however it has trouble selecting optimal rates when the
packets are lost on low quality wireless channels with high bit channel conditions deteriorate from a high quality starting
error rates (BERs). Low data rates take longer to transmit point.
packets over the link, however they are more resistant to bit The rest of the paper is organized as follows. We discuss
errors and are more likely to be successfully transmitted over a related work in Section II. Section III describes the Minstrel
poor quality wireless link. rate adaptation algorithm, and Section IV outlines our
Wireless channels are extremely variable and can be experiment methodology. Section V presents and discusses
our results, and finally Section VI concludes the paper.
affected by a number of different factors, such as interference
from other wireless devices, multi-path fading and signal
attenuation. As such, one of the key components of an 802.11 II. RELATED WORK
system is the rate adaptation mechanism, which adapts the The topic of rate adaptation has been heavily researched.
data rate used by a wireless sender to the wireless channel Previous research generally either targets the design of new
conditions. Rate adaptation is optimization problem: if we use rate adaptation algorithms [3]-[10], or compares the
a rate that is too high, many of the packets will be dropped due performance of different rate adaptation algorithms [11]-[13].
to bit errors, however if we use a rate that is too low, the The SampleRate algorithm [14] was previously considered one
wireless channel is not fully utilized. of the best publicly available algorithms, and is often used for
Rate adaptation is crucial to wireless network performance, comparison in these studies. Minstrel works similarly to
and therefore much research has been conducted on how to SampleRate, although it differs in the statistic used to measure
design effective rate adaptation algorithms. Minstrel [1] is a the success of each rate. SampleRate uses the expected
popular, recently-developed rate adaption algorithm, although transmission time, whereas Minstrel uses the expected
there is currently very little literature studying its performance. throughput.
Ancillotti et al. evaluated three different rate adaptation four rate-count pairs, named r0/c0, r1/c1, r2/c2, and r3/c3. A
algorithms in wireless mesh networks [15]. This evaluation packet is first transmitted at rate r0 for c0 attempts. If these
includes SampleRate, and there is some comparison between attempts are not successful, Minstrel transmits the frame at
rate adaptation algorithms and fixed rates. However, the focus rate r1 for c1 attempts. The process continues until either the
of the paper is on the correlation between the number of packet is successfully transmitted or ultimately discarded after
senders and the rate adaptation algorithms. The evaluation did (c0 + c1 + c2 + c3) unsuccessful transmission attempts. The
however show in a particular scenario that the performance of following section discusses how Minstrel chooses the r-values
some of the fixed rates was better than the evaluated rate in the retry chain.
adaptation algorithms.
Wong et al. proposed an algorithm called Robust Rate B. Rate Selection
Adaptation Algorithm (RRAA) [16], which was evaluated There are two categories of transmission: normal
against SampleRate and earlier algorithms such as Auto Rate transmission occurs 90% of the time and sampling
Fallback (ARF) and Adaptive Auto Rate Fallback (AARF). transmission occurs for the remaining 10% of packets. Table I
Acharya et al. proposed Wireless cOngestion Optimized gives a summary of the rate selection decisions.
Fallback (WOOF) [17], a rate adaptation algorithm that 1) Normal Transmission: During normal transmission the
attempts to identify congestion related packet losses. WOOF r-values in the retry chain are chosen as follows: r0 is set to
was evaluated against other solutions including SampleRate. the rate that achieves the highest expected throughput, r1 is
Much of this work was conducted before Minstrel was the rate with the second highest expected throughput, r2 is the
developed, so the authors were unable to compare with rate with the highest probability of success, and finally r3 is
Minstrel. As such, performance evaluations of Minstrel are set to the lowest available data rate.
scarce. 2) Sampling Transmission: Minstrel relies on having
The most closely related works are the evaluations done by accurate statistics about the success rate of transmissions at
Yin et al. [12][13]. These are the only previous evaluations of each data rate. Of course, it has to attempt to send packets at
Minstrel to our knowledge. In one paper the four rate
each data rate in order to have statistics on them. 10% of the
adaptation algorithms found in the MadWiFi driver (namely
data frames are sent as sampling transmissions, where a
ONOE, AMRR, SampleRate and Minstrel) are evaluated
random rate not currently in the retry chain is chosen to
against one another [12]. The second paper compares the
algorithms found in the mac80211 Linux driver framework sample. The the r-values are chosen as follows: r0 is set to
[13], namely Minstrel and PID. These evaluations use a wired whichever is higher out of the sample rate or the rate with the
testbed with co-axial cables to emulate wireless channels. This highest expected throughput, and r1 is set to whichever is
is a clever solution because the algorithms are evaluated in an lower. r2 and r3 remain the rate with the highest probability of
environment that is free of interference, which means the success and the lowest available rate respectively.
experiments are able to produce repeatable results. These C. Statistics Calculation
evaluations show that Minstrel performs far better than the
The final piece of the puzzle is how Minstrel calculates the
other algorithms. Therefore we chose not to include other
probability of success and expected throughput for each data
schemes such as SampleRate in our evaluation. Moreover, a
rate. Minstrel maintains the probability of successful
wired testbed cannot fully reproduce the complex channel
transmission at each data rate as an Exponentially Weighted
environments found in real-world 802.11 deployments,
Moving Average (EWMA). This probability is based on the
therefore we feel that real-world experimental studies are also
historical success rate of packet transmissions at each data
important for fully understanding rate adaptation behavior.
rate. This probability is used to estimate the throughput of
Whilst comparisons among different rate adaptation
each rate and the retry chain is re-evaluated based on this
algorithms are certainly very useful, most of these studies do
estimate every 100ms. In each 100ms sampling window, the
not directly compare against fixed rates. We feel that
success rate, RS, is calculated for each data rate based on the
comparing rate adaptation against fixed data rates is an
important step towards the design of effective rate adaptation TABLE I. MINSTREL RETRY CHAIN [1]
algorithms.
Sampling Transmission Normal
Rate
Transmission
III. THE MINSTREL ALGORITHM Random < Best Random > Best
A. Testbed Platform
Figure 1 shows the network topology of the testbed. A
wireless Access Point (AP) is connected via Ethernet to a
sender PC. We use iperf to send UDP traffic from the sender
PC to a laptop receiver, which is wirelessly associated with the
AP. The AP and laptop use wireless cards containing the
Atheros AR5414 chipset. The AP is based on the MikroTik
Routerboard R52 platform and runs the Linux-based OpenWrt
backfire 10.03 [18] operating system with a 2.6.32 kernel. The
server PC and client laptop run Ubuntu 10.04 with a 2.6.23
kernel. The AP used 802.11g mode.
This real-world evaluation was conducted in an office
building on a university campus. We are aware of other
wireless network operating in the area. While interference
from these networks can affect our experiment system, it also
reflects the complex nature of a real-world wireless
environment and the fact that wireless networks often do
operate in the vicinity of one another. It is important to know
how wireless systems behave in the presence of interference,
Figure 2. Throughput with a static channel Figure 4. Throughput with rapid channel variation
Figure 3. Minstrel rate selection breakdown in a static channel Figure 5. Minstrel rate selection breakdown with rapid channel variation
D c
e o
t n
e d
r i
i t
o i
r o
a n
t s
i
n
g
c
h
a
However it does give Minstrel the ability to quickly make use
of higher rates when the channel conditions improve.
VII. ACKNOWLEDGEMENT
We are grateful to InternetNZ for its support in this project.
REFERENCES
[1] Minstrel Rate Adaptation Algorithm Documentation, http://madwifi-
project.org/browser/madwifi/trunk/ath_rate/minstrel/minstrel.txt
[2] D. Xia, J. Hart and Q. Fu, “On the performance of rate control algorithm
rd
minstrel”, Proceedings of the 23 IEEE International Symposium on
Personal, Indoor and Mobile Radio Communications (PIMRC), 9-12
September 2012, Sydney, Australia.
[3] A. Kamerman and L. Monteban, “WaveLAN II: A High-
performance Wireless LAN for the Unlicensed Band”, Bell Labs
Figure 7. Throughput with gradually improving channel conditions Technical Journal, vol. 2, no. 1, Fall 1997, pp. 118-133.
[4] M. Lacage, M.H. Manshaei and T. Turletti, “IEEE 802.11 rate
than the optimal rate. However, as the update period increases, adaptation: a practical
th
A
Minstrel’s selection of approach”, Proceedings C
rates becomes more of the 7 M
accurate. This
explains why Minstrel’s International Symposium on
Modeling, Analysis and
performance improves Simulation of
with the longer update Wireless and Mobile
Systems (MSWiM), 4-6
period. October 2004, Venice, Italy,
Figure 7 shows the pp. 126-134.
throughput of fixed rates and [5] ONOE Readme,
http://madwifi-
Minstrel when the project.org/browser/madwifi/trunk/
transmission power ath_rate/onoe
increases from 1 dBm to [6] B. Sadeghi, V. Kanodia, A.
Sabharwal and E. Knighlty,
17 dBm. Minstrel has “Opportunistic media access
superior performance over for multirate ad hoc
the fixed rates in all cases. networks”, Proceedings of
th
the 8 Annual International
This is the positive outcome Conference on Mobile
of the algorithm which Computing and Networking
(MobiCom), 23-28 September
aggressively samples higher 2002, Atlanta, Georgia, pp.
rates over lower rates. This 24-35.
means that as soon as the [7] J. Kim, S. Kim, S. Choi
and D. Qiao, “CARA:
channel conditions collision-aware rate
improve, Minstrel is adaptation for IEEE 802.11
WLANs”. Proceedings of the
quickly able to take 25
th
IEEE International
advantage and use higher Conference on Computer
rates. Table II(b) again Communications
(INFOCOM),
shows the rate most often 23-29 April 2006, Barcelona,
used by Minstrel and the rate Spain.
with the highest ideal [8] D. Qiao and S. Choi, “Fast-
responsive link adaptation for IEEE
throughput in each 802.11
situation. We can see that in WLANs”, Proceedings of
this scenario when the IEEE International
channel conditions are Conference on
Communications (ICC), 16-20
improving, Minstrel May 2005, Seoul, Korea,
becomes more accurate in vol. 5, pp.
choosing the 3583-3588.
[9] H. Rahul, F. Edalat, D.
rate with the highest ideal Katabi and C. Sodini, “Frequency-
throughput. Moreover, as the aware rate
update th
period increases, Minstrel adaptation and MAC An
has more time to adapt protocols”, Proceedings nu
and is able of the 15 al
L
to choose the correct rate U
more accurately. S
I
O
V N
I
In this paper, we
.
evaluate the
performance of Minstrel
C against fixed rates in a
O
N real-world IEEE 802.11g
C wireless testbed. Our
However it does give Minstrel the ability to quickly make use
of higher rates when the channel conditions improve.
VII. ACKNOWLEDGEMENT
We are grateful to InternetNZ for its support in this project.