[ndnSIM] understanding payload size paramaters
Alex Afanasyev
alexander.afanasyev at ucla.edu
Thu Nov 21 19:44:37 PST 2013
Hi Yowaraj
On Nov 21, 2013, at 7:17 PM, Yowaraj Chhetri <yowarj at gmail.com> wrote:
> Dear Sir,
>
> Would you rectify my underlined doubts please. I am a new to ndnSim.
>
> 1) producerHelper.SetAttribute ("PayloadSize", StringValue("1024"));
> what does payload size 1024 mean? 1024 bits or 1024 bytes, etc ?
It is 1024 bytes.
> 2)ndnHelper.SetContentStore ("ns3::ndn::cs::Lru", "MaxSize", "100");
> what does Maxsize 100 mean? 100 entries of payload size 1024 ? or 100 bits, 100 bytes, etc?
This one is 100 entries (the location of the MaxSize parameter is "slightly" hidden, but it is here: http://ndnsim.net/doxygen/classns3_1_1ndn_1_1cs_1_1_lru.html).
> I want to set a routers cache size to 10GB, what should be my CS_Maxsize be, if the payload size is 10MB?
Should be 1000.
---
Alex
>
> Thank you very much.
>
> With kind regards,
>
> Yowaraj Chhetri
> Kyushu Univeristy,
> Fukuoka: Japan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20131121/4c11004f/attachment.html>
More information about the ndnSIM
mailing list