<div dir="ltr"><p class=""><span style="font-family:'Courier New'">Some
more clarifications:</span></p>

<p class="" style="margin-left:0.5in"><span style="font-family:'Courier New'">1><span style="font-size:7pt;font-family:'Times New Roman'">  </span></span><span style="font-family:'Courier New'">By CCN I mean CCN/NDN paradigm and not the
CCN daemon. How come a thread would come to know the name of another thread,
because threads created by a parent process are unaware of each other.</span></p>

<p class="" style="margin-left:0.5in"><span style="font-family:'Courier New'">2><span style="font-size:7pt;font-family:'Times New Roman'">  </span></span><span style="font-family:'Courier New'">Right now my concern is only about <span id="2e3349cd-1f57-404d-b4bb-df34bbe14f08" class="GINGER_SOFTWARE_mark">ndnSIM</span>. I
don’t know anything about NFD. While searching, I found there is something MPI
in NS-3, but I am not sure do I need this one or something else.</span></p>

<p class="" style="margin-left:0.5in"><span style="font-family:'Courier New'">3><span style="font-size:7pt;font-family:'Times New Roman'">  </span></span><span style="font-family:'Courier New'">By <span id="85afc76e-c485-486d-a297-7fe8977523e8" class="GINGER_SOFTWARE_mark">distributed</span> application I mean an
application which can be divided into some threads such that each thread work <span id="3a445814-6ad6-4e0d-b4af-1bcd8efaebed" class="GINGER_SOFTWARE_mark">parallely</span>. <span id="1d58d099-1f14-4608-bbd3-ffaec88546df" class="GINGER_SOFTWARE_mark">End
result</span> of such a process execution should be same as that of its serial
execution. </span></p></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 1, 2014 at 5:16 AM,  <span dir="ltr"><<a href="mailto:ndnsim-request@lists.cs.ucla.edu" target="_blank">ndnsim-request@lists.cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send ndnSIM mailing list submissions to<br>
        <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:ndnsim-request@lists.cs.ucla.edu">ndnsim-request@lists.cs.ucla.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:ndnsim-owner@lists.cs.ucla.edu">ndnsim-owner@lists.cs.ucla.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of ndnSIM digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Simulation stopping time (Alex Afanasyev)<br>
   2. Re: About to parse the NDN packet in pcap file (Haroon Rashid)<br>
   3. Distributed Application in CCN domain (Haroon Rashid)<br>
   4. Re: ForwardingStrategy & running error (Alex Afanasyev)<br>
   5. Re: Distributed Application in CCN domain (Ilya Moiseenko)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 29 Sep 2014 12:01:16 -0700<br>
From: Alex Afanasyev <<a href="mailto:alexander.afanasyev@UCLA.EDU">alexander.afanasyev@UCLA.EDU</a>><br>
To: Haroon Rashid <<a href="mailto:haroonr@iiitd.ac.in">haroonr@iiitd.ac.in</a>><br>
Cc: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: Re: [ndnSIM] Simulation stopping time<br>
Message-ID: <<a href="mailto:71B04578-B609-4BDA-9CE0-8489187B9522@ucla.edu">71B04578-B609-4BDA-9CE0-8489187B9522@ucla.edu</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi Haroon,<br>
<br>
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.<br>
<br>
---<br>
Alex<br>
<br>
On Sep 29, 2014, at 11:32 AM, Haroon Rashid <<a href="mailto:haroonr@iiitd.ac.in">haroonr@iiitd.ac.in</a>> wrote:<br>
<br>
> Hi Alex,<br>
><br>
> 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).<br>
><br>
> On Mon, Sep 29, 2014 at 11:44 PM, Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:<br>
> Hi Haroon,<br>
><br>
> 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.<br>
><br>
> ---<br>
> Alex<br>
><br>
> On Sep 29, 2014, at 3:02 AM, Haroon Rashid <<a href="mailto:haroonr@iiitd.ac.in">haroonr@iiitd.ac.in</a>> wrote:<br>
><br>
>> Hello All,<br>
>>  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));<br>
>><br>
>> But, it seems that simulator ignores this. To stop the simulation I forcibly close terminal (ctrl+c).<br>
>> Please suggest possible solutions.<br>
><br>
><br>
><br>
> --<br>
> Haroon Rashid<br>
><br>
><br>
> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140929/c34ad728/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140929/c34ad728/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 30 Sep 2014 07:35:06 +0530<br>
From: Haroon Rashid <<a href="mailto:haroonr@iiitd.ac.in">haroonr@iiitd.ac.in</a>><br>
To: <a href="mailto:r01942061@ntu.edu.tw">r01942061@ntu.edu.tw</a><br>
Cc: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: Re: [ndnSIM] About to parse the NDN packet in pcap file<br>
Message-ID:<br>
        <CABBWKrti-wNXXjeLiB8-0MM5FDeDjwcBdmWS2R=<a href="mailto:hnc0SpyamhA@mail.gmail.com">hnc0SpyamhA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Rex,<br>
<br>
For updating of Wireshark plugin you can use the following source:<br>
<br>
<a href="https://github.com/ProjectCCNx/ccnx/blob/master/apps/wireshark/README-wireshark-1.4.txt" target="_blank">https://github.com/ProjectCCNx/ccnx/blob/master/apps/wireshark/README-wireshark-1.4.txt</a><br>
<br>
<br>
--<br>
Haroon Rashid<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/12d37b0b/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/12d37b0b/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 30 Sep 2014 17:02:40 +0530<br>
From: Haroon Rashid <<a href="mailto:haroonr@iiitd.ac.in">haroonr@iiitd.ac.in</a>><br>
To: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: [ndnSIM] Distributed Application in CCN domain<br>
Message-ID:<br>
        <CABBWKrtR7X=M1YHs+GF0_vx=<a href="mailto:23rnpaObESK0NdTJY-3nQgonng@mail.gmail.com">23rnpaObESK0NdTJY-3nQgonng@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear All,<br>
<br>
I am curious to know how a distributed application works in CCN paradigm.<br>
Consider a scenario where an application is having three threads (logical<br>
processes) running on three nodes (three processors of a single node). Now,<br>
if these three processes want to communicate with each other for a certain<br>
reason. How can I achieve the same in CCN, i.e.,  (a) how processes can<br>
refer to each other (NAMING CONCERN) (b) will the format of Interest and<br>
Data packets will be same as that of current packet structure in CCN/NDN.<br>
Since, these communication messages might be very short like Hello packets<br>
or status request of a node.<br>
<br>
<br>
Is there any simple distributed application with which I can start working<br>
and come out with different possibilities of communication between<br>
processes of an application? Furthermore, I would like to mention that I<br>
want do this in ndnSIM.  Currently, is there any support (libraries) in<br>
ndnSIM for doing this.<br>
<br>
<br>
Another concern I am thinking is that  I know that CCN is pull based<br>
approach. Can I mix a push based approach for some messages in a<br>
distributed scenario discussed above without violating CCN  paradigm?<br>
<br>
<br>
Best,<br>
Haroon Rashid<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/b990d9db/attachment-0001.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/b990d9db/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 30 Sep 2014 13:08:50 -0700<br>
From: Alex Afanasyev <<a href="mailto:alexander.afanasyev@UCLA.EDU">alexander.afanasyev@UCLA.EDU</a>><br>
To: narjes aloulou <<a href="mailto:aloulounarjes@yahoo.fr">aloulounarjes@yahoo.fr</a>><br>
Cc: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: Re: [ndnSIM] ForwardingStrategy & running error<br>
Message-ID: <<a href="mailto:B42B993E-2859-4124-94DF-B9FEB3108D81@ucla.edu">B42B993E-2859-4124-94DF-B9FEB3108D81@ucla.edu</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi Narjes,<br>
<br>
In which file(s) did you define the new strategies? Are you sure they are compiled together with your scenario?<br>
<br>
I frequently forget to add<br>
<br>
   NS_OBJECT_ENSURE_REGISTERED(MyStrategyClass);<br>
<br>
to ensure that the new strategy is registered in NS-3 object system.<br>
<br>
---<br>
Alex<br>
<br>
On Sep 27, 2014, at 3:31 AM, narjes aloulou <<a href="mailto:aloulounarjes@yahoo.fr">aloulounarjes@yahoo.fr</a>> wrote:<br>
<br>
><br>
> Hi,<br>
><br>
> I add two different forwarding strategies in the /model/fw. Then, I use them in my scenario. However, when I run the program, I have this error:<br>
><br>
> finished successfully (1.131s) assert failed. cond="uid != 0", msg="Assert in TypeId::LookupByName:  ns3::ndn::fw::ForwardingStrategy not found",<br>
> file=../src/core/model/type-id.cc, line=539 terminate called without an active exception Command ['/home/narjes/workspace/ndnSIM/ns-3/build/scratch/bloomfilter-scenario'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").<br>
><br>
> (I use Ubuntu 14.04)<br>
><br>
> Thank you for your help.<br>
><br>
> best regards<br>
><br>
> Narjes<br>
><br>
><br>
> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 30 Sep 2014 16:45:56 -0700<br>
From: Ilya Moiseenko <<a href="mailto:iliamo@ucla.edu">iliamo@ucla.edu</a>><br>
To: Haroon Rashid <<a href="mailto:haroonr@iiitd.ac.in">haroonr@iiitd.ac.in</a>><br>
Cc: <a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a><br>
Subject: Re: [ndnSIM] Distributed Application in CCN domain<br>
Message-ID: <<a href="mailto:2F3CDC59-A99B-4698-A9E6-8AE9107C6EC8@ucla.edu">2F3CDC59-A99B-4698-A9E6-8AE9107C6EC8@ucla.edu</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
I don?t work with CCNx daemon, but with NFD daemon each of your threads can register its own individual name like<br>
1) /chatapp/thread1<br>
2) /chatapp/thread2<br>
3) /chatapp/thread3<br>
<br>
I didn?t understand question b), but you can have intra-process communication with Interest and Data packets in NFD.<br>
<br>
Regarding ndnSIM, in normal mode, its core works in a single thread, and it?s not that trivial to make your simulation scenario run in multiple-threads.<br>
You can refer to general NS-3 documentation for help.<br>
<br>
To find some information about ?pushing?  you can find the section talking about "Command Interests" in NFD developers guide.<br>
<br>
Ilya<br>
<br>
On Sep 30, 2014, at 4:32 AM, Haroon Rashid <<a href="mailto:haroonr@iiitd.ac.in">haroonr@iiitd.ac.in</a>> wrote:<br>
<br>
> Dear All,<br>
><br>
> I am curious to know how a distributed application works in CCN paradigm. Consider a scenario where an application is having three threads (logical processes) running on three nodes (three processors of a single node). Now, if these three processes want to communicate with each other for a certain reason. How can I achieve the same in CCN, i.e.,  (a) how processes can refer to each other (NAMING CONCERN) (b) will the format of Interest and Data packets will be same as that of current packet structure in CCN/NDN. Since, these communication messages might be very short like Hello packets or status request of a node.<br>
><br>
><br>
><br>
> Is there any simple distributed application with which I can start working and come out with different possibilities of communication between processes of an application? Furthermore, I would like to mention that I want do this in ndnSIM.  Currently, is there any support (libraries) in ndnSIM for doing this.<br>
><br>
><br>
><br>
> Another concern I am thinking is that  I know that CCN is pull based approach. Can I mix a push based approach for some messages in a distributed scenario discussed above without violating CCN  paradigm?<br>
><br>
><br>
><br>
> Best,<br>
><br>
> Haroon Rashid<br>
><br>
><br>
> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/5be69d5a/attachment.html" target="_blank">http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/5be69d5a/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
<br>
------------------------------<br>
<br>
End of ndnSIM Digest, Vol 22, Issue 6<br>
*************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>Haroon Rashid<br></div><br></div><br></div>
</div>