A tool for automating network simulation and processing tracing data files
One of the most highly regarded discrete event simulators used for network simulation is NS-2 (Network Simulator). NS-2 executes simulation scenarios producing various data of which trace files are considered the most beneficial for evaluating a simulation. In this paper we present the design considerations and implementation of a new tool that can be used both in TRAce FILe analysis and execution of simulations using NS-2. Although TRAFIL is primarily based on NS-2 trace files it can be extended to support a number of different other simulation trace file formats. It aims to make the execution of a great number of network simulations quicker, and the extraction of results from a large amount of data more flexible and productive. In order to accomplish the above tasks TRAFIL presents a novel way of interpreting, parsing, reading and eventually using NS-2 trace files. It introduces the notion of metafiles and sub metafiles throughout the procedures of trace file recognition and parsing, making the overall analysis operation substantially efficient and faster than alternative approaches. Metafiles and sub metafiles are used to encode NS-2 trace file structures enabling a more abstract approach to the trace file processing operation. Furthermore, TRAFIL facilitates the overall trace file analysis task by offering the opportunity to store each trace file as well as every Quality of Service (QoS) measurement produced for each trace file. Following the trace file recognition and processing operations, the information contained in a trace file is presented through a Graphical User Interface (GUI) offered by TRAFIL along with a variety of data, metrics and statistics related to simulation results. Finally, the tool offers the opportunity to execute custom Structured Query Language (SQL) queries to the local database and to completely automate the simulation procedure by enabling the user to execute NS-2 scripts as well as perform a simulation of a video transmission using the Evalvid-RA framework.
ns-2 trace file simulation analysis tool