<div dir="ltr"><div><div><div><div><div><div>Hello Junxiao,<br><br></div><br></div>Producer and consumer are not directly connected, because I am using two NFDs for the communication. <br></div><div>They're running on two different hosts.<br></div><div>I show you in more details the configuration:<br></div><div><br><br></div>Producer + NFD <-----------------------------<wbr>------------------------------<wbr>> NFD + Consumer <br><br></div><div>I set the UDP face and the number of packets lost is huge.<br></div>I tried to set the ether face and it seems that the number of packets lost is much higher. <br></div><div>In TCP, except for the beginning when I get lost some packets, the situation is always stable and I never loose packets. <div class="gmail-yj6qo gmail-ajU"><div id="gmail-:kr" class="gmail-ajR" tabindex="0"><img class="gmail-ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-31 10:13 GMT+01:00 Giuseppe Carella <span dir="ltr"><<a href="mailto:gcarella228@gmail.com" target="_blank">gcarella228@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hello Junxiao,<br><br></div><br></div>Producer and consumer are not directly connected, because I am using two NFDs for the communication. <br></div><div>They're running on two different hosts.<br></div><div>I show you in more details the configuration:<br></div><div><br><br></div>Producer + NFD <-----------------------------<wbr>------------------------------<wbr>> NFD + Consumer <br><br></div><div>I set the UDP face and the number of packets lost is huge.<br></div>I tried to set the ether face and it seems that the number of packets lost is much higher. <br></div><div>In TCP, except for the beginning when I get lost some packets, the situation is always stable and I never loose packets. <br><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Giuseppe.<br><div><div><div><br><br><br></div></div></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-01-30 15:37 GMT+01:00 Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span><wbr>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Guiseppe<div><br></div><div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">What is the Interest interval from each ndnping? `ndnping /app1` without any other argument gives an Interest interval of 1000ms, i.e. the producer answers nine Interests per second. At such a low rate, your problem is not congestion or processing overhead, but somewhere else.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">I saw you are using UDP. 6KB is above the default Ethernet MTU, so the IP stack is going to fragment the IP packet.</div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">Are your two nodes directly connected? If yes, use Ethernet instead of UDP.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">If there are multiple hops, do you control every link? If yes, increase MTU so that the Data packets fit in MTU and thus do not require IP fragmentation.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial">If you cannot control every link, ask your network administrator to fix problems in their middleboxes (especially firewalls and NAT routers). An IP-complaint node is required to forward fragmented IP packets correctly, and not drop or alter them.</div><div><br></div><div>Yours, Junxiao</div><div><div class="m_5996421779043214233h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 30, 2018 at 8:36 AM, Giuseppe Carella <span dir="ltr"><<a href="mailto:gcarella228@gmail.com" target="_blank">gcarella228@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Good morning community,<br><br></div>I have modified ndn tools in order to send a 6KB answer for each ndnping. <br></div><div>I have done an experiment, using udp4 face and opening 9 command lines from which I <br></div><div>launched the command "ndnping /app1".<br></div><div>This is the configuration:<br><br></div><div>producer(ndnpingserver /app1) <-----------------------------<wbr>> consumer(9 ndnping /app1). <br><br></div><div>What I notice is that a lot of packets are lost. It means that there is a problem of congestion in the case NFD receive too many interest packets.<br></div><div>Do you know if there is a way to configure NFD in order to reduce the congestion and loss packets?<br></div><div>What I have done at the applicative layer to limit this problem is not enough unfortunately.  <br></div><div><br></div><div><br></div><div>Thank you.<span class="m_5996421779043214233m_-8844913055952400573m_-4434279854392134551m_2161180805220224322HOEnZb"><font color="#888888"><br></font></span></div><span class="m_5996421779043214233m_-8844913055952400573m_-4434279854392134551m_2161180805220224322HOEnZb"><font color="#888888"><div>Giuseppe.<br></div></font></span></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>