Professional Documents
Culture Documents
Abstract— It has been observed that different IEEE 802.11 Nevertheless, in our early works in this area [8], [9], [10]
commercial cards produced by different vendors experience we provided some preliminary results that seem to suggest
different performance, either when accessing alone the channel, that the most evident performance differences among com-
as well as when competing against each other. These differences mercial cards are due to the Medium Access Control (MAC)
persist also when thorough measurement methodologies (such as implementation, which often seem to be not fully conforming
RF shielding, laptop rotation, etc) are applied, and alignment of
the environmental factors (same laptop models, traffic generators,
to the 802.11 standard specification, despite the card Wi-Fi
etc) is carried out. This paper provides an extensive experimental certification. Goal of this paper is to back up and significantly
characterization of the backoff operation of six commercial NIC extend the partially qualitative results presented in our early
cards. It suggests a relevant methodological approach, namely works, with an extensive set of novel measurement results.
a repeatable, well defined, set of experiments, for such a char- Specifically, our aim is to thoroughly characterize the back-
acterization. Low level backoff distribution measurements are off operation exhibited by six different commercial cards from
taken through a custom equipment developed in our laboratory. well-known leading vendors. When applicable, results for a
Our work allows to detect both a non-standard backoff behavior given card are repeated for different operating system versions
of some commercial cards (in terms of minimum contention and related drivers, to thoroughly understand whether the card
window size and neglection of EIFS times), as well as potential
operation is affected by these components. With respect to
implementation limits (in either the card hardware/firmware
and/or the software driver) which appear to severely alter the our early works, this paper makes a significant leap in the
card performance in challenging conditions.1 fact that it tries to understand the technical reason of the
specific backoff operation envisioned in different cards. While
I. I NTRODUCTION some cards simply use MAC parameters different from the
Undoubtedly, a major factor behind the success of 802.11 standard ones, some selected cards show an anomalous backoff
[1] is certification. Born in 1999, the Wi-Fi Alliance [2] behavior which is most likely a consequence of an ineffective
introduced a rigorous testing methodology to assign compliant MAC design or driver implementation. Indeed, our proposed
wireless devices the brand ”Wi-Fi Certified”, thus ensuring experiments are designed to detect and highlight possible
interoperability among products of different vendors. However, timing problems in the card operation.
Wi-Fi certification does not necessarily imply full confor- Finally, a further goal of this paper is to suggest a set of
mance with the IEEE 802.11 standard. Published experimental repeatable experiments, i.e. a methodology, aimed at deter-
results [3], [4] show a noticeable variability in terms of mining the detailed backoff distribution in both aggressive
performance experienced by different Wi-Fi certified network conditions (the card is alone to access the channel) as well
cards and access points. as competitive conditions (the card timing requirements are
Indeed, several reasons may justify a significant perfor- relaxed by properly placed channel busy period bursts). In
mance variability in measurements taken. On one side, it addition, a further set of experiments is proposed to determine
is not easy to exactly guarantee the reproducibility of the the card operation in the presence of detected erroneous frames
measurement environment, mainly because of the high number or erroneous MAC header settings. As described in the paper,
of affecting factors (laptop models, traffic generators, types the key instrument of our experiments is a custom-made
of antennas, propagation, shielding conditions, and so on). programmable 802.11 card, called RUNIC (Reconfigurable
Attempts to distinguish between environmental factors and Unit for Network Interface Card), implemented on a FPGA
card inequalities are presented in [5]. A very recently activated board. Through an easily reconfigurable firmware/hardware
task group, 802.11T (Wireless Performance Prediction - WPP), architecture, we are able to use our card as a programmable
has been chartered to provide a ”recommended practice” on measurement instrument, as a physical layer sniffer (e.g. by
how tests should be performed, in terms of measurement reading the carrier sense signal) or as an-event trigger network
methodology and performance metrics to monitor. On the tester. Details about our card design and implementation can
other side, some mechanisms left unspecified by the standard, be found in [11].
most notably the transmission rate selection as a function The rest2 of the paper is organized as follows. Section II
of the channel conditions (Auto Rate Fallback - ARF), may summarizes the related work in this area. Section III provides
significantly differ across vendors and may strongly affect the
card as well as the overall network performance [6], [7]. 2 In what follows we assume the reader to be fully familiar with the
IEEE 802.11 Distributed Coordination Function (DCF), and we limit our
1 This work has been partially supported by the Italian Research Program review of the DCF operation only to selected parts strictly functional to the
PRIN MIMOSA. comprehension of the ongoing technical analysis.
an experimental evidence of noticeable high-level performance rely on homogeneous devices from the same vendor to avoid
differences, in terms of perceived throughput, experienced that results and related conclusions are affected by the intrinsic
when different network cards are employed. Section IV de- unfairness emerging when different NICs are employed.
scribes the low-level experiments carried out to characterize
the backoff operation of the considered commercial cards,
shows the relevant results, and attempts to provide a justi- III. H ETEROGENEOUS CARD PERFORMANCE :
fication for some of our findings. Section V finally concludes EXPERIMENTAL EVIDENCE
the paper.
We started our experimental study about the heterogeneous
II. R ELATED W ORK behavior of commercial wireless cards by analyzing some
To the best of our knowledge, ours is the first work that performance figures which are evident to the common users
provides a detailed low-level view of the backoff performance and which can be quantified with common equipments and
of commercial cards. Perhaps one of the reasons why previ- public domain software tools. Specifically, we measured from
ous works typically limit to measure high-level performance an high-level application perspective the maximum achievable
figures is the lack of off-the-shelf hardware devices capable throughput: i) when the card contends alone for the channel
of providing accurate low-level backoff distribution measure- access, ii) when two cards from different vendors contend in
ments, and capable of appropriately triggering transmission of the same network.
frames so that the cards under test can be challenged in very The experiments carried out in this paper involve the
specific situations. following six PCMCIA commercial cards:
However, ours is not the first work that raises the important • ASUS WL-107g (Ralink RT2500 chipset)
issue of the existence of significant performance differences • Intel Centrino (2200BG chipset)
among Wi-Fi devices produced by different vendors. Perfor- • Digicom Palladio (Realtek RTL8180 chipset)
mance comparison between the throughput results obtained • Dlink DWL-650 (Intersil PRISM II chipset)
with two different vendor NICs, and with results provided by • Dlink DWL-G650 Air-Plus (Atheros chipset)
analysis and simulation tools, is provided in [3]. Perhaps, the • Linksys WPC54G (Broadcom chipset)
work closest to ours is [4], which aims at characterizing the
behavior and performance of five commercial APs. It shows
significant differences (up to 40%) in terms of maximum A. Measurement scenario and methodology
saturation throughput, as well as specific technical differences
(and in some cases even anomalies) most likely imputable to We considered an infrastructure network scenario, in which
implementation issues. While the focus of this work mostly a laptop equipped with a wireless 802.11b interface communi-
concern the assessment of the AP bridging capabilities, it also cates to a 802.11b Access Point (AP). We used the same laptop
highlights some card-related issues, such as the difficulty in in all the experiments for a fair comparison of the results. The
sustaining a stable bit rate over long time intervals , and the laptop has been located very close to the AP, thus allowing the
detection of fluctuation between 11 and 5.5 Mbps with no use of the maximum transmission rate (11 Mbps). The basic
apparent motivation. Another early work which reports an ex- service rate of the network is set to 2 Mbps. The final sink
perimental study of the throughput performance of commercial of the wireless data transfers is a fixed host, which is directly
802.11 devices is [12]. Four different network cards are here connected through a 100 Mbps wired Ethernet link to the AP.
tested in infrastructure mode, and show significant differences We equipped the test laptop with two Operating Systems
in terms of behavior and performance. (OSs) (Windows XP and Linux). For each configuration, we
Results for 802.11b cards in ad hoc mode are reported carried a data transfer session lasting 660 seconds. Throughput
in [13], [14], with the goal of analyzing unfairness issues results were gathered over 11 subsequent segments of 60
and related causes that emerge in real scenarios, where link seconds each. The first measurement collected was discarded,
asymmetry and other propagation issues exist, as well as while the other ten were averaged and the interval correspond-
assessing the impact of WEP on the network performance. ing to a 95% confidence level was computed.
However, an important side conclusion that can be drawn by We verified, either preliminarily and during each session,
these works is that one reason of emerging unfairness stays the absence of any interference source and channel activity.
in the different implementation choices made by the card Before starting each session, we analyzed the 2.4 GHz signals
manufacturers (for example, the wireless cards used in the received in our lab in different positions, moving a laptop,
experiments seem not to properly adopt the EIFS time in case endowed with an IEEE 802.11 card and a Bluetooth interface,
of frame errors). and running a wireless sniffer. During each session, a second
Finally, several papers provide an extensive experimental laptop, equipped with a WLAN card in monitor mode opera-
assessment of 802.11 networks, with the goal of experi- tion, was used to sniff the transmitted frames and detect the
mentally tackling specific research topics, such as specifi- presence of CRC32 errors.
cation of a proper repeatable and reproducible measurement We also tried to average some environment factors, such as
methodology [15], [16], [17], experimental assessment of the the statistical variations of the electromagnetic field, by repeat-
issues emerging when higher layer transport protocols such ing our experiments for different channels, laptop positions
as TCP are carried over 802.11/802.11e [18], experimental and antenna orientations. Moreover, to reduce the variance of
understanding of the 802.11 performance when applied in the received signal power, we used an AP exploiting antenna
special environments such as home networks [19] or industrial diversity.
environments [20], and so on. Most of these (and other) works All the results presented in the paper have been re-obtained
1182
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2007 proceedings.
1183
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2007 proceedings.
Fig. 1. Throughput repartitions in contention: Atheros vs. other chipsets.
C. Performance in competitive conditions
From our previous results, we observed that different cards Fig. 2. Inter-frame time measurement methodology for the different proposed
show very different throughput performance. Thus, it is in- experiments.
teresting to assess the throughput repartition experienced in
the network, whenever cards from different vendors compete IV. BACKOFF P ROCESS C HARACTERIZATION
together. Specifically, we run several experiments, in which To understand the reason of the throughput spread observed
one laptop equipped with a reference card competes with in our measurements, we tried to give a closer look to the
another laptop, of the same model, equipped with a different channel access operations performed by tested the cards, by
card. All the cards under test have been compared with the using our RUNIC card as a special measurement/test instru-
reference card in a separate contention experiment. As in ment. In particular, we tried to experimentally characterize the
the case of the single card experiment, both the contending first-stage backoff distribution of each card. We recall that,
cards are saturated, i.e. configured with always an HOL frame according to the IEEE 802.11 DCF specification, a random
ready for transmission. Figure 1 shows the results obtained backoff value is always generated after a frame transmission
when the reference card is the Atheros one and the OS is (this is sometimes also referred to as ”post-backoff”). The
Windows. Each couple of bars refers to a different experiment, consequence is that subsequent frames transmitted by the
in which the Atheros card competes with the card indicated in same card, and correctly received at the destination (this is
the x-axis. From the figure, it is evident that the well known confirmed by reception of an ACK) are separated by a DIFS
throughput fairness of the DCF protocol in not guaranteed (50 µs according to the 802.11b specification) plus a random
in actual scenarios. The throughput repartition is almost fair number of backoff slots, each lasting 20 µs, extracted from
(i.e. each contending card gets a similar throughput) in the a uniform distribution in the range [0, CWmin ]. According to
case of contention with the Centrino, Broadcom and Realtek the standard, CWmin = 31.
cards. Conversely, in the contention with the Prism II and
Ralink cards, the Atheros card has been penalized. The most A. Single Station Case
critical case is the contention against the Ralink card, where 1) Performance figures and methodology: An objective
the Ralink throughput is about four times the Atheros one. measurement of the first-stage backoff distribution, and as a
We could expect that these results can be related to the single corollary, of the minimum contention window employed by
card case, i.e. the cards which are better performing when they the card, can be performed by observing through an external
contend alone on the channel maintain their superiority when device the channel status when a single test-card transmits
they contend with another card. For example, the Ralink card, continuously. Specifically, we performed our measurements
which gets the highest throughput when transmitting alone, according to the methodology depicted in figure 2-A, i.e.
is the best performing card in the case of contention with the by measuring the time T elapsing between the end of two
Atheros card. However, similar considerations are not valid for consecutive transmission handshakes, indicated by the ACK
the Realtek card, which has a throughput comparable with the receptions. The inter-frame space IF S is now computed by
Ralink one when it is alone in the network, but behaves exactly subtracting, from T , the known frame transmission time. Note
like the Atheros card in contention. Conversely, the Broadcom that a direct measurement TIF S of the inter-frame space
card gets the minimum throughput when transmitting alone, is not viable, since the beginning of the data transmission
and behaves almost like the Atheros card in contention. cannot be precisely revealed because of the synchronization
Similar unfair throughput repartitions have been observed jitters. Also, some care is needed to verify that the measured
by choosing a different reference card among the cards under TIF S follows a successful transmission (i.e. a proper ACK
test. As a final comment, we stress that these results have been was received), that the card employs the 192 µs long PLCP
obtained in very aggressive saturation conditions, unlikely to preamble, and that the experienced transmission time of the
be found in practical scenarios where user-generated traffic is frame duly corresponds to the nominal value5 . Assuming error-
intermittent. Nevertheless, these laboratory tests confirm that 5 In some measurements taken for the Centrino card this happened to be
these cards do not behave as they should. Goal of the next not always true, as occasional rate adaptation from from 11 Mbps to 5.5
sections is to provide additional low-level insights about these Mbps unexpectedly occurred regardless of transmission errors (as indeed also
phenomena. noticed in [4]).
1184
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2007 proceedings.
0.08
0.015 0.006
0.06
0.01 0.004
0.04
0.005 0.002
0.02
0 0 0
50 100 200 300 400 500 600 700 800 50 100 200 300 400 500 600 700 800 50100 200 300 400 500 600 700 800 900 1000 1100 1200
Time [us] Time [us] Time [us]
0.09 0.035 0.014
Realtek Realtek Realtek
0.08
0.03 0.012
0.07
0.025 0.01
IFS Occurrences
0.06
0.05 0.02 0.008
0.04
0.1 0.05
0.06 0.03
0.02
0.04 0.02
0.01
0.02 0.01
0 0 0
50 100 200 300 400 500 600 700 800 50 100 200 300 400 500 600 700 800 50100 200 300 400 500 600 700 800 900 1000 1100 1200
Time [us] Time [us] Time [us]
0.35 0.04 0.045
Atheros Atheros Atheros
0.035 0.04
0.3
0.03 0.035
0.25
IFS Occurrences
0.03
0.025
0.2 0.025
0.02
0.15 0.02
0.015
0.015
0.1
0.01 0.01
0.05 0.005 0.005
0 0 0
50 100 200 300 400 500 600 700 800 50 100 200 300 400 500 600 700 800 50100 200 300 400 500 600 700 800 900 1000 1100 1200
Time [us] Time [us] Time [us]
0.9 0.07 0.12
Broadcom Broadcom Broadcom
0.8
0.06 0.1
0.7
0.05
IFS Occurrences
0.6 0.08
0.5 0.04
0.06
0.4 0.03
0.3 0.04
0.02
0.2
0.01 0.02
0.1
0 0 0
50 100 200 300 400 500 600 700 800 50 100 200 300 400 500 600 700 800 50100 200 300 400 500 600 700 800 900 1000 1100 1200
Time [us] Time [us] Time [us]
0.04 0.04 0.04
Runic Runic Runic
0.035 0.035 0.035
0 0 0
50 100 200 300 400 500 600 700 800 50 100 200 300 400 500 600 700 800 50100 200 300 400 500 600 700 800 900 1000 1100 1200
Time [us] Time [us] Time [us]
Fig. 3. IFS statistics of the tested cards - column (a): single card statistics - column (b): statistics after busy period - column (c): statistics after detected
erroneous frame
1185
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2007 proceedings.
1186
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2007 proceedings.
1187
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2007 proceedings.
1188
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2007 proceedings.
1189