[ndnSIM] Performance of ndnSIM

Alex Afanasyev alexander.afanasyev at ucla.edu
Sun Jan 11 12:33:15 PST 2015

Hi Julian,

Did you compile NS-3/ndnSIM in optimized mode?  Debug mode is several orders of magnitude slower.

Also. How long are you simulations?  ndnSIM is trying to realistically simulate NDN operations, so there are limitations on how many operations can be performed.  To shorten simulation time you can look into scaling your simulation or check NS-3 MPI module, with which you can partition your network run simulation on multiple CPU cores / machines.


> On Jan 11, 2015, at 9:25 AM, Julian Wulfheide <ju.wulfheide at gmail.com> wrote:
> Hey,
> how have you guys experienced the performance of ndnSIM. I try to run
> simulations where 16 Consumers request 100 times per second (later on,
> I would need even higher frequencies). That should not be too much,
> right?! But the simulations are extremly slow. So slow that I was not
> able to finish even one simulation. I have changed the routing
> algorithm, but the profiler does not show any slow spots in my
> changes. I also have installted tracers on some nodes, but already
> increased the interval for one of them:
>    ndn::L3AggregateTracer::Install (someNodes, l3TracerFile.str(),
> Seconds(10.0));
>    ndn::AppDelayTracer::Install (otherNodes, appDelayTracerFile.str());
> What else could I do to increase performance?
> Best, Julian

More information about the ndnSIM mailing list