[ndnSIM] PIT Usage

fabrizio saponaro fab.batta at gmail.com
Mon Dec 2 08:52:28 PST 2013


Hi,
I would to know the size of the PIT memory occupied, I saw the topic at
this link (
http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-February/000070.html)
and so now I'm using the SerializedSize policy, but I've a doubt.
According to documentation the MaxSize parameter would be in bytes, but,
why if I put a number as 10, 10000, or 0.001 my result it's always the same?

In my network the only consumer is a ConsumerCbr with frequency at 10000
interest per second, I want to know the usage memory of the pit of the
first router on the path of the Interest toward the producer and for now,
if set different pit size and I try to print the pitstats for this router,
my result is always:
1 5 rtr-2 10280
2.15462 5 rtr-2 20233
3.30924 5 rtr-2 20000
4.28132 5 rtr-2 20000
...

So, how is it possible that if the size pit is in bytes I got more of 20000
entries with a size of 10 bytes, and why I cannot get the amount of bytes
occupied?

Best regards,
Fabrizio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20131202/2e95ad91/attachment.html>


More information about the ndnSIM mailing list