[ndnSIM] Events randomization

Alex Afanasyev cawka1 at gmail.com
Fri Mar 22 09:38:49 PDT 2013

Hi Igor,

RngRun parameter would not help much in this case, as you have topology-defined timings (link propagation delays) that deterministically define which node receives an interest/replies with data first, resulting in "stable" selection of the packet.  

To solve the "problem", you would need somehow to introduce randomness in your scenario.   For example, you can make a new Producer app implementation that instead of immediate reply for the Interest, will schedule this reply within a short random period of time.   Another, more straightforward, opportunity would be to randomize link delays to different producers, which would approximately correspond to different volumes of cross traffic.


On Mar 21, 2013, at 4:43 PM, Igor <igorcompuff at gmail.com> wrote:

> Hi Alex,
> I'm not sure if my doubt concerns properly to NDNSim or to the NS3 simulator, but if you could help me it would be great. I'm working with a simple topology where 2 publishers and 1 consumer are connected together through a router. All the nodes have the ndn stack installed. Both publishers are able to serve all the contents that the consumer asks. For the forwarding strategy I am using Flooding. Once the consumer asks a content, both the producers receive an interest and respond with a content object. Both the content objects get the router at the same time, but, obviously, just one of them satisfies the pending interest and is forwarded to the next hop. The problem is that the router always select the content object that came from the same publisher. Such a predictable behavior do not sounds good for me and I would like to insert some randomness to this process. I have already tried to change the "RngRun" parameter but the results were the same and  now I am stuck with this problem.
> I thank you in advance.
> Best Regards,
> Igor Ribeiro.
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

More information about the ndnSIM mailing list