Jump to ContentJump to Main Navigation
Show Summary Details
More options …

Journal of Intelligent Systems

Editor-in-Chief: Fleyeh, Hasan

CiteScore 2018: 1.03

SCImago Journal Rank (SJR) 2018: 0.188
Source Normalized Impact per Paper (SNIP) 2018: 0.533

See all formats and pricing
More options …
Volume 24, Issue 4


NsGTFA: A GUI Tool to Easily Measure Network Performance through the Ns2 Trace File

Idris Skloul Ibrahim / Peter J.B. King / Hans-Wolfgang Loidl
Published Online: 2015-01-15 | DOI: https://doi.org/10.1515/jisys-2014-0153


Ns2 is an open-source communications network simulator primarily used in research and teaching. Ns2 provides substantial support for simulation of TCP, routing, and multicast protocols over wired and wireless networks. Although Ns2 is a widely used powerful simulator, it lacks a way to measure networks that are used to assess reliability and performance metrics (e.g., the number of packets transferred from source to destination, delay in packets, packet loss, etc.) and it does not analyse the trace files it produces. The data obtained from the simulations are not straightforward to analyse. Ns2 is still unable to provide any data analysis statistics or graphics as requested. Moreover, the analysis of the Ns2 trace file using any software scripts requires further steps by a developer to do data processing and then produce graphical outputs. Lack of standardisation of tools means that results from different users may not be strictly comparable. There are alternative tools; however, most of them are not standalone applications, requiring some additional libraries. Also, they lack a user-friendly interface. This article presents the architecture and development considerations for the NsGTFA (Ns2 GUI Trace File Analyser) tool, which intends to simplify the management and enable the statistical analysis of trace files generated during network simulations. NsGTFA runs under Windows and has a friendly graphical user interface. This tool is a very fast standalone application implemented in VC++, taking as input an Ns2 trace file. It can output two-dimensional (2D) and 3D graphs (points, lines, and bar charts) or data sets, whatever the trace file format (Tagged, Old, or New). It is also possible to specify the output of standard network performance metrics. NsGTFA satisfies most user needs. There is no complex installation process, and no external libraries are needed.

Keywords: VC++; GUI trace file analyser; trace file format; network performance metrics


  • [1]

    C. Bouras, S. Charalambides, M. Drakoulelis, G. Kioumourtzis and K. Stamos, A tool for automating network simulation and processing tracing data files, Simul. Model. Pract. Theory 30 (2013), 90–110.Google Scholar

  • [2]

    L. Breslau, D. Estrin, K. Fall, S. Floyd, J. Heidemann, A. Helmy, P. Huang, S. McCanne, Varadhan K., Y. X. Y. Xu and H. Y. H. Yu, Advances in network simulation, Computer (Long Beach Calif.) 33 (2000), 59–67.Google Scholar

  • [3]

    V. L. Chee and W. C. Yau, Security analysis of TORA routing protocol, in: Computational Science and Its Applications – ICCSA 2007, Pt. 2, Proceedings, vol. 4706, pp. 975–986, 2007.Google Scholar

  • [4]

    C. Cicconetti, E. Mingozzi and G. Stea, An integrated framework for enabling effective data collection and statistical analysis with NS-2, in: Proceeding from 2006 Work. NS-2 IP Network Simulator – WNS2 ’06, p. 11, 2006.Google Scholar

  • [5]

    K. Fall and K. Varadhan, The ns Manual (formerly ns notes and documentation), VINT Proj. (2011), 434.Google Scholar

  • [6]

    T. Issariyakul and E. Hossain, Introduction to Network Simulator NS2, 2nd ed., p. 527, Springer, New York, 2012.Google Scholar

  • [7]

    A. Kaponias, A. Politis and C. Hilas, Simulation and Evaluation of MANET Routing Protocols for Educational Purposes, in: Proceedings of the 2nd Pan-Hellenic Conference on Electronics and Telecommunications, Thessaloniki, pp. 2–5, 2012. Available: http://www.pacet.gr/program.htm.Google Scholar

  • [8]

    NS2 Analyser: Jtrana, [Online] Available: http://ns2analyser.blogspot.co.uk/2011/03/jtrana.html, Accessed 6 May, 2014.

  • [9]

    OTcl – MIT Object Tcl, [Online] Available: http://www.isi.edu/nsnam/otcl/README.html, Accessed 6 May, 2014.

  • [10]

    V. Park and S. Corson, Temporally-ordered routing algorithm (TORA) version 1, IETF MANET Work. Gr., pp. 1–24, 2001.Google Scholar

  • [11]

    F. Rocha, NS2 Visual Trace Analyzer, Manual, p. 17, 2010.Google Scholar

  • [12]

    A. U. Salleh, Z. Ishak, N. M. Din and M. Z. Jamaludin, Trace Analyzer for NS-2, in: 2006 4th Student Conf. Res. Dev., 2006.Google Scholar

  • [13]

    S. Taruna and G. N. Purohit, Scenario based performance analysis of AODV and DSDV in mobile ad hoc network, Advances in Networks and Communications, First International Conference on Computer Science and Information Technology, 2011, [Online] Available: http://download.springer.com/static/pdf/982/chp%253A10.1007%252F978-3-642-17878-8_ 2.pdf?auth66=1399550937_f2886aebb968ba9ad3d23b20601ab1a4&ext=.pdf, Accessed 6 May, 2014.

  • [14]

    VINT Project, [Online] Available: http://www.isi.edu/nsnam/vint/index.html, Accessed 6 May, 2014.

About the article

Corresponding author: Idris Skloul Ibrahim, School of Mathematical and Computer Sciences, Heriot-Watt University, Edinburgh EH14 4AS, Scotland, UK, e-mail:

Received: 2014-10-17

Published Online: 2015-01-15

Published in Print: 2015-12-01

Citation Information: Journal of Intelligent Systems, Volume 24, Issue 4, Pages 467–477, ISSN (Online) 2191-026X, ISSN (Print) 0334-1860, DOI: https://doi.org/10.1515/jisys-2014-0153.

Export Citation

©2015 by De Gruyter.Get Permission

Comments (0)

Please log in or register to comment.
Log in