[ndnSIM] Simulation stopping time
alexander.afanasyev at UCLA.EDU
Mon Sep 29 12:01:16 PDT 2014
To simulate 5 seconds of network activity, you would want to put Stop(Seconds(5)) in your scenario. How long such a simulation will take depends on many factors, including machine CPU, memory, topology, and the actual scenario. But in any case, even if it takes 3 days to finish, NS-3/ndnSIM will simulate just 5 seconds of the network activity in the scenario you have defined.
On Sep 29, 2014, at 11:32 AM, Haroon Rashid <haroonr at iiitd.ac.in> wrote:
> Hi Alex,
> Yes, you are right. I was thinking of the same. But, I want to know how we can relate simulation time to the actual time. For e.g., If I want to keep the network up for 5 minutes in real time then what should I put in the simulation stopping time (5 minutes or something else).
> On Mon, Sep 29, 2014 at 11:44 PM, Alex Afanasyev <alexander.afanasyev at ucla.edu> wrote:
> Hi Haroon,
> I could be wrong, but I feel you have a small confusion about what Simulator::Stop does. Simulator::Stop defines when the simulation stops in simulation time, not real time. In real time it can take long time, depending on the specific topology and scenario.
> On Sep 29, 2014, at 3:02 AM, Haroon Rashid <haroonr at iiitd.ac.in> wrote:
>> Hello All,
>> I am not able to control the simulation time in ndnSIM. For e.g, If I want to finish simulation by 5 seconds I use Simulator:: Stop (Seconds (5));
>> But, it seems that simulator ignores this. To stop the simulation I forcibly close terminal (ctrl+c).
>> Please suggest possible solutions.
> Haroon Rashid
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM