[Ndn-interest] Package Fragmentation in NDN

Ilya Moiseenko iliamo at CS.UCLA.EDU
Thu Aug 27 06:45:22 PDT 2015


Hi everyone in this thread,
Please, don’t confuse a segmentation of the content into NDN Data packets with the fragmentation of NDN packets into the link layer frames.
Fragmentation is needed to pass a single Data packet over the physical link.
Segmentation is needed to convert any content that doesn’t fit into a single Data packet into multiple Data packets.

Since the original question was about segmentation, I suggest to look into Consumer / Producer API https://github.com/iliamo/Consumer-Producer-API
There are a lot of examples in this repo, but for the documentation you can refer to the attached paper.

Ilya

 

On Aug 27, 2015, at 12:42 AM, Muhammad Hosain Abdollahi Sabet <M.AbdollahiSabet at mail.sbu.ac.ir> wrote:

> Hi Matti,
> 
> Actually there is/will be fragmentation in NDN. You can take look at this:
> http://named-data.net/wp-content/uploads/2015/05/ndn-0032-1-ndn-memo-fragmentation.pdf
> This is just a memo, but it has reviewed the problem and solutions well enough.
> 
> But the need for fragmentation in above comes from the fact that MTUs may differ throughout the network. I don't think having large amounts of segments(you say names) be a problem. They could be aggregated easily.
> 
> Thanks,
> Sabet
> 
> -----Original Message-----
> From: Ndn-interest on behalf of aniesh chawla
> Sent: Thu 8/27/2015 9:00 AM
> To: Matti Lorenzen; ndn-interest at lists.cs.ucla.edu
> Subject: Re: [Ndn-interest] Package Fragmentation in NDN
> 
> Hi Matti,
> 
> ndnputfile/ndngetfile comes from repo-gn, you might have to install it.
> You can also check out ndnputchunk3, this will also do what you want. If
> you want I have created a text file sender/receiver by (modifying earlier
> producer/sender code) for large chunks of data, more like bulk transfer. I
> have tested my code for one sender and one receiver and haven't tested for
> more than one receiver(maybe some optimization have to done there)
> 
> Regards
> Aniesh
> 
> On Thu, Aug 27, 2015 at 9:48 AM, Matti Lorenzen <matti.lorenzen at tum.de>
> wrote:
> 
> > Dear Aniesh,
> > this sounds a lot like what I am looking for. Thank you.
> > I'm running ndn-cxx and NFD version 0.3.3 on Ubuntu 14.04. - if i see
> > correctly, ndnputfile is a part of NDNx, is it complatible with my current
> > setup?
> >
> > Best regards from Tokyo,
> > Matti
> >
> > _________________________________________________________________
> >
> > *Matti Lorenzen*
> > IAESTE LC München - *Outgoing*
> > IAESTE Central European Region -
> > *Vice Trainings Coordinator*
> >
> >
> > ------------------------------
> > Date: Thu, 27 Aug 2015 09:40:30 +0530
> > Subject: Re: [Ndn-interest] Package Fragmentation in NDN
> > From: aniesh at sanctumnetworks.com
> > To: matti.lorenzen at tum.de
> >
> >
> > Hi Matti,
> > I think you are looking for putting more number of segments. The largest
> > segment allowed in NDN is 8800(last I checked).
> > In order to put the file you have a tool called ndnputfile, and to get
> > there is tool ndngetfile.
> > check this out:
> > http://named-data.net/doc/0.1/manpages/ndnputfile.1.html
> >
> > Regards
> > Aniesh
> >
> > On Thu, Aug 27, 2015 at 6:31 AM, Matti Lorenzen <matti.lorenzen at tum.de>
> > wrote:
> >
> > Dear all,
> >
> > I have a question regarding the payload of Data packets.
> > I used ndnpeek and ndnpoke in order to submit an interest for a file and
> > successfully received a data packet in return. However, this data packets
> > were only returned to me if the file contained was very small (1,5kB).  Is
> > there any way to send larger files through another tool? By my
> > understanding, peek and poke are used only for exactly one packet and are
> > hence limited regarding data transfer.
> >
> > I know that data is segmented and all segments of a file would be aligned
> > underneath the file in the naming hierarchy. However, the size of these
> > segments is not so small that they would fit in a Data packet, right?
> > Otherwise large files would have a very high amount of segments.
> >
> > Thank you in advance,
> > best regards,
> > Matti Lorenzen
> >
> > _______________________________________________
> > 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150827/fd67002a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icn09-moiseenko.pdf
Type: application/pdf
Size: 591853 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150827/fd67002a/attachment.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150827/fd67002a/attachment-0001.html>


More information about the Ndn-interest mailing list