<div dir="ltr">Dear Andrew,<div><br></div><div>In NFD, the self-learning strategy relies on the RIB manager to manage FIB updates, and the RIB manager is running on a separate thread. In ndnSIM, the RIB manager/thread seems not to be imported with NFD, hence the self-learning strategy cannot work. One possible solution is to modify the self-learning strategy to update FIB directly instead of relying on the RIB manager in ndnSIM (by replacing code snippets start with <i>runOnRibIoService</i>).</div><div><br></div><div>Best regards,<br></div><div>Teng</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 2, 2020 at 12:22 PM Andrew S via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</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"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr"><div>After all my attempts it still fails like shown before.</div><div>The main problem is that it cannot correctly send data back - in most cases data is sent back only when it hits cache (and for a single hop, as things repeat on the next one).<br></div><div><br></div><div>If anyone had any experience with Self-Learning strategy, please, let me know.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 26 авг. 2020 г. в 20:00, Andrew S <<a href="mailto:forelf1@gmail.com" target="_blank">forelf1@gmail.com</a>>:<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 dir="ltr"><div>Hello,</div><div>I'm currently working on implementing custom forwarding strategy and would like to compare it to the existing ones.</div><div><br></div><div>I could not find any examples of Self Learning strategy, thus I just modified the ndn-grid scenario to use self-learning strategy instead of best-route one. I as well removed the GlobalRoutingHelper (as far as I understand Self strategy does not need it).</div><div></div><div>The outcome of the simulation is not what I expected:</div><div><br></div><div style="margin-left:40px">Time       Node    AppId   SeqNo   Type    DelayS  DelayUS RetxCount       HopCount<br>4.11533       0       0       1       LastDelay       0.115328        115328  1       4<br>4.11533      0       0       1       FullDelay       3.11533 3.11533e+06     2       4<br>7.0865       0       0       0       LastDelay       0.086496        86496   1       4<br>7.0865       0       0       0       FullDelay       7.0865  7.0865e+06      3       4<br>12.1153      0       0       2       LastDelay       0.115328        115328  1       4<br>12.1153      0       0       2       FullDelay       9.11533 9.11533e+06     2       4</div><div><br></div><div>So just three satisfied interests over 20 seconds with CBR of 1 interest per second.</div><div><br></div><div>This is the default latest ndnSIM with no modifications except for the ones I described above.<br></div><div><div><br></div><div>Could somebody clarify to me if this is the expected way of how self-learning strategy works? Or am I missing something?</div><div><br></div><div>Thanks in advance for any help!<br></div><div><br>-- <br><div dir="ltr">Andrew S.<br></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Andrew S.<br></div>
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div>