A Comparative Study of Video Transfer over Bluetooth and 802.11 Wireless MAC



Similar documents
CSMA/CA. Information Networks p. 1

EPL 657 Wireless Networks

Wireless LAN advantages. Wireless LAN. Wireless LAN disadvantages. Wireless LAN disadvantages WLAN:

Wireless Personal Area Networks (WPANs)

Performance Analysis of the IEEE Wireless LAN Standard 1

Adaptive DCF of MAC for VoIP services using IEEE networks

ECE 358: Computer Networks. Homework #3. Chapter 5 and 6 Review Questions 1

WPAN. Contents. S Wireless Personal, Local, Metropolitan, and Wide Area Networks 1

A Short Look on Power Saving Mechanisms in the Wireless LAN Standard Draft IEEE

How To Determine The Capacity Of An B Network

Performance evaluation of QoS in wireless networks using IEEE e

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Algorithms for Interference Sensing in Optical CDMA Networks

... neither PCF nor CA used in practice

ECE/CS 372 introduction to computer networks. Lecture 13

A Comparison Study of Qos Using Different Routing Algorithms In Mobile Ad Hoc Networks

WiFi. Is for Wireless Fidelity Or IEEE Standard By Greg Goldman. WiFi 1

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

Protocolo IEEE Sergio Scaglia SASE Agosto 2012

Medium Access Control (MAC) Protocols for Ad hoc Wireless Networks - III

CS6956: Wireless and Mobile Networks Lecture Notes: 2/11/2015. IEEE Wireless Local Area Networks (WLANs)

Networks. Master of Science (Computer Science and Engineering), December 2004, 45 pp.,

Routing Protocol for Mobile Ad-hoc Wireless Networks

Behavior Analysis of TCP Traffic in Mobile Ad Hoc Network using Reactive Routing Protocols

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

Video Transmission over Wireless LAN. Hang Liu

Improving Throughput Performance of the IEEE MAC Layer Using Congestion Control Methods

Improving the Performance of TCP Using Window Adjustment Procedure and Bandwidth Estimation

Collision of wireless signals. The MAC layer in wireless networks. Wireless MAC protocols classification. Evolutionary perspective of distributed MAC

IEEE Simulation and BER Analysis under the Interference

Professur Technische Informatik Prof. Dr. Wolfram Hardt. Network Standards. and Technologies for Wireless Sensor Networks. Karsten Knuth

Markku Renfors. Partly based on student presentation by: Lukasz Kondrad Tomasz Augustynowicz Jaroslaw Lacki Jakub Jakubiak

AN ANALYSIS OF DELAY OF SMALL IP PACKETS IN CELLULAR DATA NETWORKS

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

Performance Evaluation of Wired and Wireless Local Area Networks

PART III. OPS-based wide area networks

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Securing MANET Using Diffie Hellman Digital Signature Scheme

Performance of Symmetric Neighbor Discovery in Bluetooth Ad Hoc Networks

Dynamic Load Balance Algorithm (DLBA) for IEEE Wireless LAN

A Non-beaconing ZigBee Network Implementation and Performance Study

An Experimental Study of Throughput for UDP and VoIP Traffic in IEEE b Networks

MAC Algorithms in Wireless Networks

Wireless LAN Protocol CS 571 Fall Kenneth L. Calvert All rights reserved

Wireless Home Networks based on a Hierarchical Bluetooth Scatternet Architecture

Express Forwarding : A Distributed QoS MAC Protocol for Wireless Mesh

ENSC 427: Communication Networks. Analysis of Voice over IP performance on Wi-Fi networks

RESOURCE ALLOCATION FOR INTERACTIVE TRAFFIC CLASS OVER GPRS

Lecture 17: Wireless Networking"

10. Wireless Networks

CS263: Wireless Communications and Sensor Networks

Wi-Fi and Bluetooth - Interference Issues

Establishing How Many VoIP Calls a Wireless LAN Can Support Without Performance Degradation

Wireless Local Area Networking For Device Monitoring

Spring Final Project Report

Wireless LAN Concepts

Thwarting Selective Insider Jamming Attacks in Wireless Network by Delaying Real Time Packet Classification

VoIP in Mika Nupponen. S Postgraduate Course in Radio Communications 06/04/2004 1

Metrics for Detection of DDoS Attacks

Course Duration: Course Content Course Description Course Objectives Course Requirements

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 5, September

Fibonacci Backoff Algorithm for Mobile Ad Hoc Networks

Routing in packet-switching networks

TCP in Wireless Networks

Frequency Hopping Spread Spectrum (FHSS) vs. Direct Sequence Spread Spectrum (DSSS) in Broadband Wireless Access (BWA) and Wireless LAN (WLAN)

IRMA: Integrated Routing and MAC Scheduling in Multihop Wireless Mesh Networks

Enhanced TXOP scheme for efficiency improvement of WLAN IEEE e

FORTH-ICS / TR-375 March Experimental Evaluation of QoS Features in WiFi Multimedia (WMM)

Optimization of VoIP over e EDCA based on synchronized time

Performance Evaluation of Priority based Contention- MAC in Mobile Ad-Hoc Networks

RTT 60.5 msec receiver window size: 32 KB

Wireless Networks. Reading: Sec5on 2.8. COS 461: Computer Networks Spring Mike Freedman

How To Make A Multi-User Communication Efficient

Wiereless LAN

An Evaluation of Security Services schemes For IEEE Wireless LAN s Using Qualnet

Modeling and Simulation of Quality of Service in VoIP Wireless LAN

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

A Software Architecture for Simulating IEEE e HCCA

Yalda Hakki Rosy Johal Renuka Rani

Bluetooth voice and data performance in DS WLAN environment

Chapter 7 Low-Speed Wireless Local Area Networks

SBrT 299. J = J 0 + ( D(i 1,i) J 0)

Real-Time (Paradigms) (51)

IT Data Communication and Networks (Optional)

A Novel Approach for Load Balancing In Heterogeneous Cellular Network

Analysis and Enhancement of QoS in Cognitive Radio Network for Efficient VoIP Performance

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

Location Information Services in Mobile Ad Hoc Networks

Performance Issues of TCP and MPEG-4 4 over UMTS

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

How To Analyze The Security On An Ipa Wireless Sensor Network

Voice Transmission over Wireless Sensor Networks

Analysis of QoS parameters of VOIP calls over Wireless Local Area Networks

Introduction VOIP in an Network VOIP 3

Study of Different Types of Attacks on Multicast in Mobile Ad Hoc Networks

11/22/

Transcription:

A Comparative Study of Video Transfer over Bluetooth and 802.11 Wireless MAC Aravind Iyer and U. B. Desai SPANN Laboratory Department of Electrical Engineering IIT Bombay, INDIA - 400076 Abstract In this paper, we consider the problem of supporting video transmission over Bluetooth Public Access (BluePAC) networks. BluePAC networks are an example of what are broadly called wireless personal area networks (WPAN). We compare BluePAC networks with WPANs based on the IEEE 802.11 technology. We compare the two based on the following performance measures: link delay distribution and packet loss rate. We also see how the performance of a video connection in a BluePAC network can be enhanced by reserving bandwidth by means of a deficit round robin (DRR) polling algorithm in Bluetooth. To perform the above study, we have used network models provided by the Network Simulator (NS-2), extended to model Bluetooth by Bluehoc from IBM. The results show that Bluetooth performs significantly better than IEEE 802.11 MAC in terms of packet loss rates, while 802.11 is better in terms of the packet delay distribution. Keywords- Bluetooth, IEEE 802.11, WPAN, MAC, scheduling, polling I. INTRODUCTION Recent years have seen a lot of research being done in the area of wireless connectivity. Consequently, a few wireless access technologies have come into existence. Bluetooth [1] is one such technology which aims to provide a uniform solution for access to information and personal communication by establishing a connection between devices in the vicinity of each other. Owing to the popularity of handheld wireless devices and video or multimedia services on public networks like the internet, attempts are being made to provide the same range of services on wireless devices by connecting them to a public access network. Fixed local area networks in public areas provide a set of access points, to which the wireless devices can connect and avail of the services provided by the underlying fixed network. Currently, Bluetooth and IEEE 802.11 are two competing technologies for connecting wireless devices to fixed networks. Wireless personal area networks (WPAN) is a term that is used to describe a communication infrastructure, involving connection of mobile nodes to a fixed network (wired or otherwise), by means of access points. A WPAN provides efficient support for a number of reasonable ad-hoc scenarios. There are broadly two operating environments for a Bluetoothbased WPAN viz., the Piconet environment, and the Scatternet environment. In a Piconet scenario which is the focus of this paper, all nodes are within the transmission range of one another, so the problem of co-channel interference is quite crucial. Hence the key issue is the selection of the appropriate MAC layer protocol. The efficiency of the channel access will determine the performance of services on the WPAN infrastructure. Other key requirements are (1) support for mobile/cellular/bluepac IP and (2) application layer uniformity, possibly by means of adaptation layers. For multimedia services to function properly in a PAN, the issue of scheduling becomes very important. The feasibility of video services is dependent on the efficiency of the scheduling and bandwidth reservation algorithms provided by the MAC layer protocol. In this paper, we have studied the delay and loss-rate performance of a video traffic connection in various scenarios. In [3], a study similar to the one done herein has been performed. In addition, we have also studied how the performance of a multimedia connection is improved when the polling algorithm in a Piconet is changed from round robin scheduling to a deficit round robin algorithm. These results have been obtained as part of [2]. The rest of this paper is organized as follows. In Section II, we set out the scope of our work and analyze all the issues involved. We study the working of the scheduling algorithms in Section III, while in Section IV we compare the performance of Bluetooth and IEEE 802.11 MAC technologies. Section V concludes the work and discusses some ideas for future work. II. SCOPE OF THE WORK Video traffic is typically sensitive to delay and data loss. Hence we need to look at two performance measures viz., delay distribution of the link, and the packet loss rates across that link. Since in realistic scenarios there are bound to be data transfer applications running concurrently, these performance parameters have to be evaluated in the presence of other data transfer applications. We also look at the connection throughput in order to compare the scheduling algorithms at the MAC layer. In the subsections below, we provide an overview of the relevant aspects of Bluetooth and IEEE 802.11 protocols, and compare the manner in which they access the wireless channel. We also describe the simulation environment and the models used to simulate the video transfer over the corresponding 0-7803-7700-1/03/$17.00 (C) 2003 IEEE 2053

MAC layer protocols. We also provide the reference model that we consider to be the video transfer system. B. IEEE 802.11 MAC Overview The IEEE 802.11 protocol [5] is a very sophisticated protocol with quite a broad range of options. The MAC layer, in particular, has two major modes of operation. The PCF (point coordination function) mode enables a base station to poll various terminals in a cellular environment. This mode needs an access point (base station) to control the medium access and avoid contention. The DCF (distributed coordination function) mode supports peer-to-peer connections which can be used to form ad-hoc networks. The mandatory portion of the DCF mode employs a variant of the carrier sensing multiple access with collision avoidance (CSMA/CA) protocol. CSMA/CA is a random access scheme with carrier sense and collision avoidance through random backoff. Figure 2. Illustration of the CSMA/CA mechanism Figure 1. Examples of Bluetooth Networks A. Bluetooth Overview The Bluetooth radio transmission [4] uses a packetswitching protocol with an FHSS (Frequency Hopping Spread Spectrum) approach. The hop frequency is 1600 hops per second; the frequency spectrum is divided into 79 hops of 1 MHz bandwidth each. The frequency hopping scheme is combined with fast ARQ (Automatic Repeat Request), CRC (Cyclic Redundancy Check) and FEC (Forward Error Correction). A binary radio frequency modulation and simple link layer protocols reduce the complexity and the costs of the radio chips. Medium access in Bluetooth is controlled by several mechanisms. A unit of a Bluetooth network is the so-called Piconet. One piconet consists of a master and unto seven slaves. The master determines the frequency hopping sequence using its unique device identifier as well as the phase of the sequence using its internal hardware clock. In this fashion, two piconets are prevented from having the same hopping sequence and thus separated. Within a piconet, the master controls the access to the channel using a polling and reservation scheme. In order to enhance the range of wireless access, Bluetooth provides the so-called Scatternet environment. In a scatternet, a node acts as a bridge node between two piconets. The bridge node can be a slave in both piconets or a master in one and a slave in another (see Figure 1). The basic mechanism is the following. If the medium is sensed idle for at least the inter-frame duration, then a node seeking to transmit data can access the medium immediately. On the other hand, if the medium is busy, each node seeking to transmit waits till the busy period is over and for an additional inter-frame duration. Thereafter each node enters a contention phase. In the contention phase each node chooses a random backoff time in a contention window. The node which has chosen the least backoff time gets to transmit, while the rest wait for the next cycle, i.e., until the medium is idle again for at least the inter-frame duration. In order to ensure fairness (i.e. to provide longer waiting stations some advantage over newly entering stations), IEEE 802.11 has the notion of a backoff timer. Thus, if a node does not get access to the channel in the first attempt, then rather than choosing a new backoff time in the next cycle, it keeps counting down the backoff timer from the point it sensed that the channel became busy. Figure 2 shows an illustration of the mechanism. Figure 3. Reference Architecture for Video Transfer over Bluetooth C. Simulation Details The reference architecture for simulating the video transfer system is as shown above (Figure 3). The simulation environment used is the network simulator (NS-2) [6]. We use existing NS-2 models for simulating 802.11. For Bluetooth, we use the Bluehoc simulator [8] which is an extension to NS-2 provided by IBM developers. The simulation models support all the essential features of the protocols, and have provisions for simulating fading and interference. Bluehoc is still in the testing phase, and hence mobility is still not supported while 2054

support for the Scatternet environment is still not fully developed. The video bitstreams are generated using an H.263 Codec from the University of British Columbia [7]. The encoded bitstreams are then packetized using a frame-by-frame packetization routine and then used to generate NS-compatible trace files. The simulations have been carried out with the same topology for both the MAC layer protocols, namely, IEEE 802.11 and Bluetooth. with a more greedy setting of the QoS parameters than that in DRR. We can infer that for low to moderate loads the DRRP algorithm is extremely effective in reducing the average packet delay and boosting the link throughput. A video or multimedia connection would greatly benefit by the use of the DRRP algorithm. III. SCHEDULING OR POLLING ALGORITHMS IN BLUETOOTH In this section, we look at polling algorithms in Bluetooth. Polling algorithms in Bluetooth are centralized in nature, since the master controls the data transmission to the slaves and requests transmissions from slaves. Owing to the scarce bandwidth, the polling algorithm has to be efficient. In this paper, we consider two polling schemes, viz., simple round robin (SRR) and deficit round robin (DRR). In the following subsections, we will explain the working of the two algorithms and compare their efficiency for various types of application traffic. A. Working of the polling schemes In the SRR algorithm the master arbitrarily fixes a cyclic order in which to poll the slaves. Each slave is polled accordingly, and is given a chance to transmit. This scheme can be seen to have certain drawbacks. Notably, it does not give priority to any connection or slave. Hence, there could be a high variation in the average delay across connections, which is undesirable. Also, there should be provisions to reserve bandwidth for special connections such as video or voice, or even high priority data traffic. The DRR algorithm seeks to address these drawbacks. Each connection or slave maintains a deficit counter initialized to zero. This stores the amount of service or bandwidth missed by the connection. Also each connection has associated with it a fixed quantum which is based on its QoS attributes. By QoS attributes we mean the expected average packet rate, allowable delay, and other such performance metrics. So the algorithm serves packets from each slave, if the head of the line packet is of size equal to or smaller than the sum of the quantum and the deficit counter. Else the quantum is added to the deficit counter. If the packet gets served, then the deficit counter is set to the difference between the sum of the quantum and the deficit counter, and the packet length. B. Performance Comparison The performance of the two polling schemes is compared herein. Given in the Figures 4 and 5 are the plots of the average link delay (in ms) and the link throughput (in number of packets) as they vary against the number of nodes in a Piconet. As the number of nodes grow, the network load increases and this shows up in the throughput plots which are decreasing in nature. As the plots show, the SRR algorithm is the poorest in terms of both the metrics considered. The two other curves are those of the DRR algorithm. The one labeled DRR is the deficit round robin algorithm as described above with equal priority to each connection. The one labeled DRRP is the same algorithm Figure 4. Average delay in ms vs. number of slaves in a Piconet Figure 5. Link throughput (in number of packets) vs number of slave nodes in a Piconet IV. COMPARISON OF BLUETOOTH AND 802.11 In this section we compare the performance of video applications based on Bluetooth and IEEE 802.11 MAC technologies. The simulation environment used is NS-2. The reference architecture used and the various simulation details have been described in the previous section. A couple of scenarios are considered below: (i) a simple two node video transfer simulation, and (ii) a multiple node scenario in which video transfer takes place in the presence of other applications such as telnet, ftp, etc. In the subsections below, the packet loss rate and the link delay distribution for all these scenarios is compared. 2055

A. Scenario 1 In this scenario, there are only two nodes and a video clip about 300s long is transferred between them. Given below are the plots of the delay distribution for both Bluetooth and IEEE 802.11 MAC. For Bluetooth, the delay distribution is given for the two scheduling algorithms SRR and DRRP. The plots (Figures 6 and 7) clearly show that the delay distribution is greatly improved by employing the DRRP algorithm instead of SRR. The average delay is brought down from as much as 40 ms to nearly 15 ms. 802.11 performs better in terms of the delay distribution; it has a smaller mean delay (around 5 ms) and less jitter (See Figure 8). On the other hand it suffers from a greater loss rate. Since the channel access mechanism employed in Bluetooth is more robust, it suffers from virtually no packet loss while 802.11 has a loss rate of about 0.125%. (Refer Table I below). distribution plots due to limitations of space. But the behavior observed was similar to that in Scenario 1. The polling algorithm used is deficit round robin with the video connections having better QoS parameters than the competing traffic. Here again, 802.11 shows better delay distribution but a high packet loss rate. Video applications are sensitive to both delay and loss, and hence a trade-off has to be sought. Bluetooth provides a convenient compromise between the delay and the loss. Also, the mean packet delay in Bluetooth is about 20 ms while that in 802.11 is 8 ms which is not so much of a significant gain, whereas the packet loss rate in 802.11 is 0.528% while in Bluetooth it is only 0.0625%, which is significantly lower. (Refer Table I). Figure 8. Delay distribution of the two node link with 802.11 Figure 6. Delay distribution of the two node link with Bluetooth (SRR) C. Observations We see that with lower number of connections both Bluetooth and 802.11 perform well enough to sustain video transfer. But as the number of nodes increases the loss rates go up quite rapidly in 802.11, while in Bluetooth the average delay starts going up. This can be explained by the difference in the Bluetooth and 802.11 MAC layers. 802.11 retransmits a collided packet a finite number of times and then drops the packet if transmission is unsuccessful. Since collisions are very high for large number of connections in 802.11, a larger number of packets get dropped. In Bluetooth, on the other hand, the chances of a collision are very low because of the controlled access to the channel and the fast frequency hopping behavior. Thus, a larger number of packets reach the destination, but these fill up the link layer queues and make delays larger. TABLE I. PACKET LOSS RATES IN BLUETOOTH AND 802.11 Figure 7. Delay distribution of the two node link with Bluetooth (DRRP) B. Scenario 2 Here we consider a 4 node case, where the same video-clip as in Scenario 1 is transferred, along with competing ftp and exponentially-distributed traffic. We have not given the delay MAC Protocol Bluetooth IEEE 802.11 Loss Rate (Scenario 1) 0% 0.125% Loss Rate (Scenario 2) 0.0625% 0.528% Mean Delay (Scenario 1) 15 ms 5 ms Mean Delay (Scenario 2) 20 ms 8 ms 2056

V. CONCLUSIONS We have compared the performance of Bluetooth and IEEE 802.11 MAC protocols for supporting video transfer. We have seen how the packet loss rates increase rapidly with the number of nodes in 802.11-based systems, while in Bluetooth the degradation is more graceful. Also the mean packet delay in Bluetooth is not too high to rule out video applications. By efficiently employing polling schemes and prioritizing delayand loss-sensitive applications such as video in hand-off and routing algorithms in a larger network, good video services can be supported over Bluetooth. We plan to extend the simulation models to model more realistic scenarios incorporating mobility and hand-offs. [3] Rohit Kapoor, Manthos Kazantzidis, Mario Gerla, Per Johansson, Multimedia Support Over Bluetooth Piconets, Proceedings of the first workshop on Wireless mobile internet, July 21, 2001, Rome Italy, pp. 50-55 [4] The Bluetooth Specifications http://www.bluetooth.com/bluetooth_11_specifications_book.pdf [5] IEEE 802.11 Specifications http://standards.ieee.org/getieee802/802.11.html [6] The Network Simulator Website http://www.isi.edu/nsnam/ns/ [7] The University of British Columbia (CANADA) H.263 Webpage http://www.ee.ubc.ca/image/h263plus/ [8] The IBM Bluehoc Simulator Website http://oss.software.ibm.com/developerworks/opensource/bluehoc/index.h tml REFERENCES [1] J. Haartsen, M. Naghshineh, J. Inouye, O. Joeressen, W. Allen, Bluetooth:Vision, Goals, And Architecture, Mobile Computing and Communications Review, Vol. 2, No. 4, ACM, October 1998, pp. 38-45 [2] Aravind Iyer, Video Transfer Over Bluetooth Technical Report: M. Tech Dissertation, Department of Electrical Engineering, IIT-Bombay, June 2002. 2057