[Ndn-interest] NDN packet size
Nick Briggs
nicholas.h.briggs at gmail.com
Tue Mar 28 14:40:22 PDT 2017
It gets you 8K bytes of data along with necessary metadata and a name that isn't too long in a Content packet.
It can be encapsulated in a UDP packet with about 6 fragments when you're do IP encapsulation. (max UDP is 64K bytes)
It fits within a 9000 byte jumbo ethernet frame if you're doing direct ethernet encapsulation.
-- Nick Briggs
> On Mar 28, 2017, at 2:35 PM, Klaus Schneider <klaus at cs.arizona.EDU> wrote:
>
> Btw, what was the reason for setting the default max packet size to 8800 in the first place?
>
> Is there any drawback to increasing the default, to let's say 1 Megabyte?
>
> Best regards,
> Klaus
>
>
>
> On 03/28/2017 02:01 PM, Alex Afanasyev wrote:
>> The new ndn-cxx needs to be recompiled and installed, after which all
>> other tools and code needs to be recompiled and reinstalled.
>>
>> The packet size is used as a compile-time constant in several places
>> (definitely in NFD, not sure about tools), which requires such
>> recompilation.
>>
>> --
>> Alex
>>
>>> On Mar 28, 2017, at 3:55 PM, Thompson, Jeff <jefft0 at remap.UCLA.EDU
>>> <mailto:jefft0 at remap.UCLA.EDU>> wrote:
>>>
>>> A question to the NFD team: To increase the packet size, is it
>>> necessary to recompile/install ndn-cxx, then recompile/install NFD?
>>> - Jeff T
>>>
>>> From: Mohammad Alhowaidi <malhowaidi at gmail.com
>>> <mailto:malhowaidi at gmail.com>>
>>> Date: Tuesday, March 28, 2017 at 13:53:00
>>> To: Jeff Thompson <jefft0 at remap.ucla.edu <mailto:jefft0 at remap.ucla.edu>>
>>> Cc: "Spyridon (Spyros) Mastorakis" <mastorakis at cs.ucla.edu
>>> <mailto:mastorakis at cs.ucla.edu>>, "ndn-interest at lists.cs.ucla.edu
>>> <mailto:ndn-interest at lists.cs.ucla.edu>"
>>> <ndn-interest at lists.cs.ucla.edu <mailto:ndn-interest at lists.cs.ucla.edu>>
>>> Subject: Re: [Ndn-interest] NDN packet size
>>>
>>> I am using ndn-cxx and running the ndn-tool code ( chunks). and yes I
>>> am sending it through NFD.
>>>
>>> Thanks,
>>> Mohammad
>>>
>>> On Tue, Mar 28, 2017 at 3:50 PM, Thompson, Jeff <jefft0 at remap.ucla.edu
>>> <mailto:jefft0 at remap.ucla.edu>> wrote:
>>>> Which library are you using? And are you sending the packet through NFD?
>>>> - Jeff T
>>>>
>>>> From: Ndn-interest <ndn-interest-bounces at lists.cs.ucla.edu
>>>> <mailto:ndn-interest-bounces at lists.cs.ucla.edu>> on behalf of
>>>> Mohammad Alhowaidi <malhowaidi at gmail.com <mailto:malhowaidi at gmail.com>>
>>>> Date: Tuesday, March 28, 2017 at 13:47:00
>>>> To: "Spyridon (Spyros) Mastorakis" <mastorakis at CS.UCLA.EDU
>>>> <mailto:mastorakis at CS.UCLA.EDU>>
>>>> Cc: "ndn-interest at lists.cs.ucla.edu
>>>> <mailto:ndn-interest at lists.cs.ucla.edu>"
>>>> <ndn-interest at lists.cs.ucla.edu <mailto:ndn-interest at lists.cs.ucla.edu>>
>>>> Subject: Re: [Ndn-interest] NDN packet size
>>>>
>>>> I updated the file with value 32767 but it gives me the following error
>>>>
>>>> ERROR: Data size exceeds maximum limit
>>>>
>>>> Thanks,
>>>> Mohammad
>>>>
>>>> On Tue, Mar 28, 2017 at 1:03 PM, Spyridon (Spyros) Mastorakis
>>>> <mastorakis at cs.ucla.edu <mailto:mastorakis at cs.ucla.edu>> wrote:
>>>>> Hi,
>>>>>
>>>>> you can change this constant in the ndn-cxx library:
>>>>>
>>>>> https://github.com/named-data/ndn-cxx/blob/e78eeca5cc6c882ea1c72daaffc7678bf42f526b/src/encoding/tlv.hpp#L37
>>>>> <https://github.com/named-data/ndn-cxx/blob/e78eeca5cc6c882ea1c72daaffc7678bf42f526b/src/encoding/tlv.hpp#L37>
>>>>>
>>>>> Not clear to me if there will be further issues because of this
>>>>> change though.
>>>>>
>>>>> Hope that this helps,
>>>>>
>>>>> Spyridon (Spyros) Mastorakis
>>>>> Personal Website: http://cs.ucla.edu/~mastorakis/
>>>>> <http://cs.ucla.edu/%7Emastorakis/>
>>>>> Internet Research Laboratory
>>>>> Computer Science Department
>>>>> UCLA
>>>>>
>>>>>> On Mar 28, 2017, at 11:02 AM, Mohammad Alhowaidi
>>>>>> <malhowaidi at gmail.com <mailto:malhowaidi at gmail.com>> wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I was wondering how to increase NDN packet size, instead of using
>>>>>> 8K? and is there any limitation from increasing it?
>>>>>>
>>>>>> Thanks,
>>>>>> Mohammad
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Ndn-interest mailing list
>>> Ndn-interest at lists.cs.ucla.edu <mailto:Ndn-interest at lists.cs.ucla.edu>
>>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>>
>>
>>
>> _______________________________________________
>> Ndn-interest mailing list
>> Ndn-interest at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>>
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
More information about the Ndn-interest
mailing list