next up previous
Next: Beaconing Up: SWANS- Scalable Wireless Ad hoc Previous: Common


In this section, we show that SWANS perform surprisingly well: we compare SWANS with the two most popular ad hoc network simulators: ns2 and GloMoSim. We selected these because they are widely used, freely available sequential network simulators designed in the systems-based and language-based approaches, respectively.

We present macro-benchmark results running full SWANS simulations. Unless otherwise noted, the following measurements were taken on a 2.0 GHz Intel Pentium 4 single-processor machine with 512 MB of RAM and 512 KB of L2 cache, running the version 2.4.20 stock Redhat 9 Linux kernel with glibc v2.3. We used the publicly available versions of Java 2 JDK (v1.4.2), Parsec (v1.1.1), GloMoSim (v2.03) and ns2 (v2.26). Each data point presented represents an average of at least five runs for the shorter time measurements. All tests were also performed on a second machine - a more powerful and memory rich dual-processor - giving identical absolute memory results and relative results for throughput (i.e. scaled with respect to processor speed).