[ndnSIM] print the size of one PIT entry in bytes

Junxiao Shi shijunxiao at email.arizona.edu
Tue Jul 18 17:18:11 PDT 2017

Hi Madhurima

NFD usee STL and Boost containers extensively. As a result, there is no
direct measurement of the memory usage of each table.
For PIT in particular, it shares an index with FIB, Measurements, and
StrategyChoice, which further complicates the estimation of memory usage.

You can, however, get a rough idea through observation.
1. Pump different amount of traffic.
2. Observe NFD's counters and nfd process memory usage.
3. Find the correlation between these two.
Hint: length of names affects memory usage, so be sure to account for that.

Yours, Junxiao

On Jul 18, 2017 07:51, <madhurima.2015 at iitg.ernet.in> wrote:

Hi ndnSIM friends,

Is there any possibility to print the how much memory (in bytes) one PIT
entry consumes?? any hint how to proceed??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170718/68203cd6/attachment.html>

More information about the ndnSIM mailing list