<div dir="ltr">Dear Mr. Klaus,<br><div><div class="gmail_extra"><br></div><div class="gmail_extra">I would like to thank you from deep of my heart for your help & guideline. <br><br>Things are working perfectly now, exactly what I am looking for. It was my fault to use a very small txt file for testing purpose.<br><br></div><div class="gmail_extra">I wish you all the best. Be well & take care.<br><br><br></div><div class="gmail_extra">Best regards<br></div><div class="gmail_extra">Muhammad<br></div><div class="gmail_extra"><br>  <br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Jan 12, 2017 at 1:06 PM, Md Toufiqul Islam <span dir="ltr"><<a href="mailto:toufiqulislam.bd@gmail.com" target="_blank">toufiqulislam.bd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Klaus,<br><br></div>Thanks for your guideline. I have done exactly how you have explained. But still no sign of showing the "Time used". Am I doing anything wrong?<br><br><b># ndnputchunks -p -v /abc < /home/remoteserver/Downloads/<wbr>rony.txt</b><br><br>Loading input ...<br>Created 1 chunks for prefix /abc<br>%FD%00%00%01Y%92%7F%7F%60<br>Data published with name: /abc/%FD%00%00%01Y%92%7F%7F%60<br><br><br><b># ndncatchunks -v -t aimd -S /abc</b><br><br>RttEstimator initial parameters:<br>    Alpha = 0.125<br>    Beta = 0.25<br>    K = 4<br>    Initial RTO = 1000 milliseconds<br>    Min RTO = 200 milliseconds<br>    Max RTO = 4000 milliseconds<br>Pipeline basic parameters:<br>    Max retries on timeout or Nack = 3<br>    Interest life time = 4000 milliseconds<br>    Allow stale content<br>    Verbose output enabled<br>    Print summary to std err enabled<br>PipelineInterestsAimd initial parameters:<br>    Initial congestion window size = 1<br>    Initial slow start threshold = 2.14748e+09<br>    Multiplicative decrease factor = 0.5<br>    Additive increase step = 1<br>    RTO check interval = 10 milliseconds<br>    Max retries on timeout or Nack = 3<br>    Conservative Window Adaptation enabled<br>    Resetting cwnd to ssthresh when loss event occurs<br>Data: Name: /abc/%FD%00%00%01Y%92%7F%7F%<wbr>60/%00%00<br>MetaInfo: ContentType: 0, FreshnessPeriod: 10000 milliseconds, FinalBlockId: %00%00<br>Content: (size: 13)<br>Signature: (type: 1, value_length: 256)<br><br>Discovered version = 1484221546336<br>Timeout for Interest /abc?ndn.MinSuffixComponents=<wbr>3&ndn.MaxSuffixComponents=3&<wbr>ndn.ChildSelector=1&ndn.Nonce=<wbr>573151652&ndn.Exclude=*,%FD%<wbr>00%00%01Y%92%7F%7F%60<br>Timeout for Interest /abc?ndn.MinSuffixComponents=<wbr>3&ndn.MaxSuffixComponents=3&<wbr>ndn.ChildSelector=1&ndn.Nonce=<wbr>2787869428&ndn.Exclude=*,%FD%<wbr>00%00%01Y%92%7F%7F%60<br>Found data with the latest version: 1484221546336<br>Hi i am rony<br><br><br><b># ndncatchunks -v -t fixed -S /abc<br><br></b>Data: Name: /abc/%FD%00%00%01Y%92%7F%7F%<wbr>60/%00%00<br>MetaInfo: ContentType: 0, FreshnessPeriod: 10000 milliseconds, FinalBlockId: %00%00<br>Content: (size: 13)<br>Signature: (type: 1, value_length: 256)<br><br>Discovered version = 1484221546336<br>Timeout for Interest /abc?ndn.MinSuffixComponents=<wbr>3&ndn.MaxSuffixComponents=3&<wbr>ndn.ChildSelector=1&ndn.Nonce=<wbr>3287183225&ndn.Exclude=*,%FD%<wbr>00%00%01Y%92%7F%7F%60<br>Timeout for Interest /abc?ndn.MinSuffixComponents=<wbr>3&ndn.MaxSuffixComponents=3&<wbr>ndn.ChildSelector=1&ndn.Nonce=<wbr>252627901&ndn.Exclude=*,%FD%<wbr>00%00%01Y%92%7F%7F%60<br>Found data with the latest version: 1484221546336<br>Hi i am rony<br><br><br><br></div>Best regards<br></div>Muhammad<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 12, 2017 at 5:38 AM, Klaus Schneider <span dir="ltr"><<a href="mailto:klaus@cs.arizona.edu" target="_blank">klaus@cs.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can get all the files with:<br>
<br>
# git clone <a href="https://gerrit.named-data.net/ndn-tools" rel="noreferrer" target="_blank">https://gerrit.named-data.net/<wbr>ndn-tools</a><br>
# cd ndn-tools/<br>
# git fetch <a href="https://gerrit.named-data.net/ndn-tools" rel="noreferrer" target="_blank">https://gerrit.named-data.net/<wbr>ndn-tools</a> refs/changes/32/3432/4 && git checkout FETCH_HEAD<br>
<br>
Then look in the folder "ndn-tools/tools/chunks/catchu<wbr>nks"<br>
<br>
Moreover, you can find them on gerrit. For example: <a href="https://gerrit.named-data.net/#/c/3432/4/tools/chunks/catchunks/pipeline-interests-fixed-window.cpp" rel="noreferrer" target="_blank">https://gerrit.named-data.net/<wbr>#/c/3432/4/tools/chunks/catchu<wbr>nks/pipeline-interests-fixed-w<wbr>indow.cpp</a><br>
<br>
Best regards,<br>
Klaus<span><br>
<br>
On 01/11/2017 07:04 PM, Md Toufiqul Islam wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Klaus,<br>
<br><span>
Thank you once again for your great help. This is exactly what I need.<br>
But as I have very bad programming experience, I couldn't able to<br>
configure it properly. Is is possible or permissible to ask you for the<br>
modified cpp & hpp file so that I can just replace with my old files?<br>
<br>
regards<br>
Muhammad<br>
<br>
On Wed, Jan 11, 2017 at 11:20 PM, Niv Sardi <<a href="mailto:xaiki@endlessm.com" target="_blank">xaiki@endlessm.com</a><br></span><span>
<mailto:<a href="mailto:xaiki@endlessm.com" target="_blank">xaiki@endlessm.com</a>>> wrote:<br>
<br>
    Hello,<br>
    you can check out our chunks implementation (a little different from<br>
    the NDN cat/put chunks one) that implements a GObject layer for<br>
    progress/complete signal if that's usefull for you:<br>
    <a href="https://github.com/endlessm/endless-ndn/blob/master/eos_data_distribution/ndn/chunks.py" rel="noreferrer" target="_blank">https://github.com/endlessm/en<wbr>dless-ndn/blob/master/eos_data<wbr>_distribution/ndn/chunks.py</a><br>
    <<a href="https://github.com/endlessm/endless-ndn/blob/master/eos_data_distribution/ndn/chunks.py" rel="noreferrer" target="_blank">https://github.com/endlessm/e<wbr>ndless-ndn/blob/master/eos_dat<wbr>a_distribution/ndn/chunks.py</a>><br>
<br>
    On Wed, Jan 11, 2017 at 6:14 PM, Klaus Schneider<br></span><div><div class="m_-2300995755583642590h5">
    <<a href="mailto:klaus@cs.arizona.edu" target="_blank">klaus@cs.arizona.edu</a> <mailto:<a href="mailto:klaus@cs.arizona.edu" target="_blank">klaus@cs.arizona.edu</a>>> wrote:<br>
<br>
        We are currently updating the ndncatchunks code:<br>
        <a href="https://gerrit.named-data.net/#/c/3432/" rel="noreferrer" target="_blank">https://gerrit.named-data.net/<wbr>#/c/3432/</a><br>
        <<a href="https://gerrit.named-data.net/#/c/3432/" rel="noreferrer" target="_blank">https://gerrit.named-data.net<wbr>/#/c/3432/</a>><br>
<br>
        you can check the code out via "git fetch<br>
        <a href="https://gerrit.named-data.net/ndn-tools" rel="noreferrer" target="_blank">https://gerrit.named-data.net/<wbr>ndn-tools</a><br>
        <<a href="https://gerrit.named-data.net/ndn-tools" rel="noreferrer" target="_blank">https://gerrit.named-data.net<wbr>/ndn-tools</a>> refs/changes/32/3432/4<br>
        && git checkout FETCH_HEAD"<br>
<br>
        It contains a function printSummary() which might be what you want:<br>
<br>
            void<br>
            PipelineInterestsFixedWindow::<wbr>printSummary() const<br>
            {<br>
              time::steady_clock::duration dur =<br>
            time::steady_clock::now() - m_startTime;<br>
              double timePassed = static_cast<double>(dur.count(<wbr>)) /<br>
            1000000; // in ms<br>
              double throughput = (8 * m_receivedSize * 1000) / timePassed;<br>
              std::string throughputUnit;<br>
<br>
              computeThroughput(throughput, throughputUnit);<br>
<br>
              std::cerr << "\nAll segments have been received.\n"<br>
                        << "Total # of segments received: " <<<br>
            m_nReceived << "\n"<br>
                        << "Time used: " << timePassed << " ms" << "\n"<br>
                        << "Goodput: " << throughput << " " <<<br>
            throughputUnit << "\n";<br>
            }<br>
<br>
<br>
        Best regards,<br>
        Klaus<br>
<br>
        On 01/11/2017 01:49 PM, Md Toufiqul Islam wrote:<br>
<br>
            Dear Klaus,<br>
<br>
            Thank you so much for your reply.  File transfer / retrieval<br>
            is not the<br>
            problem. Problem is retrieval time (millisecond).<br>
<br>
            I have already tried ndncatchunks / ndnputchunks. But these<br>
            doesn't<br>
            provide me any information about download time / retrieval<br>
            time of the<br>
            contents either. Is there any other idea ?<br>
<br>
<br>
            Best regards<br>
            Muhammad<br>
<br>
<br>
            On Wed, Jan 11, 2017 at 7:17 PM, Klaus Schneider<br>
            <<a href="mailto:klaus@cs.arizona.edu" target="_blank">klaus@cs.arizona.edu</a> <mailto:<a href="mailto:klaus@cs.arizona.edu" target="_blank">klaus@cs.arizona.edu</a>><br></div></div>
            <mailto:<a href="mailto:klaus@cs.arizona.edu" target="_blank">klaus@cs.arizona.edu</a> <mailto:<a href="mailto:klaus@cs.arizona.edu" target="_blank">klaus@cs.arizona.edu</a>>><wbr>><div><div class="m_-2300995755583642590h5"><br>
            wrote:<br>
<br>
                Hi Muhammad,<br>
<br>
                you might want to use ndncatchunks/ndnputchunks from<br>
                <a href="https://github.com/named-data/ndn-tools" rel="noreferrer" target="_blank">https://github.com/named-data/<wbr>ndn-tools</a><br>
            <<a href="https://github.com/named-data/ndn-tools" rel="noreferrer" target="_blank">https://github.com/named-data<wbr>/ndn-tools</a>><br>
                <<a href="https://github.com/named-data/ndn-tools" rel="noreferrer" target="_blank">https://github.com/named-data<wbr>/ndn-tools</a><br>
            <<a href="https://github.com/named-data/ndn-tools" rel="noreferrer" target="_blank">https://github.com/named-data<wbr>/ndn-tools</a>>><br>
<br>
                Best regards,<br>
                Klaus<br>
<br>
<br>
                On 01/11/2017 10:49 AM, Md Toufiqul Islam wrote:<br>
<br>
                    Hello Everyone,<br>
<br>
                    I hope all of you are doing great. I have a very<br>
            small question<br>
                    which I<br>
                    couldn't find any solution yet. I believe this is<br>
            the right<br>
                    place to ask<br>
                    about.<br>
<br>
                    I have installed nfd, ndn-cxx and Repo-ng on two of<br>
            computers<br>
                    willing to<br>
                    insert & retrieve data to & from data repository. I<br>
            have done this<br>
                    successfully using ndnputfile & ndngetfile command.<br>
            But after<br>
                    retrieving any data using "ndngetfile" command, it<br>
            doesn't show<br>
                    me any<br>
                    message regarding how much time it needed to fetch<br>
            the required data<br>
                    from the repository. Can anyone help me regarding<br>
            that? How can<br>
                    I see<br>
                    the download time?<br>
<br>
                    Here is an example. When I retrieve a file from one<br>
            computer to<br>
                    other,<br>
                    ndngetfile shows the following message:<br>
<br>
                            ndngetfile /example/data/1/test.txt<br>
<br>
<br>
                    INFO: End of file is reached.<br>
                    INFO: Total # of segments received: 188<br>
                    INFO: Total # bytes of content received: 187537<br>
<br>
                    On the above, there are no information about<br>
            retrieve/download<br>
                    time of<br>
                    the received data. How can I see retrieve/download<br>
            time? I will<br>
                    be glad<br>
                    to have valuable reply from yours.<br>
<br>
                    With regards<br>
                    Muhammad Toufiqul<br>
<br>
<br>
                    ______________________________<wbr>_________________<br>
                    Nfd-dev mailing list<br>
                    <a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br>
            <mailto:<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.<wbr>edu</a>><br></div></div>
            <mailto:<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.<wbr>edu</a><span><br>
            <mailto:<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.<wbr>edu</a>>><br>
<br>
            <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/m<wbr>ailman/listinfo/nfd-dev</a><br>
            <<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/nfd-dev</a>><br>
<br>
            <<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/nfd-dev</a><br>
            <<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/nfd-dev</a>>><br>
<br>
<br>
        ______________________________<wbr>_________________<br>
        Nfd-dev mailing list<br>
        <a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a> <mailto:<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.<wbr>edu</a>><br>
        <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/m<wbr>ailman/listinfo/nfd-dev</a><br>
        <<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/<wbr>mailman/listinfo/nfd-dev</a>><br>
<br>
<br>
<br>
</span></blockquote>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>