[Mini-NDN] Setting cache size for hosts
Andre
adcarneiro at inf.ufrgs.br
Tue Nov 3 18:19:18 PST 2020
Hello everyone,
I am running a set of experiments to evaluate the impact of different
cache sizes on nodes by running consumers and producers around a set of
data with different payload sizes. To set the cache on the topology
file, I'm using the cache parameter as follows:
[nodes]
a1: _ radius=0.5 angle=2.64159265359
b1: _ cache=0 radius=0.6 angle=3.64159265359
c1: _ cache=1 radius=1 angle=1.57079632679
d1: _ radius=1 angle=4.71238898038
[links]
a1:b1 delay=10ms
a1:c1 delay=10ms
b1:d1 delay=500ms
The topology seems to be correctly parsed, as the hostnames match and
the first transmission times make sense. However, setting a node with
cache=0 or cache=1, does not seem to have an impact since it still
manages to keep data in its local cache, resulting in very low
transmission times once the data has been received for the first time.
[main] reading results for consumer node=b1
[readResultFile] <Transmission> interest=/C2Data/a1/C2Data-1-Type1,
timeDiff=57186.000000, info=DATA, timeSinceEpoch=04/11/2020 02:01:05.653857
[readResultFile] <Transmission> interest=/C2Data/a1/C2Data-1-Type1,
timeDiff=599.000000, info=DATA, timeSinceEpoch=04/11/2020 02:01:09.212475
[readResultFile] <Transmission> interest=/C2Data/a1/C2Data-1-Type1,
timeDiff=683.000000, info=DATA, timeSinceEpoch=04/11/2020 02:01:10.579962
[readResultFile] <Transmission> interest=/C2Data/a1/C2Data-1-Type1,
timeDiff=704.000000, info=DATA, timeSinceEpoch=04/11/2020 02:01:13.073228
So I'm wondering if there is some conceptual fault to my setup, or maybe
there is an error to the way I used the topology file (which I have
based on the now deprecated minindnedit) to set the cache.
Thanks in advance,
André D. Carneiro
More information about the Mini-NDN
mailing list