<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi yjinking</div><div><br></div><div>Thanks for complete information and packet capture. This behavior is by design.</div><div><br></div><div>You are using the best-route v5 strategy. For this strategy, after forwarding an Interest, if another Interest with same Name+CBP+MBF arrives, it may choose to either retransmit or aggregate. As you see in the pcap, the strategy has chosen to retransmit the Interest.</div><div><a href="https://github.com/named-data/NFD/blob/b31206e87ef7b282fd0ac295f93a626048805c27/daemon/fw/retx-suppression-exponential.hpp">RetxSuppressionExponential</a> type decides between retransmit and aggregate. It gives every PIT entry a "suppression duration". If a subsequent Interest arrives within the suppression interval, the decision is "aggregate"; if a subsequent Interest arrives past the suppression interval, the decision is "retransmit". This happens at PIT entry granularity. The configuration is: initial suppression interval is 10 milliseconds, and it doubles every time the Interest is retransmitted, up to 250ms.</div><div>As pcap shows, the first Interest arrived at 1556172304.931403000, the second Interest arrived at 1556172304.949144000. The interval between these two Interests is 16ms that is greater than the initial suppression interval. Therefore, the strategy decides to retransmit.<br></div><div><br></div><div>I wish there's a way to change suppression settings via strategy parameters, but there isn't. I've entered <a href="https://redmine.named-data.net/issues/4924">NFD Feature 4924</a> to add this feature.<br></div><div><br></div><div>If you just want to see Interest aggregation in action, time your consumers better so that the Interests arrive within 10ms of each other.<br></div><div>If it's a real problem affecting your application, you may "watch" this feature on Redmine to get updates, or contribute code to that feature following contribution guidelines.</div><div><br></div><div>Yours, Junxiao</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2019 at 2:58 AM <a href="mailto:yjinking@mail.ustc.edu.cn">yjinking@mail.ustc.edu.cn</a> <<a href="mailto:yjinking@mail.ustc.edu.cn">yjinking@mail.ustc.edu.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><span></span><div>Hi, Junxiao,</div><div>Sorry, on previous email I only attached the pcap files when two Interests were issued from the same consumer node. Here are the the pcap files when two Interests were issued from two different consumer nodes.</div><div>NFD is the original one. We only added some codes in forwarder.cpp to print some information on the screen.</div><div><br></div></div>
<blockquote style="margin-top:0px;margin-bottom:0px;margin-left:0.5em"><div><div class="gmail-m_2671677364147834474FoxDiv20190425142903096908"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><blockquote style="margin-top:0px;margin-bottom:0px;margin-left:0.5em"><div><div class="gmail-m_2671677364147834474gmail-m_5355626960335456235FoxDiv20190424182726134373"><div dir="auto"><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, Apr 22, 2019, 22:16 <a href="mailto:yjinking@mail.ustc.edu.cn" target="_blank">yjinking@mail.ustc.edu.cn</a> <<a href="mailto:yjinking@mail.ustc.edu.cn" target="_blank">yjinking@mail.ustc.edu.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<div><span></span><br></div>
<div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal">Hi,all:</div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal">We encountered a problem that PIT can not aggregate two Interest packets with same name from two different nodes, but it can aggregate two Interest packets with same name from one nodes. </div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal">We run NFD on 4 physical nodes consisting "Y"-shape topology(central node is forwarder, one Producer, two Consumers). Then two experiment were conducted:</div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal"><br></div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal">1. We run ./examples/producer on producer node. We extended Producer's execution time to 5 seconds when Producer receives Interest. Then two Interest packets with same name from two different nodes were issued nearly at the same time. After about 5 second and 10 second, two Consumers received their Data packets subsequently. And two Data packets' timestamp were different. Producer responded twice.  </div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal"><br></div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal">2. In another experiment, all is same with the first experiment, except that we only use one consumer node. Two Interest packets with same name from one nodes were issued nearly at the same time. After about 5 seconds, the consumer node received 2 Data packets with same timestamp subsequently. Producer responded once. </div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal"><br></div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal">According to the process of NDN, the result of the first experiment is very strange. Why didn't PIT aggregate the second Interest? Does NFD build PIT for each face separately? or maybe is there anything wrong in our experiment?</div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal"><br></div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal">Plus, how can I print the content of FIB/CS/PIT on real time? Does NFD provide any interfaces?</div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal"><br></div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal"><br></div><div style="font-family:宋体,arial,Verdana,sans-serif;font-variant-ligatures:normal">Thank you!</div></div><hr style="width:210px;height:1px;display:none" color="#b5c4df" size="1" align="left">
<div><span></span></div>
</div><br><br>
</blockquote></div></div></div>
</div></div></blockquote>
</div></blockquote></div></div>
</div></div></blockquote>
</blockquote></div></div></div></div>