[ndnSIM] How to set content packet size?

Muhammad Faran m.faran.majeed at gmail.com
Fri Jan 22 21:00:19 PST 2016


Also,

Is there a way to change the replacement policy in new CS implementation?

Kind regards,

Muhammad Faran Majeed,
AIT, Thailand

On Sat, Jan 23, 2016 at 11:34 AM, Muhammad Faran <m.faran.majeed at gmail.com>
wrote:

> One more thing,
>
> while setting up the CS cache size, what will be CS size in packets for 43
> MB of CS cache size?
>
> Kind regards,
>
> Muhammad Faran Majeed,
> AIT, Thailand
>
> On Fri, Jan 22, 2016 at 2:11 PM, Muhammad Faran <m.faran.majeed at gmail.com>
> wrote:
>
>> Thank you Yuhang and Spyros for your kind reply. :)
>>
>> Kind regards,
>>
>> Muhammad Faran Majeed,
>> AIT, Thailand
>>
>> On Fri, Jan 22, 2016 at 12:23 AM, Spyridon (Spyros) Mastorakis <
>> mastorakis at cs.ucla.edu> wrote:
>>
>>> Folks,
>>>
>>> just to add something to Yuhang’s response:
>>>
>>> You will have to change the value of the following constant variable as
>>> well. This variable determines the maximum NDN packet size:
>>>
>>>
>>> https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39
>>>
>>> As Yuhang pointed out, though, sending out data packets of size 1MB is
>>> not very practical.
>>>
>>> Spyridon (Spyros) Mastorakis
>>> Personal Website: http://cs.ucla.edu/~mastorakis/
>>> Internet Research Laboratory
>>> Computer Science Department
>>> UCLA
>>>
>>>
>>> On Jan 21, 2016, at 8:33 AM, Yuhang Ye <yye at research.ait.ie> wrote:
>>>
>>> Hi Muhammad,
>>>
>>> The current version of ndnSIM\NFD are running on the PointToPoint
>>> device, the default MTU is 1500 (Ethernet), you can use method "SetMtu()"
>>> to change it. However, it is impractical to have 1MB "packets" transmission
>>> in real world. So you need to segment the chunks into MTU size packets
>>> before transmission.
>>>
>>> Best Regards
>>> Yuhang
>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160123/da60bbed/attachment.html>


More information about the ndnSIM mailing list