[ndnSIM] Fwd: Seeking help regarding ndnsim; intreset with different sequence number

Ravi Kumar Singh rk8000 at g.rit.edu
Tue Apr 12 23:13:14 PDT 2016


Forgot to include team.

---------- Forwarded message ----------
From: Ravi Kumar Singh <rk8000 at g.rit.edu>
Date: Wed, Apr 13, 2016 at 2:11 AM
Subject: Re: [ndnSIM] Seeking help regarding ndnsim; intreset with
different sequence number
To: Lixia Zhang <lixia at cs.ucla.edu>


Thanks Lixia! I will try setting  up a second consumer to request the same
data.
But, in our experiment, we need to see what happens when the same consumer
requests the same interest multiple times. I tried writing my own
implementation of a consumer, but still only the first interest is working
well and rest all interest are *not even* forwarding from the
consumer(same) itself.

Following is a log of its operation ( with my own implemention of one
consumer sending three same interest):

1: 1s 0 CustomApp:SendInterest(): [DEBUG] Sending Interest packet for
/root/%FE%00?ndn.InterestLifetime=1000&ndn.Nonce=4231791817
2: 1s 0 CustomApp:SendInterest(): [DEBUG] Sending Interest packet for
/root/%FE%00?ndn.InterestLifetime=1000&ndn.Nonce=2837832477
3: 1s 0 CustomApp:SendInterest(): [DEBUG] Sending Interest packet for
/root/%FE%00?ndn.InterestLifetime=1000&ndn.Nonce=2794407255
4: 1.01002s 1 ndn.cs.Lru:Lookup(0x1493c10, /root/%FE%00)
5: 1.02004s 2 ndn.Producer:OnInterest(0x14fce90, 0x1528ae8)
6: 1.02004s 2 ndn.Producer:OnInterest(): [INFO ] node(2) responding with
Data: /root/%FE%00
7: 1.03089s 1 ndn.cs.Lru:Add(0x1493c10, /root/%FE%00)
8: 1.04174s 0 CustomApp:OnData(): [DEBUG] Receiving Data packet for
/root/%FE%00

As, you can see from the log, only first interest is working file and rest
2 interest are *not even* forwarding from the consumer itself.

Please suggest!

Regards,
Ravi

On Wed, Apr 13, 2016 at 12:31 AM, Lixia Zhang <lixia at cs.ucla.edu> wrote:

>
> On Apr 12, 2016, at 9:20 PM, Ravi Kumar Singh <rk8000 at g.rit.edu> wrote:
>
> Hi Team,
>
> I am a Graduate student of Rochester Institue of Technology, New York.
> Currently, I am working on a research paper based on NDN along with my Prof.
> Currently, we want to simulate the NDN with your software NDNSIM. We want
> to simulate the scenario where the consumer is sending the same interest
> (same sequence number) multiple times to the producer so that the cache
> Server would serve the interest as it would have the content in its cache
> instead of serving the request from the producer.
> We tried googling but couldn't found any relevant link for this scenario.
>
> Requesting you to please help us on how we can simulate the scenario where
> the consumer is sending the same interest(same sequence number) instead of
> the incremental sequence number (default behaviour).
>
>
> it seems to me easier to set up a second consumer to request the same
> data, rather than forcing the same consumer to send repeated interest.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160413/4aefe260/attachment.html>


More information about the ndnSIM mailing list