[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Memory conservation
On Thu, 7 Sep 2000, Ishan Mandrekar wrote:
> I'm trying to reduce simulation time by looking at techniques to reduce
> memory usage.
>
> I tried disabling unused packet headers in /ns/tcl/lib/ns-packet.tcl, but
> that didn't help a lot.
That should now be easier to do in the current snapshot, if you read
Haobo's comments describing the new commands he's added in:
http://www.isi.edu/cgi-bin/nsnam/cvsweb/ns-2/tcl/lib/ns-packet.tcl?rev=1.40
It will be interesting to see what revising the entire test suite to
only use the headers each test needs does for validation memory
footprint/time, with:
remove-all-packet-headers
add-packet-header <just what each test needs>
_not_ a good idea for example code, mind.
L.
hey, ns might validate on punier machines.
<L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>