[ns] Running large simulations
johnh at ISI.EDU
Thu Jul 31 06:45:03 PDT 2003
On Wed, 30 Jul 2003 15:27:29 -0300, Rainer wrote:
>Hi "ns user",
>my simulations with 150 nodes (ad hoc network) almost didn't run on
>machine with 2GB of memory. Of course, you can try some of the tips given
>on the ns homepage to improve memory usage. And there are some other
>factors - mainly traffic/events load - that can overload your machine.
>On Wed, 30 Jul 2003, ns user wrote:
>> I tried to run a topology consisting of 3100 nodes on
>> a machine having 1GB ram. but it gives an out of
>> memmory error. could anyone please tell approximately
>> how much memory such large simulations take.
You can approximate memory usage of a static simulation based on the
stats on the ns-debugging web page.
At run-time, though, memory usage depends strongly on the traffic
load. Number of packets in flight can quickly consume memory,
particularly at gigabit speeds.
More information about the Ns-users