[ndnSIM] [Fwd: Replacement metric]

ioannoa at scss.tcd.ie ioannoa at scss.tcd.ie
Thu Aug 29 13:55:35 PDT 2013


Hello all again,

further to my previous question I have tried to also implement a metric in
the producer to hold the hits made each time regarding the interests, i.e.
how many interests were satisfied by the producer if not from a content
store of a node along the way.

i've tried to use the tracers available and made the included files.
Unfortunately, even though my file is created, the metric is always 0.
Furthermore, having a print in the function updating the metric, it seems
that it is never called! The function is set using the TracedCallback.

Now, i know that the tracer is made for all nodes and not just specifying
one, but i have tried this for an operation similar to the cache misses or
cache hits at the content store and still did not work, so can't see that
as a problem.

I have included the files. If someone has a hint, please let me know!

p.s. the changes in the producer files can be found using //(+) in the
finder!

Kind regards,
Andriana.

 ---------------------------- Original Message ----------------------------
Subject: Replacement metric
From:    ioannoa at scss.tcd.ie
Date:    Thu, August 29, 2013 11:07 am
To:      ndnsim at lists.cs.ucla.edu
--------------------------------------------------------------------------

Hello all,

I am trying to implement a replacement metric, similar to the one used for
cache hits and cache misses in content store. My issue is though that
replacement counts are not calculated in the content store but rather to
each replacement policy used. Would someone advice which way would be
proper to try to do so? I have found this post related to:
http://www.lists.cs.ucla.edu/pipermail/ndnsim/2012-December/000007.html
would the creation of a new policy be the way to go?

Thanks in advance.

Kind regards,
Andriana.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndn-producer-tracer.cc
Type: application/octet-stream
Size: 3891 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130829/e3a88099/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndn-producer-tracer.h
Type: application/octet-stream
Size: 3045 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130829/e3a88099/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndn-producer.cc
Type: application/octet-stream
Size: 4745 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130829/e3a88099/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndn-producer.h
Type: application/octet-stream
Size: 2673 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130829/e3a88099/attachment-0003.obj>


More information about the ndnSIM mailing list