[ndnSIM] Question about visualization and output

Sirapop Theeranantachai sirapop741 at gmail.com
Tue Apr 9 11:11:00 PDT 2024


Question 1:
Yes, you don't really need to visualize to get any result. You can obtain
metrics using these helper functions.
https://ndnsim.net/2.2/metric.html

Question 2:
Seems like the ns-3 or ndnsim is compiled without the debug mode. Can you
make sure everything is compiled with debugging enabled?

On Tue, Apr 9, 2024, 12:14 AM 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn>
wrote:

> Hi all,
>
> I’ve sent another question earlier, I just pasted it here with another
> relevant question regarding ndnSIM’s output.
>
> 1. What's the difference between running using "--visualize" or not. As
> the simulation can be started when activating visualization, what will
> happen if not using "—visualize”. I think that it should be possible to run
> the simulation and see the output report even without “—visualize” option?
>
> 2. As there’s problem with kiwi, I tried using ndnSim without “—visualize”
> and added NS_LOG to see outputs on cmd. However, it gave me nothing when
> using “NS_LOG=ndn.Producer:ndn.Consumer”, I’ve added testing print info
> in my program, it seems everything is fine. May I ask what’s the potential
> reason for this? I’ve attached log and source file below. My problem is
> that I can’t see the log outputs now.
>
> *caster at ubuntu:~/ndnSim/ns-3$ NS_LOG=ndn.Producer:ndn.Consumer ./waf --run
> grid3*
> *Waf: Entering directory `/home/caster/ndnSim/ns-3/build'*
> *[2810/2875] Compiling scratch/grid3.cc <http://grid3.cc/>*
> *[2833/2875] Linking build/scratch/grid3*
> *Waf: Leaving directory `/home/caster/ndnSim/ns-3/build'*
> *Build commands will be stored in build/compile_commands.json*
> *'build' finished successfully (40.240s)*
> *Set default parameters for link and channels*
> *create topology*
> *install ndn stack*
> *install global routing interface*
> *get pointers of nodes*
> *define name prefix*
> *install different strategi for different prefix*
> *install consumer app*
> *install producer app*
> *calculate FIB*
>
> Thanks,
> Caster
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20240409/420e7907/attachment-0001.htm>


More information about the ndnSIM mailing list