Download presentation
Presentation is loading. Please wait.
Published byOlivia Wilson Modified over 6 years ago
1
TFAS-NS2 Trace File Analyzer for Ad Hoc Routing Protocols Simulation with NS2
Speaker Dr. Saloua CHETTIBI Lecturer at University of Jijel Reasercher at MISC Laboratory, University of Contantine 2 Ntic’15
2
Ntic’15 Outlines Mobile Ad hoc Networks & Routing
Evaluation of ad hoc Routing Protocols performance NS-2 Simulation Process TFAS-NS2 : a Tool for the post-simulation phase Ntic’15
3
I. Mobile Ad hoc Networks & Routing
Ntic’15
4
Ntic’15 Routing: Important
16/05/2018 Routing: Important Routing Protocol Topological information Routing Algo Physical and data link layer (Wi-Fi, Bluetooth, Zigbee) Network Layer IP Protocol Transport Layer TCP UDP Application and Middleware Routing: Forwarding Data Trafic on a Network Topology Layered Model of Wireless Ad hoc Net. ,Conti and Giordano, 2013. Ntic’15
5
Routing: Difficult task!
Decentralized architecture Frequent topology changes Limited Bandwidth Limited Energy ressources Adaptivity Robustness Efficiency Scalability NS2 Quantifying routing protocols performance is commonly done by extensive simulation Ntic’15
6
II. Evaluation of Routing Protocols performance
Ntic’15
7
Performance Evaluation : Important!
Routing policy proposal Performance Evaluation Interpretation and conclusions Ntic’15
8
Performance Study: Methodology
One would like to study the performance of one or several routing protocols under different conditions of : Nodes mobility Network density Data traffic Maximum velocity Number of nodes Number of connections Pause time Network scale Packet sent rate To obtain one result per metric for a given scenario, simulation should be repeated several times with random generated mobility scripts. Ntic’15
9
III. NS-2 Simulation Process
Ntic’15
10
Ntic’15 Simulation Process : NS-2
Simulation Process. T. Issariyakul and E. Hossain , 2009.
11
Simulation: configuration script
Ntic’15
12
Post Simulation: File with .nam extension
Ntic’15
13
Ntic’15 Post Simulation: File with .tr extension
Records timed events concerning both nodes and packets. Relevant information for network performance analysis should be extracted from trace file with .tr extension. Ntic’15
14
Extracting performance measures: AWK Scripts
Scripts for measuring performance metrics should be written. Ntic’15
15
Extracting performance measures: AWK Scripts
Ntic’15
16
Extracting performance measures: Statistics & Graphics
Ntic’15
17
Ntic’15 What is the problem? This procedure is both complex and slow:
Users need to write AWK scripts. Users need to learn/use several languages and tools. Exporting results from one tool to another is hard and time consuming. What Students generally do? Only two or three metrics are implemented … For statistics: only the mean is presented. Partial study… Ntic’15
18
Performance Evaluation : Important!
Routing policy proposal Performance Evaluation Interpretation and conclusions Ntic’15
19
IV. TFAS-NS2: a Tool for the post-simulation phase!
Ntic’15
20
Ntic’15 FTAS-NS2 solution
Facilitate and speed-up the task of performance measures extraction: Users do not need to write AWK scripts. Users do not need to learn/use several languages and tools. No results exporting from one tool to another... What Students must do? By using NS2 conjointly with STFA-NS2 tool, Ad hoc routing protocols designers have only to concentrate on the interpretation of the obtained results. Ntic’15
21
TFAS-NS2: Implemented Performance Metrics
Packet Delivery Ratio (PDR) Packet Loss Ratio (PLR) Average end to end Delay (AD) Average Jitter (AJ) Normalized Routing Overhead (NRO) Activity Concentration (AC) Standard Deviation of Consumed Energy among all nodes (SDCE): Minimal Residual Energy Ratio (MRER) Active Nodes Number (ANN) Average of Residual Energies (ARE) Network LifeTime (NLT): time until K% of network nodes exhaust all their batteries. Note that K is a variable parameter fixed by the user(eg. time to first node energy depletion). …….We can define composite metrics (eg. Energy efficiency) Ntic’15
22
Ntic’15 TFAS-NS2: Statistical Measures and Graphics
For each metric, the following statistical measures are calculated: Mean First, second and third quartiles (Q1, Q2 et Q3) Standard deviation Confidence interval of the mean Three types of graphics are generated by STFA-NS2: Line graphs with or without confidence intervals Histograms with or without confidence intervals Box-plots. Also, statistics can be saved as text files. Ntic’15
23
TFAS-NS2: First Interface
Ntic’15
24
TFAS-NS2: Second Interface
Ntic’15
25
Ntic’15
26
Ntic’15
27
Ntic’15
28
TFAS-NS2: Now Ntic’15
29
TFAS-NS2: Perspectives
More Mobility Models Statictical Tests Ntic’15
30
Thanks! Any question? Ntic’15
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.