<div dir="ltr"><div>Hi Marwa</div><div><br></div><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 dir="ltr"><div>in pic. 1 , the data packet ,in the second request with the rtt=1.8, is a cached data packet because there is a forwarder so there is a cache and the rtt is very small, is that correct?</div></div></blockquote><div><div><br></div><div>No, it's unlikely a cached Data packet.</div><div>Although ping packets are cacheable, ndnping programs use two techniques to reduce the likelihood of receiving a cached response packet:</div><div><ul><li>Each Interest name has a random sequence number component.</li><li>Interest carries the MustBeFresh flag, and Data has FreshnessPeriod=1ms. This combination means that the cached packet would expire after 1 millisecond.</li></ul></div></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> so if I want to determine the cache hit ratio in a network with multiple nodes I can use the ndnping, ndnpingserver ?</div></div></blockquote><div><br></div><div>You can observe Content Store counters with <font face="monospace">nfdc cs info</font> command. It tells you how many CS hits and CS misses have occurred since NFD started.</div><div>As explained above, ndnping is unlikely to generate CS hits. A file transfer application such as <a href="https://ndnts-docs.ndn.today/typedoc/modules/cat.html">@ndn/cat</a> would generate CS hits.</div><div><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>2 - Is there any ndn- library that is compatible with the p4 programmable switches? or POF programmable switches?</div></div></blockquote><div><br></div><div>There was a P4 related presentation at NDN Community Meeting 2020.</div><div>You can watch the video at <a href="https://ndnts-video.ndn.today/" target="_blank">https://ndnts-video.ndn.today/</a> , select "A Novel P4 Target Architecture for Runtime-Reconfigurable NDN Data Planes".</div><div><br></div><div>Yours, Junxiao</div><div><br></div></div></div>