Hi Salva, There is no improvement of adding the queue_size. I trust there is no issue with network as am able to download same file by WinSCP and performance is far better. I don't have your mail id so attaching some part of the debug message here

#8788 1310498030.00000 got it!, len:32777, code:103, id:109, status: - #8788 1310498030.00000 queueing msg len: 25, code:5, id:141 ... [32] #8788 1310498030.00000 waiting for message... [32] #8788 1310498031.00000 got it!, len:32777, code:103, id:110, status: - #8788 1310498031.00000 queueing msg len: 25, code:5, id:142 ... [32] #8788 1310498031.00000 waiting for message... [32] #8788 1310498032.00000 got it!, len:32777, code:103, id:111, status: - #8788 1310498032.00000 queueing msg len: 25, code:5, id:143 ... [32] #8788 1310498032.00000 waiting for message... [32] #8788 1310498033.00000 got it!, len:32777, code:103, id:112, status: - #8788 1310498033.00000 queueing msg len: 25, code:5, id:144 ... [32] #8788 1310498033.00000 waiting for message... [32] #8788 1310498034.00000 got it!, len:32777, code:103, id:113, status: - #8788 1310498034.00000 queueing msg len: 25, code:5, id:145 ... [32] #8788 1310498034.00000 waiting for message... [32] #8788 1310498035.00000 got it!, len:32777, code:103, id:114, status: - #8788 1310498035.00000 queueing msg len: 25, code:5, id:146 ... [32] #8788 1310498035.00000 waiting for message... [32] #8788 1310498037.00000 got it!, len:32777, code:103, id:115, status: - #8788 1310498037.00000 queueing msg len: 25, code:5, id:147 ... [32] #8788 1310498037.00000 waiting for message... [32] #8788 1310498038.00000 got it!, len:32777, code:103, id:116, status: - #8788 1310498038.00000 queueing msg len: 25, code:5, id:148 ... [32]

In reply to Re^2: Net::SFTP::Foreign is slow by ssubrat77
in thread Net::SFTP::Foreign is slow by ssubrat77

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.