Traditional simulators have deficiencies of scalability, thus they are not so efficient in running simulations with large-scale networks. In this paper, we present a new simulator, namely EasiSim, specifically for evalu-ating sensor net-works on a large scale. EasiSim is featured by organizing its core components, including nodes, topology and scenario, in a hierarchically structured approach. The hierarchically structured organiza-tion enables nodes to process all the concurrent events in one batch, hence reducing the running time by an order of magnitude. Moreover, we propose a visualization scheme based on a Client/Server model which separates the graphical user interface (GUI) from the simulation engine, and therefore the scalability of the simulator will not be decreased by complex GUI. Extensive simulations show that EasiSim outperforms ns-2 in terms of real running time and memory usage.
展开▼