![](bg4.png)
4 CONCLUSION-FUTURE WORK
We presented in this work a new tool to enhance
simulations conducted with NS-2. This new tool
named TRAFIL aims at offering an easy to use
interface in which users can load and store
simulation trace files in order to facilitate the
analysis procedure. We used simulation trace files to
produce measurements, statistics and charts in an
effort to help students and researchers when running
simulations with NS-2. TRAFIL was written in the
JAVA programming language and is platform
independent. The main benefit of TRAFIL apart
from the production of ready to use metrics and
charts is the reduced time it consumes for the whole
trace file analysis procedure; firstly by minimizing
the time to open and use a trace file and secondly by
enabling the user to store each trace file in a
database for easy access and future use. That was
something that was missing all previous years in the
NS-2 simulation environment. It also gives the
opportunity to extract all the information that is
stored or produced to a text or Excel file when it
comes to the trace file, simulation metrics and
information or jpeg for the charts. Finally, TRAFIL
can be extended to support a variety of trace files
and not only NS-2 trace files with great ease due to
the use of Metafiles and Sub Metafiles.
In our future work we plan to extent TRAFIL
with useful tools for simulating video transmission
scenarios. The idea is to fully automate the whole
simulation and analysis procedure. In addition to
automating the simulation process we plan to offer
the opportunity to perform SQL queries directly to
the database and returning the results to the user.
This way a user can retrieve all the different
combinations of values contained in a trace file.
TRAFIL is publicly available at (TRAFIL
download).
REFERENCES
Lee Breslau, Deborah Estrin, Kevin Fall, Sally Floyd,
John Heidemann, Ahmed Helmy, Polly Huang, Steven
McCanne, Kannan Varadhan, Ya Xu, Haobo Yu.
2000. “Advances in Network Simulation”, IEEE
Computer,Vol. 33, No. 5, pp. 59 – 67.
R. Fujimoto, K. Perumalla, A. Park, H. Wu, M. Am-mar,
and G. Riley, 2003. Large-scale network simulation:
how big? how fast? Modeling, Analysis and
Simulation of Computer Telecommunications
Systems, 2003. MASCOTS 2003. 11th IEEE/ACM
International Symposium on, pages 116-123, 2003.
E. Weingärtner, H. vom Lehn, and K. Wehrle, 2009. A
performance comparison of recent network simulators.
In Proceedings of the IEEE International Conference
on Communications 2009 (ICC 2009), Dresden,
Germany, IEEE.
Network Simulator NS-2: http://www.isi.edu/nsnam/ns/
Claudio Cicconetti, Enzo Mingozzi, Giovanni Stea, 2006.
An Integrated Framework for Enabling Effective Data
Collection and Statistical Analysis with ns-2. In
Proceedings of WNS2 '06; Proceeding from the 2006
workshop on ns-2: the IP network simulator.
NS-2 Trace Formats: http://nsnam.isi.edu/nsnam/index.
php/NS-2_Trace_Formats
Network Simulation Cradle Homepage: http://www.wand
.net.nz/~stj2/nsc/software.html
NS2Measure Hoepage: http://cng1.iet.unipi.it/wiki/index.
php/Ns2measure
Qian, H. and Fang, W. (2008). Jtrana: A java-based ns2
wireless trace analyzer: http://sites.google.com/site/
ns2trana/
J. Malek and K. Nowak, 2003. Trace graph-data
presentation system for network simulator ns. In
Proceedings of the: Information Systems - Concepts,
Tools and Applications (ISAT 2003), Poland.
Trace Graph Source Code: http://www.angelfire.com/al4/
esorkor/
Trace Analyzer Source Code: http://trace-analyzer.source
forge.net/
Aliff Umair Salleh, Zulkifli Ishak, Norashida Md. Din, Md
Zaini Jamaludin, 2006. Trace Analyzer for NS-2. In
Proceedings of the 4th Student Conference on
Research and Development (SCOReD 2006), Shah
Alam, Selangor, MALAYSIA.
Ryad Ben-El-Kezadri, Farouk Kamoun, Guy Pujolle,
2008. XAV: a fast and flexible tracing framework for
network simulation. Proceedings of the 11th
international symposium on Modeling, analysis and
simulation of wireless and mobile systems, Vancouver,
British Columbia, Canada
H. Schulzrinne, S. Casner, R. Frederick, V. Jacobson,
2003. “RTP: A Transport Protocol for Real-Time
Applications”, RFC 3550, July 2003
TRAFIL download: http://ru6.cti.gr/ru6/research_tools.
php#TRAFL
DCNET 2012 - International Conference on Data Communication Networking
64