<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Shaojie,<div><br></div><div>The specified prefix "/prefix" for the ConsumerCbr doesn't mean that the application will be requesting the same thing over and over again. In fact, it will be requesting unique pieces of data, /prefix/%00, /prefix/%00%01, /prefix/%00%02, etc., none of them can benefit from caching.</div><div><br></div><div>If you want see some cache performance, you need to use several ConsumerCbr's or use different consumer, such as ConsumerZipfMandelbrot, which generates requests for data within predefined set.</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Sep 5, 2013, at 11:56 PM, 王绍节 <<a href="mailto:wsjie_happy@163.com">wsjie_happy@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; ">In my simulation (in fact it is just the example ndn-grid.cc), there is only one consumer (using the ns3::ndn::ConsumerCbr) and one producer (using the ns3::ndn::Producer), and every time it just requests the same Data named "/prefix". <div><br></div><div><br></div><div>Shaojie.Wang<br><br><br><br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2013-09-06 11:49:46,"Alex Afanasyev" <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:<br> <blockquote id="isReplyContent" style="padding-left: 1ex; margin: 0px 0px 0px 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; position: static; z-index: auto; "><div>The basic question is which consumer you're using.  Consumer* applications request different Data packets, unless you doing some thing else.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Sep 5, 2013, at 6:28 PM, 王绍节 <<a href="mailto:wsjie_happy@163.com">wsjie_happy@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial; "><blockquote type="cite"><div style="line-height: 1.7;"><div>Hi Alex,</div><div><br></div><div>Here comes up a new problem, and I need your help. In my simple simulation with NDN, I just want to test the CS, FIB, PIT. But after I set all these attributes using SetConternStore(), SetForwardingStrategy(), SetPit(), they didn't make sense. Every time the consumer sent a request, it will go to the producer, and then return a response. I think there must be something wrong, but still I find it out. Would you please help me? Thank you!</div><div><br></div><div><br></div><div>Yours sincerely,</div><div><br></div><div>Shaojie.Wang</div><div><br></div><div>Beijing China</div></div></blockquote></div></blockquote></div></blockquote></div></div></blockquote></div><br></div></body></html>