<html><head></head><body><div class="ydp634b9e62yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" dir="ltr" data-setdir="false"><div dir="ltr" data-setdir="false"><div>Hi,</div><div><br></div><div dir="ltr" data-setdir="false">I have this scenario: </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">A (consumer)    ------     B(router)    -------- <span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;"> C(router)    </span></span>-------    D (consuemr) ------  E (producer)</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">both consumer nodes (A & D) start at the same time. I expected according to NDN's basic forwarding mechanism that consumer (A) can get a response for its request from the cache of consumer (D) which is at (3) hop counts from consumer (A). However, the consumer (A) gets responses from the producer (D) not from the cache of consumer (D). How to enable caching and serving requests from caches in the intermediate node if not enabled by default?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(0, 0, 0); font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif;">One more point, using <b>ndn-cxx.nfd.Forwarder</b> log component I can see the  <span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">consumer </span>(D) go through <b>Forwarder::onContentStoreHit()</b> and the value of<b> m_counters.nCsHits  </b>counter increases. However, the <b>CS Tracer</b> does not show that.</span></span><br></div><div dir="ltr" data-setdir="false">How I can enable CS tracer in ndnSIM 2.8 to show the number of cache hits and misses. it currently shows me a text file with all CacheHits and CacheMisses are Zeroes. For example:<br></div><div><b>Time<span style="white-space: pre-wrap;">  </span>Node<span style="white-space: pre-wrap;">  </span>Type<span style="white-space: pre-wrap;">              </span>Packets</b><span style="white-space: pre-wrap;">     </span></div><div>1<span style="white-space: pre-wrap;">                  </span>0<span style="white-space: pre-wrap;">             </span>CacheHits<span style="white-space: pre-wrap;">         </span>0</div><div>1<span style="white-space: pre-wrap;">                 </span>0<span style="white-space: pre-wrap;">             </span>CacheMisses    0</div><div dir="ltr" data-setdir="false"><div><div style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">1<span style="white-space: pre-wrap;">             </span>1<span style="white-space: pre-wrap;">             </span>CacheHits<span style="white-space: pre-wrap;">         </span>0</div><div style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">1<span style="white-space: pre-wrap;">              </span>1<span style="white-space: pre-wrap;">             </span>CacheMisses    0</div></div></div><div dir="ltr" data-setdir="false"><div><div style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">1<span style="white-space: pre-wrap;">             </span>2<span style="white-space: pre-wrap;">             </span>CacheHits<span style="white-space: pre-wrap;">         </span>0</div><div style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">1<span style="white-space: pre-wrap;">              </span>2<span style="white-space: pre-wrap;">             </span>CacheMisses    0</div></div>...</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I appreciate your assistance.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">regards,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Hussein</div><div dir="ltr" data-setdir="false"><br></div><div><br></div><div><br></div></div></div></body></html>