[ndnSIM] ndnSIM Digest, Vol 22, Issue 6

Haroon Rashid haroonr at iiitd.ac.in
Tue Sep 30 23:26:54 PDT 2014


Some more clarifications:

1>  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.

2>  Right now my concern is only about ndnSIM. 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.

3>  By distributed application I mean an application which can be divided
into some threads such that each thread work parallely. End result of such
a process execution should be same as that of its serial execution.

On Wed, Oct 1, 2014 at 5:16 AM, <ndnsim-request at lists.cs.ucla.edu> wrote:

> Send ndnSIM mailing list submissions to
>         ndnsim at lists.cs.ucla.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> or, via email, send a message with subject or body 'help' to
>         ndnsim-request at lists.cs.ucla.edu
>
> You can reach the person managing the list at
>         ndnsim-owner at lists.cs.ucla.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ndnSIM digest..."
>
>
> Today's Topics:
>
>    1. Re: Simulation stopping time (Alex Afanasyev)
>    2. Re: About to parse the NDN packet in pcap file (Haroon Rashid)
>    3. Distributed Application in CCN domain (Haroon Rashid)
>    4. Re: ForwardingStrategy & running error (Alex Afanasyev)
>    5. Re: Distributed Application in CCN domain (Ilya Moiseenko)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 29 Sep 2014 12:01:16 -0700
> From: Alex Afanasyev <alexander.afanasyev at UCLA.EDU>
> To: Haroon Rashid <haroonr at iiitd.ac.in>
> Cc: ndnsim at lists.cs.ucla.edu
> Subject: Re: [ndnSIM] Simulation stopping time
> Message-ID: <71B04578-B609-4BDA-9CE0-8489187B9522 at ucla.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi Haroon,
>
> 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.
>
> ---
> Alex
>
> 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.
> >
> > ---
> > Alex
> >
> > 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
> > http://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/20140929/c34ad728/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Tue, 30 Sep 2014 07:35:06 +0530
> From: Haroon Rashid <haroonr at iiitd.ac.in>
> To: r01942061 at ntu.edu.tw
> Cc: ndnsim at lists.cs.ucla.edu
> Subject: Re: [ndnSIM] About to parse the NDN packet in pcap file
> Message-ID:
>         <CABBWKrti-wNXXjeLiB8-0MM5FDeDjwcBdmWS2R=
> hnc0SpyamhA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Rex,
>
> For updating of Wireshark plugin you can use the following source:
>
>
> https://github.com/ProjectCCNx/ccnx/blob/master/apps/wireshark/README-wireshark-1.4.txt
>
>
> --
> Haroon Rashid
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/12d37b0b/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Tue, 30 Sep 2014 17:02:40 +0530
> From: Haroon Rashid <haroonr at iiitd.ac.in>
> To: ndnsim at lists.cs.ucla.edu
> Subject: [ndnSIM] Distributed Application in CCN domain
> Message-ID:
>         <CABBWKrtR7X=M1YHs+GF0_vx=
> 23rnpaObESK0NdTJY-3nQgonng at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear All,
>
> 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.
>
>
> 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.
>
>
> 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?
>
>
> Best,
> Haroon Rashid
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140930/b990d9db/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 4
> Date: Tue, 30 Sep 2014 13:08:50 -0700
> From: Alex Afanasyev <alexander.afanasyev at UCLA.EDU>
> To: narjes aloulou <aloulounarjes at yahoo.fr>
> Cc: ndnsim at lists.cs.ucla.edu
> Subject: Re: [ndnSIM] ForwardingStrategy & running error
> Message-ID: <B42B993E-2859-4124-94DF-B9FEB3108D81 at ucla.edu>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Narjes,
>
> In which file(s) did you define the new strategies? Are you sure they are
> compiled together with your scenario?
>
> I frequently forget to add
>
>    NS_OBJECT_ENSURE_REGISTERED(MyStrategyClass);
>
> to ensure that the new strategy is registered in NS-3 object system.
>
> ---
> Alex
>
> On Sep 27, 2014, at 3:31 AM, narjes aloulou <aloulounarjes at yahoo.fr>
> wrote:
>
> >
> > Hi,
> >
> > 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:
> >
> > finished successfully (1.131s) assert failed. cond="uid != 0",
> msg="Assert in TypeId::LookupByName:  ns3::ndn::fw::ForwardingStrategy not
> found",
> > 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>").
> >
> > (I use Ubuntu 14.04)
> >
> > Thank you for your help.
> >
> > best regards
> >
> > Narjes
> >
> >
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 30 Sep 2014 16:45:56 -0700
> From: Ilya Moiseenko <iliamo at ucla.edu>
> To: Haroon Rashid <haroonr at iiitd.ac.in>
> Cc: ndnsim at lists.cs.ucla.edu
> Subject: Re: [ndnSIM] Distributed Application in CCN domain
> Message-ID: <2F3CDC59-A99B-4698-A9E6-8AE9107C6EC8 at ucla.edu>
> Content-Type: text/plain; charset="windows-1252"
>
> I don?t work with CCNx daemon, but with NFD daemon each of your threads
> can register its own individual name like
> 1) /chatapp/thread1
> 2) /chatapp/thread2
> 3) /chatapp/thread3
>
> I didn?t understand question b), but you can have intra-process
> communication with Interest and Data packets in NFD.
>
> 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.
> You can refer to general NS-3 documentation for help.
>
> To find some information about ?pushing?  you can find the section talking
> about "Command Interests" in NFD developers guide.
>
> Ilya
>
> On Sep 30, 2014, at 4:32 AM, Haroon Rashid <haroonr at iiitd.ac.in> wrote:
>
> > Dear All,
> >
> > 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.
> >
> >
> >
> > 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.
> >
> >
> >
> > 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?
> >
> >
> >
> > Best,
> >
> > Haroon Rashid
> >
> >
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu
> > http://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/20140930/5be69d5a/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
>
> ------------------------------
>
> End of ndnSIM Digest, Vol 22, Issue 6
> *************************************
>



-- 
Haroon Rashid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20141001/266f8410/attachment.html>


More information about the ndnSIM mailing list