Communication Software Execution Model of a WSN Device for More Accurate Simulation in ns-3

Emerging infrastructure-less network architectures such as WSNs consist of devices that perform packet processing in software. General-purpose network simulators do currently not possess models to simulate the intra-node delay of such devices. A TelosB mote with TinyOS spends seven and fifteen ms on processing packets of size 36 and 124 bytes. Failing to simulate this leads to an inaccurate simulation of packet loss, jitter, and latency. In this work, we create a communication software execution model of TelosB that accounts for its temporal behavior for more accurate WSN simulations in the ns-3 simulator. A challenge in doing so is to create a tracing framework for TinyOS that can be used to accurately and reliably trace its behavior. The evaluation of our model shows that it is scalable and accurate; the simulated intra-OS delay deviates at most 5% from the intra-OS delay in the real mote. Moreover, the real mote and our model both start to drop packets at 65kbps (124 bytes packets), while the original ns-3 model starts dropping packets at 101kbps. This 36% decrease in forwarding capacity demonstrates that our model enables significantly more accurate simulations.

[1]  Øystein Dale Modeling, analysis, and simulation of communication software execution on multicore devices , 2016 .

[2]  Thomas Plagemann,et al.  A Methodology to Model the Execution of Communication Software for Accurate Network Simulation , 2015, TOMC.

[3]  Pedro José Marrón,et al.  TinyLTS: Efficient network-wide Logging and Tracing System for TinyOS , 2011, 2011 Proceedings IEEE INFOCOM.

[4]  Serge Fdida,et al.  High-level approach to modeling of observed system behavior , 2007, PERV.

[5]  Mustafa Hammad,et al.  Lightweight Deployable Software Monitoring for Sensor Networks , 2009, 2009 Proceedings of 18th International Conference on Computer Communications and Networks.

[6]  Torsten Meyer,et al.  Extensible and realistic modeling of resource contention in resource-constrained nodes , 2013, 2013 International Symposium on Performance Evaluation of Computer and Telecommunication Systems (SPECTS).

[7]  Reinhard Gotzhein,et al.  A CC2420 Transceiver Simulation Module for ns-3 and its Integration into the FERAL Simulator Framework , 2013 .

[8]  Mustafa Hammad,et al.  Lightweight monitoring of sensor software , 2009, SAC '09.

[9]  Giuseppe Lipari,et al.  Simulating Real-Time Aspects of Wireless Sensor Networks , 2009, EURASIP J. Wirel. Commun. Netw..

[10]  Daniel Raumer,et al.  A study of networking software induced latency , 2015, 2015 International Conference and Workshops on Networked Systems (NetSys).