[ndnSIM] question about FIB in chronosync-simple

Xinyu Ma bitmxy at gmail.com
Sun Oct 7 02:52:15 PDT 2018


Hello, Enguang,

2018年10月5日(金) 0:35 Enguang Fan <johnsonfan1999 at gmail.com>:

> Hi Spyros,
> I find your scenario about  chronosync
> <https://github.com/spirosmastorakis/scenario-ChronoSync> is very
> interesting and helpful to me.
>
> Yet I still some questions
>
>
>    - I 've noticed that in chronosync-simple.cpp, you manually configure
>    the FIB instead of using global routing helper, is it because
>    chronosync-app is not compatible with existing global routing helper?
>
>
>
>    - why you donnot need to configure FIB for packet whose prefix are
>    "/peer1/" and "/peer2/" ,is it because they can simply follow the path of
>    sync packet? Yet I cannot find any hints in Let's ChronoSync
>    <http://irl.cs.ucla.edu/~zhenkai/papers/chronosync.pdf>.
>
>
> In the simple scenario,
node0 -- node1 -- node2
the FIB table of node0 will be like this:
/ node1
/ndn/peer1 Application
/ndn/broadcast/sync Application, node1

The first entry is set by ndnHelper.SetDefaultRoutes(true);.
Yes, your scenario doesn't work just because you forgot this line.
That means the interest whose prefix is "/ndn/peer2" will not be forwarded,
for no matches in FIB.
The path towards the Application in second and third entry is set up by
ChronoSync.
And in the entry /ndn/broadcast/sync the path to node1 is set up manually.
Maybe this can explain why you still need to manually configure FIB routes
for the broadcast sync interest.


>
>    -     what is the use of periodic publishing, it is data or interest
>    that is published?
>
>
> It seems that if this attribute is true, the app will publish a new data
repeatly after a random time interval.
I don't know well, actually.

>
>
> I've also tried to use chronosync-app in 9-grid-topology , but it seems no
> data is exchanged between 2 nodes, could anyone give me some help, please?
>
>
Besides, it seems that ChronoSync doesn't compile after ndn-cxx for ndnSim
changed "boost::asio::io_service" into "ndn::DummyIoService".
Maybe we should fix it?

Best wishes,
Xinyu Ma.


> Yours,
> Enguang
> _______________________________________________
> 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/20181007/94d3650c/attachment.html>


More information about the ndnSIM mailing list