[ndnSIM] A question about ndnSIM (hope for answer)
Alex Afanasyev
afanasev at cs.ucla.edu
Thu Mar 13 16:17:24 PDT 2014
On Mar 13, 2014, at 2:17 AM, 邹凡云 <zfy901 at sz.pku.edu.cn> wrote:
> Hello, Alex!
> I asked you question over the last year and thanks for your patience to answer.
> Now, I have another question about ndnSIM. I hope that you can help me.
> I use "AppDelayTracer" to obtain "hopcount".
> There's description on ndnsim.net which is "One consequence is that Interests satisfied by an app will have even hop count (min hop count = 2), and Interests satisfied from caches will have odd hop count (min hop count = 1)"
>
> In my experiment
> The number of hopcount under the path "consumer-router-router-producer" is 8. Why isn't 6(=3*2)? I don't know why there's extra two hops.
> The number of hopcount under the path "consumer-router(with cache)" is 3. Why isn't 2(=1*2)? I don't know why there's extra one hop.
Do I understand correctly that in the above path, each element represent a physical node? If so, you forgot to calculate in application contribution to hop count. When application sends out interest/data, hop count is not increased (send out is done via an appFace callback), when application receives interest/data, hop count **is** increased.
---
Alex
>
> Do you know how to explain the number of hopcount?
> I am looking forward to your reply.
> Thank you so much for reading my email.
>
> --Fanyun Zou
> Peking University
More information about the ndnSIM
mailing list