[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Memory conservation



> I'm trying to reduce simulation time by looking at techniques to reduce
> memory usage.

Reducing memory does not necessarily significantly reduce your running
time, unless you are experiencing lots of swapping.

> Next thing I'm looking at is to do a delay_bind on the variables. I'd a
> look at tcp.{h,cc} and found a comment in the code that says "delay bound
> tracevars aren't yet supported". Does this statement still hold true (my
> snapshot is about 3 months old). Also, could anyone tell me what exact
> code changes need to be made to switch from bind() to delay_bind().

if you use current snapshot you'll see tcp is already using delay bind.