Académique Documents
Professionnel Documents
Culture Documents
OF
BY
ii
Abstract
This project evaluates when route reservation-based (RB) communication can yield better
delay performance than non-reservation-based (NRB) communication in ad hoc wireless
networks. In addition to posing this fundamental question, the requirements (in terms of route
discovery, medium access control (MAC) protocol, and pipelining) for making RB switching
superior to NRB switching is also identified.
A novel analytical topology is developed and the network performance under both RB and
NRB schemes is evaluated. It is shown that if the above mentioned requirements are met,
then RB schemes can indeed yield better delay performance than NRB schemes.
Performance evaluation of RB and NRB schemes, are done using ns-2 simulator while
transmission of packets and retransmission of error packets. Results of network performance
are taken, when three routes are simultaneously active which indicates that delay and
throughput of RB switching scheme are lower than NRB switching scheme.
iii
List of Figures
iv
List of Abbreviations
v
List of Tables
Table Title Page No.
vi
Table of Contents
Certificate i
Acknowledgement ii
Abstract iii
List of Figures iv
List of Abbreviations v
List of Tables vi
1. Introduction 1
1.1 Background 1
1.2 Relevance 1
1.3 Organization of Report 2
2. Literature Survey and Feasibility Study 3
2.1 Introduction 3
2.1.1 Methodologies 4
2.2 Existing Methodologies 4
2.2.1 Performance Evaluation of Routing Protocols for Ad Hoc Wireless 4
Networks
2.2.2 Ad-Hoc on-Demand Distance Vector Routing 4
2.2.3 Dynamic Source Routing in Ad Hoc Wireless Networks 5
3. RB and NRB Scheme Specification 6
3.1 Problem Statement 6
3.2 Perspective of RB and NRB Scheme 6
3.3 Software Requirement Specification 7
3.3.1 Purpose 7
3.3.2 Scope 8
3.3.3 Overall Description 8
3.3.4 System Interfaces 9
3.3.5 Software Interfaces 9
3.3.6 Communication Interfaces 9
3.3.7 Analysis of RB and NRB 11
3.3.8 Static Numerical Requirements 12
3.3.9 Dynamic Numerical Requirements 12
vii
4. Plan of RB and NRB Schemes 13
4.1 Overview 13
4.2 Goals and Scope 13
4.3 Schedule and Milestones 14
5. Analysis of RB and NRB schemes 15
5.1 Use Case Diagrams 15
5.2 Use Case Template 16
5.2.1 Maintain Wireless Network 16
5.2.2 Provide Switching Scheme 17
5.2.3 Analyze Switching Scheme 18
5.3 Sequence Diagrams 19
5.3.1 Sequence Diagram for Managing Wireless Links 19
5.3.2 Sequence Diagram to Implement RB Switching Scheme 21
5.3.3 Sequence Diagram to Implement NRB Switching Scheme 23
5.3.4 Sequence Diagram to Analyze Switching Schemes 25
5.4 State Chart Diagram 27
5.4.1 Manage Wireless Link 27
5.4.2 Provide NRB Switching Scheme 29
5.4.3 Provide RB Switching Scheme 31
5.4.4 Analyze NRB & RB Switching Scheme 33
5.5 Activity Diagrams 35
5.5.1 Manage Wireless Link 35
5.5.2 Activity Diagram for NRB Switching Scheme 36
5.5.3 Activity Diagram for RB Switching Scheme 37
5.5.4 Activity Diagram for Analysis of RB and NRB Schemes 38
6. Implementation and Design of RB and NRB Schemes 39
6.1 Class Diagram 39
6.2 Component Diagram 43
6.3 Deployment Diagram 46
6.4 Snapshots and Formulas 47
6.4.1 Reservation Based Switching 47
6.4.2 Non-Reservation Based Switching 48
6.4.3 Parameters of RB and NRB Scheme for Delay Comparison 49
viii
7. Testing of RB and NRB 52
7.1 Purpose 52
7.1.1 Unit Testing 52
7.1.2 Integration Test 52
7.1.3 System Test 52
7.2 Outline 53
7.2.1 Introduction 53
7.2.2 Test Items 53
7.2.3 Features To Be Tested 53
7.2.4 Features Not To Be Tested 53
7.2.5 Approach 53
7.2.6 Test Deliverables 54
7.2.7 Environmental Needs 54
7.3 Test Case Specification 54
7.4 Test Procedure Specification 56
7.5 Summary of Results 58
8. Conclusions and Future Work 59
8.1 conclusions 59
8.2 Future Work 59
9. References 60
ix
1. INTRODUCTION
1.1 BACKGROUND
A number of routing protocols for ad hoc wireless networks have been proposed over the past few
years [3]. The two principal switching techniques used in wired networks are circuit switching and packet
switching. One of the main differences between them is the way resources are shared. Circuit switching
provides exclusive access to the resources by means of reservation. In packet switching, on the other
hand, resources are shared on demand, without prior reservation. While it is obvious that packet switching
is suitable for a wired data network such as the Internet, it is not clear whether this is true in the case of ad
hoc wireless networks.
Most of these protocols can be categorized as variants of the NRB (Non Reservation Based) routing
protocol, where packets are relayed on a route with best effort [4]. A number of studies related to the
evaluation of NRB switching schemes have also been reported. Performance of a few routing protocols
for ad hoc wireless networks, in terms of throughput, end-to-end delay, and amount of overhead, are
investigated using computer simulations.
NRB switching in ad hoc wireless networks have been considered and delay bounds for a multihop
relay case with packet flooding have been derived. Many reservation-based routing protocols are also
there. These routing protocols are designed to guarantee quality of service (QOS) such as bandwidth and
delay [16]. A ticket-based probing algorithm is used for searching routes which satisfy bandwidth and
delay constraints [15].
A time division multiple accesses (TDMA)-based QOS routing algorithm is considered [16]. Variants
of the reservation protocol (RSVP), a well-known resource reservation protocol used in the internet, for
mobile wireless networks are proposed [18]. However, none of these resource reservation protocols has
considered the reservation of intermediate nodes on multihop routes.
1.2 RELEVANCE
1. The system shows that if right requirements are met, then RB switching schemes can provide better
delay performance than NRB switching schemes.
2. The system identifies the applications for which RB schemes are more appropriate than NRB
schemes and vice versa.
3. The system identifies the conditions which must be satisfied to make RB scheme superior to NRB
scheme. Hence, if these conditions are not satisfied, NRB switching will probably be preferable.
This project report is organized as follows. The first chapter outlines the Introduction of the proposed
system with technical background and relevance to the other systems.
Chapter 2 outlines the major technologies used in literature survey. This chapter presents some of the
systems similar to proposed system.
Chapter 3 presents the RB and NRB scheme specification with problem statement, perspective, and
software requirement specification.
Chapter 4 details the plan of RB and NRB scheme which includes goals, scope, schedule and
milestone of the work.
Chapter 5 details the analysis of RB and NRB scheme which includes, Use – Case Diagram, Sequence
Diagram which reflects the overall sequence of operations carried out by the system, Activity Diagram,
and State Chart Diagram.
Chapter 6 discusses implementation and design of RB and NRB scheme which includes, Class
Diagram, Component Diagram and Deployment Diagram.
In Chapter 7, testing of the proposed work is given with test case specification and test procedure
specification.
Chapter 8 includes conclusion and future work.
2.1 INTRODUCTION
This document provides the purpose of the feasibility study, the background of the proposed project,
the methodology used for performing the study, and any reference materials used in conducting the
feasibility study for the project titled “Performance Evaluation of RB Switching and NRB Switching in
Ad-hoc Wireless Network”.
To check the feasibility of system two methodologies are used: Surveying and Brain Storming.
Literature survey by studying IEEE papers and other related reverence material is conducted. The
feasibility study is conducted to determine and document project‟s viability. The results of this study will
be used to make a decision whether or not to proceed with the project.
The purpose of this document is to analyze and compare the performance of RB and NRB switching
schemes in ad-hoc wireless networks. While the conventional wisdom in current wireless ad hoc
networking research favors NRB switching, this document will help to check the feasibility, whether,
when and under which conditions RB switching will be preferable.
Table 2.1 Proposed Work Analyses
Parameter Definition
Route Discovery Route Discovery is the mechanism by which a
source node S wishing to send a packet to a
destination node D obtains a Source Route to
D.
Non Reservation Based (NRB) Switching In an NRB scheme, an intermediate node can
Scheme simultaneously serve as relay for more than one
source. Hence, the resources (in terms of
relaying nodes) are shared in an on-demand
fashion.
2.1.1 Methodologies
Performance analysis
Most of the current systems do not analyze performance of RB switching scheme and they always
favor NRB scheme. But the fact is that RB scheme is more preferable for delay sensitive applications of
which the current systems are unaware.
Reservation of intermediate nodes on a multihop route
The current systems do not consider reservation of intermediate nodes on a multihop route and they
consider NRB scheme only as the conventional wisdom in current wireless ad hoc networking research
favors NRB switching.
Analytical models
In current systems, while a few analytical models exist for NRB switched ad hoc wireless networks,
similar models have not been reported for RB schemes.
2.2 EXISTING METHODOLOGIES
The Proposed System analyzes performance of NRB as well as RB scheme. It also considers effects of
interference, reservation of intermediate nodes on multihop route and retransmission. Hence, the proposed
system overcomes all the demerits of current systems. Thus, the proposed system is better than current
system. The following issues are addressed by the feasibility study:
1. Routing
2. Dynamic Topology
3. Power Management
4. Controlling Control Message Packets
5. Delay performance analysis of RB and NRB scheme.
While the conventional wisdom in current wireless ad hoc networking research favors NRB switching,
the proposed system determines whether when and under which conditions RB switching will be
preferable.
The entire system is feasible from the development point of view. Thus to conclude the above, this
report has examined the feasibility of the system “Performance Evaluation of RB Switching and NRB
Switching in Ad-hoc Wireless Network”. The feasibility study has addressed two fundamental question
„Should it be done?‟ and „Could it be done?‟ and has answered both of them satisfactorily.
Source
Find Delay
3.3.2 Scope
The system is broadly divided into following parts:
Non reservation based switching
To transmit the file using NRB scheme we will follow the following steps:-
1. Give the route request to all the intermediate nodes and find the route path for corresponding
destination using multi-hops.
2. Transfer a file using this scheme from sender.
3. Receive the file from sender at the destination.
Reservation based switching
To transmit the same file using RB scheme system will follow the following steps:-
1. Decide the corresponding route path to destination.
2. Transfer the file from source to destination through the selected route path.
Comparison of RB and NRB scheme
This will show the comparison and performance tables for two different types of switching by
calculating the delay between these two schemes.
25 nodes 4.278
36 nodes 5.268
49 nodes 6.249
4.1 OVERVIEW
Performance Evaluation of RB Switching and NRB Switching in Ad-hoc Wireless Network is a type
of research project. The subject is interesting in the way that it uses the switching techniques. As the
system is the research work the customer of the system can be the person or organization that requires the
information about two switching techniques.
M5 Analysis 30/09/2010
Throughput
Goodput
Delay
Fig.5.3.4 shows the sequence diagram to analyze switching schemes. The analysis has been done on
the basis of delay performance of RB and NRB scheme while transmitting the data file.
Scenario description
Table 5.4.4 Scenario Description
Object Name States
File transfer delay Enabled: Calculate delay performance.
calculation object
RB & NRB delay Enabled: Compare delay performance.
TEMPLATE #3
Class Name RB Scheme
Class Type Candidate Class
Characteristics Transfer file to destination using RB switching
scheme
Superclass None
Subclass None
File tracer
File tracer
Path 1 0,10,20,30,40,50,60,70,80
Path 2 4 ,21,38,55,72
Path 3 12,22,32,42,52,62
Path 1 0 - - - - - - - - - -80
Path 2 4 - - - - - - - - - - 72
Path 3 12- - - - - - - - - - -62
End-to-End delay =
(total end time of packets received at all active routes ) – (start time of packets of all active
routes )
Parameters Values
Data Rate 1 Mb/s
Average Message Length 106 bits
Fig. 6.4.7.Throughput
The purpose of this document is to prescribe the scope, approach, resources, and schedule of the
testing activities. To identify the items being tested the features to be tested, the testing tasks to be
performed.
7.2.1 Introduction
System is a research for two switching schemes in ad hoc networks for comparing the performance of
both types of switching schemes system which targets to send data packets via both RB and NRB
schemes. The concept is to allow a wireless machine to send a data packet to a particular node using this
system depending on which mode of transmission is available. This project aims to use a mobile device,
internet connection and Wi-Fi LAN and file packets as resources. The system also compares and displays
the delay comparison of RB and NRB schemes
7.2.5 Approach
Each of the features to be tested are considered and tested under all possible input conditions. The
outputs are noted and a test log is maintained. These logs are used in maintenance and deployment of the
system.
Test items .xgr file that will display graph for RB and
NRB scheme and it shows the comparison
between them.
Input specifications Inputs required are:
1. Trace file RB scheme (rb.tr).
2. Trace file for NRB scheme (nrb.tr).
Output specifications Output expected is: Using XGraph tool
which shows, the delay comparison graph
of RB and NRB schemes. RB is shown in
The summary of this testing document is to test above procedures and programs which will give
output as expected from the system and results of tests are correct and matching with the results specified
while analyzing the requirements of the project.
8.1 CONCLUSIONS
The two switching schemes which are shown in this work namely Reservation based (RB) and Non
Reservation based (NRB). The aim of this work is to compare the delay performance of RB with NRB
and prove that the RB provides better delay performance than NRB if right requirements are met.
It is proved that if the right requirements are provided (in terms of route discovery, protocol used, etc.)
the RB switching scheme can yield better delay performance than NRB switching scheme. The work
output shows the delay graph of RB and NRB switching scheme and compare those two graphs which
shows that the delay of RB is less than delay of NRB.
In this work, RB switching scheme is shown, in RB, considering the square grid topology. Data
packets have sent by reserving a route from source to destination and display of route is shown by
specifying links between them. And in NRB, considering the same topology data packets have sent from
source to destination by intermediate nodes which can be used by other nodes for data transfer.
It is important to understand that if one uses a different MAC protocol (such as 802.11b) and/or one
uses a separate control channel for route discovery, for instance, then the results obtained might be very
different for RB switching are not met, then NRB schemes will probably be preferable.
The result of analytical framework shows that RB schemes are appropriate for real time applications,
such as voice and video, whereas NRB schemes are more appropriate for delay-insensitive applications.
While RB schemes can provide better delay performance, NRB schemes support higher traffic loads than
RB schemes.NRB schemes support higher number of routes because there is no constraint for the routes
to be disjoint. Finally it is shown that RB schemes are more robust to node mobility which is not
considered in this work.