[Ndn-interest] trouble with downloading File size > 1MB

Ishita Dasgupta ishita.dasgupta at gmail.com
Sat Jul 15 09:32:31 PDT 2017


Hi All,

I am trying to study performance of file download over ndn across different
file sizes.
I am using ndnfs-port server to do the same, but I am receiving weird
anomaly for file sizes > 1 MB.
It works fine for file sizes of 1KB,10KB and 100KB, but when it comes to
1MB or greater, the ndnfs server application gives the following debug log
for the last segment for each of these files

- 1500131726 DEBUG: sign_segment: path=/1MB.txt, ver=1500131708, seg=127,
> len=8192
> - 1500131726 DEBUG: sign_segment: segment name is
> /ndn/broadcast/ndnfs/1MB.txt/%FDYj1%7C/%00%7F
> - 1500131726 DEBUG: sign_segment: path=/1MB.txt, ver=1500131708, seg=128,
> len=0
> - 1500131726 DEBUG: sign_segment: segment name is
> /ndn/broadcast/ndnfs/1MB.txt/%FDYj1%7C/%00%80



> - 1499891047 DEBUG: sign_segment: path=/10MB.txt, ver=1499890866,
> seg=1279, len=8192
> - 1499891047 DEBUG: sign_segment: segment name is
> /ndn/broadcast/ndnfs/10MB.txt/%FDYf%84%B2/%00%04%FF
> - 1499891047 DEBUG: sign_segment: path=/10MB.txt, ver=1499890866,
> seg=1280, len=0
> - 1499891047 DEBUG: sign_segment: segment name is
> /ndn/broadcast/ndnfs/10MB.txt/%FDYf%84%B2/%00%05%00


- 1499893665 DEBUG: sign_segment: path=/100MB.txt, ver=1499892176,
> seg=12799, len=8192
> - 1499893665 DEBUG: sign_segment: segment name is
> /ndn/broadcast/ndnfs/100MB.txt/%FDYf%89%D0/%001%FF
> - 1499893665 DEBUG: sign_segment: path=/100MB.txt, ver=1499892176,
> seg=12800, len=0
> - 1499893665 DEBUG: sign_segment: segment name is
> /ndn/broadcast/ndnfs/100MB.txt/%FDYf%89%D0/%002%00



This further causes *“File empty” for the last data packet when using PyNDN
client**.* The client works fine as long as the last segment (data packet)
size on the server is not 0.

Does anyone have any clue as to why this might be happening? Could this be
a problem with the files itself? I know ndnfs-port fixes file segment sizes
to 8KB, but I couldn't find any explanation that would suggest that it has
a size limit when it comes to file download.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20170715/444de1fb/attachment.html>


More information about the Ndn-interest mailing list