[Mini-NDN] [EXT] Timeouts in MiniNDN

Junxiao Shi shijunxiao at email.arizona.edu
Mon Apr 19 18:48:05 PDT 2021


Hi Andre

How much hardware resources did you allocate to the topology?
Since you have 8 nodes, you need at least 8 CPU cores and 8GB RAM for a
smooth operation.

If you are using ndn-cxx/examples/consumer-with-timer.cpp unchanged: each
invocation of this program sends 2 Interests, and then the program exits.
Forking and joining all those short-lived processes, as well as NFD
accepting and closing the faces, would cause significant overhead.
You should instead use a long-lived consumer program, such as the ndnping
client.

Yours, Junxiao

On Mon, Apr 19, 2021 at 9:36 PM Andre via Mini-NDN <
mini-ndn at lists.cs.ucla.edu> wrote:

> *External Email*
>
> Hi
>
>
> I am running a simple experiment generating traffic between nodes in the
> following topology, where all links have 10ms delay and 10mbits/s of
> bandwidth.
>
>
>
> I am running the default producer and consumer-with-timer from the ndn-cxx
> examples to randomly generate traffic flow between nodes. I am having an
> issue where, after a few seconds of only successful transfers, every
> consumer starts timing out on every request.
>
> When each consumer requests a packet every 100 milliseconds, I get about
> 20 timeouts for every successful transfer. As I raise this period, things
> get better and by a period of 1 second, I get no timeouts. So it seems that
> there is some limitation to how much can be consumed or produced.
>
> So I am wondering, why does this happen? Is it a limitation of the
> consumer or the producer from ndn-cxx? Or is it related to the network
> emulation?
>
>
> Thanks in advance,
>
> André Dexheimer Carneiro
>
>
>
> _______________________________________________
> Mini-NDN mailing list
> Mini-NDN at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20210419/a58c64fc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfpgooihkbjokmkb.png
Type: image/png
Size: 30362 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20210419/a58c64fc/attachment-0001.png>


More information about the Mini-NDN mailing list