[ndnSIM] ndnSIM - Producer problem

Junxiao Shi shijunxiao at email.arizona.edu
Wed Aug 30 07:53:31 PDT 2017


Hi Marzieh


> When I enable the retransmission, this is the log, and the data packet
> still does not go to relay node from the producer.
>
>
> 2s 0 nfd.Forwarder:onIncomingInterest(): [DEBUG] onIncomingInterest
> face=259 interest=/test/prefix/%FE%00
> 2s 0 nfd.Forwarder:onContentStoreMiss(): [DEBUG] onContentStoreMiss
> interest=/test/prefix/%FE%00
> 2s 0 nfd.Forwarder:onOutgoingInterest(): [DEBUG] onOutgoingInterest
> face=257 interest=/test/prefix/%FE%00
> 2.00005s 1 nfd.Forwarder:onIncomingInterest(): [DEBUG] onIncomingInterest
> face=257 interest=/test/prefix/%FE%00
> 2.00005s 1 nfd.Forwarder:onContentStoreMiss(): [DEBUG] onContentStoreMiss
> interest=/test/prefix/%FE%00
> 2.00005s 1 nfd.Forwarder:onOutgoingInterest(): [DEBUG] onOutgoingInterest
> face=256 interest=/test/prefix/%FE%00
>
What is this face 256 connected to? For a wireless node, you only need to
transmit on one wireless interface, unless they are using different
wireless frequencies.

2.00005s 1 nfd.Forwarder:onOutgoingInterest(): [DEBUG] onOutgoingInterest
> face=257 interest=/test/prefix/%FE%00
>
> 2.0001s 0 nfd.Forwarder:onIncomingInterest(): [DEBUG] onIncomingInterest
> face=256 interest=/test/prefix/%FE%00
> 2.0001s 0 nfd.Forwarder:onInterestLoop(): [DEBUG] onInterestLoop face=256
> interest=/test/prefix/%FE%00 send-Nack-duplicate
>
This one is normal. Node 0 hears the Interest transmitted by node 1, and
drops it due to duplicate Nonce. However, it shouldn't be sending a Nack to
an ad hoc wireless face. Did you mistakenly setup the face as
point-to-point?

>
> 2.0001s 2 nfd.Forwarder:onIncomingInterest(): [DEBUG] onIncomingInterest
> face=256 interest=/test/prefix/%FE%00
> 2.0001s 2 nfd.Forwarder:onContentStoreMiss(): [DEBUG] onContentStoreMiss
> interest=/test/prefix/%FE%00
> 2.0001s 2 nfd.Forwarder:onOutgoingInterest(): [DEBUG] onOutgoingInterest
> face=259 interest=/test/prefix/%FE%00
> 2.0001s 2 nfd.Forwarder:onIncomingData(): [DEBUG] onIncomingData face=259
> data=/test/prefix/%FE%00
> 2.0001s 2 nfd.Forwarder:onIncomingData(): [DEBUG] onIncomingData
> matching=/test/prefix/%FE%00
> 2.0001s 2 nfd.Forwarder:onOutgoingData(): [DEBUG] onOutgoingData face=256
> data=/test/prefix/%FE%00
>
Node 2 transmitted the Data but it's never received. This is your main
problem. It's probably caused by a collision on wireless channel. The Data
collided with node 0's Nack transmission.


> 2.00014s 0 nfd.Forwarder:onIncomingInterest(): [DEBUG] onIncomingInterest
> face=257 interest=/test/prefix/%FE%00
>
Who transmitted this Interest? I guess it's node 1's face 257.


> 2.00014s 0 nfd.Forwarder:onInterestLoop(): [DEBUG] onInterestLoop face=257
> interest=/test/prefix/%FE%00 send-Nack-duplicate
> 2.0003s 1 nfd.Forwarder:onIncomingNack(): [DEBUG] onIncomingNack face=257
> nack=/test/prefix/%FE%00~Duplicate OK
>
> 2.1001s 2 nfd.Forwarder:onInterestFinalize(): [DEBUG] onInterestFinalize
> interest=/test/prefix/%FE%00 satisfied
> 4s 0 nfd.Forwarder:onInterestUnsatisfied(): [DEBUG] onInterestUnsatisfied
> interest=/test/prefix/%FE%00
> 4s 0 nfd.Forwarder:onInterestFinalize(): [DEBUG] onInterestFinalize
> interest=/test/prefix/%FE%00 unsatisfied
> 4.00005s 1 nfd.Forwarder:onInterestUnsatisfied(): [DEBUG]
> onInterestUnsatisfied interest=/test/prefix/%FE%00
> 4.00005s 1 nfd.Forwarder:onInterestFinalize(): [DEBUG] onInterestFinalize
> interest=/test/prefix/%FE%00 unsatisfied
> 5s -1 nfd.Forwarder:onIncomingInterest(): [DEBUG] onIncomingInterest
> face=259 interest=/test/prefix/%FE%00
>
This looks like your "consumer retransmission" but it's not correctly
implemented. The retransmission should occur before InterestLifetime
expires, not after.


> 5s -1 nfd.Forwarder:onContentStoreMiss(): [DEBUG] onContentStoreMiss
> interest=/test/prefix/%FE%00
> 5s -1 nfd.Forwarder:onOutgoingInterest(): [DEBUG] onOutgoingInterest
> face=257 interest=/test/prefix/%FE%00
>
> Can the problem be because there isn't a retransmission for the data?
>
On network layer, Data can only be pulled by Interest. LpReliability can
retransmit all packets including Data at a lower layer.

Yours, Junxiao

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170830/84e60f0d/attachment.html>


More information about the ndnSIM mailing list