[ndnSIM] What is the maximum size of a Data packet ?

Susmit susmit at cs.colostate.edu
Tue Mar 20 08:57:25 PDT 2018


Hi Adrien,

The first is the theoritical maximum but that does not mean you should
have a packet that big.
By default, NDN uses 8800 byte packets, you can change it if you need to.
There are several considerations you need to take into account before
using large packets, fragmentation/reassembly, effect on router
queues,
effect on retransmission etc.

On Tue, Mar 20, 2018 at 3:42 AM, Adrien Thibaud
<adrien.thibaud at tesa.prd.fr> wrote:
> Hi everyone,
>
> I am a little bit confused about the maximum size a NDN packet can have.
>
> In the specification
> (http://named-data.net/doc/NDN-packet-spec/current/tlv.html), it says that
> the length can be encoded on 8 octets, so the maximum size should be 2^64
> octets.
>
> But in the code, there is a constante MAX_NDN_PACKET_SIZE set to 8800
> (octet) and is define as the "practical limit of network layer packet size"
> (https://github.com/named-data-ndnSIM/ndn-cxx/blob/ndn-cxx-0.3.4-ndnSIM/src/encoding/tlv.hpp#L39).
>
> Does anyone know which is the real maximum size ?
>
> Maybe the specification is not up-to-date ...
>
> Thank you,
>
> Adrien
>
> --
> Adrien THIBAUD
> PhD Student
> INP Toulouse - ENSEEIHT
> University of Toulouse, France
> TéSA Cooperative research laboratory
> IRIT Research Laboratory
>
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim



-- 

====================================
http://www.cs.colostate.edu/~susmit
====================================


More information about the ndnSIM mailing list