[ndnSIM] ndnAppDelayTracer

Salwa Abdelwahed salwa201067 at gmail.com
Fri May 31 04:03:57 PDT 2024


No Sirapop,
ndn-consumer.cpp , contains all the trace sources.

Le ven. 31 mai 2024 à 01:07, Sirapop Theeranantachai <sirapop741 at gmail.com>
a écrit :

> Hi, Salwa
>
> DelayTracer records the delay when the Application installed in a node
> receives the Data it requests.
> If that's the case, I suspect that the delay tracer is unable to either 1)
> attach to the installed application due or 2) the data doesn't arrive at
> the original interest sender. Could you check if the Data packet actually
> arrives at the Interest sender?
>
> If the data already arrives at the node, the consumer application should
> have the following lines to inform the tracer.
>
>
> https://github.com/named-data-ndnSIM/ndnSIM/blob/90d50396654dabad54b6979f2dc8fa929ade544c/apps/ndn-consumer.cpp#L68C1-L76C77
>
> I'm not familiar with VNDN, but it is possible that the Consumer you are
> currently using does not contain
>
>>       .AddTraceSource("LastRetransmittedInterestDataDelay",
>>                       "Delay between last retransmitted Interest and
>> received Data",
>>
>> MakeTraceSourceAccessor(&Consumer::m_lastRetransmittedInterestDataDelay),
>>
>> "ns3::ndn::Consumer::LastRetransmittedInterestDataDelayCallback")
>>
>>       .AddTraceSource("FirstInterestDataDelay",
>>                       "Delay between first transmitted Interest and
>> received Data",
>>
>> MakeTraceSourceAccessor(&Consumer::m_firstInterestDataDelay),
>>
>> "ns3::ndn::Consumer::FirstInterestDataDelayCallback");
>
>
> Hope this helps.
>
> On Thu, May 30, 2024, 12:16 PM Salwa Abdelwahed <salwa201067 at gmail.com>
> wrote:
>
>> Hi Sirapop ,
>> Thanks for response.
>>
>> I'm simulating a VNDN scenario.
>> I used other app tracers , it's functional.
>> But the problem is with the delay tracer, even if i use à simple ndn
>> scenario.
>>
>>
>>
>> Le jeu. 30 mai 2024, 20:13, Salwa Abdelwahed <salwa201067 at gmail.com> a
>> écrit :
>>
>>> Hi Sirapop ,
>>> Thanks for response.
>>> I'm simulating a VNDN scenario.
>>> I used other app tracers , it's functional.
>>> But the problem is with the delay tracer .
>>>
>>> Le jeu. 30 mai 2024, 18:32, Sirapop Theeranantachai <
>>> sirapop741 at gmail.com> a écrit :
>>>
>>>> Hi,
>>>> Could you please kindly provide a bit more information about the
>>>> scenario you are running? You should be able to see the delays in the txt
>>>> file if the consumer receives the data. Maybe add ndn.Consumer to NS_LOG to
>>>> see whether the data arrives?
>>>> Thank you.
>>>>
>>>> On Thu, May 30, 2024, 9:08 AM Salwa Abdelwahed via ndnSIM <
>>>> ndnsim at lists.cs.ucla.edu> wrote:
>>>>
>>>>> Hi all ,
>>>>>
>>>>> I'm trying an ndnSIM simulation example with: AppDelayTracer
>>>>> I get an empty .txt file .
>>>>> I don't know if there are other things to add to get results .
>>>>>
>>>>> Thanks
>>>>> _______________________________________________
>>>>> 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/20240531/f38b10a3/attachment.htm>


More information about the ndnSIM mailing list