in reply to Re^6: Net::SFTP::Foreign is slow
in thread Net::SFTP::Foreign is slow

Even if it is in a different continent I don't think latency could be the issue with a queue size of 32 packets (for instance, for a connection with 1 second of round trip, with quote_size=>32, the transfer speed would be limited to 1MB/s). Anyway, you can try increasing it to 64 or 128 just to be sure.

Second think to try is changing the transport layer. Use the Net_SSH2 backend or the OpenSSH client instead of plink and see how it goes.

Replies are listed 'Best First'.
Re^8: Net::SFTP::Foreign is slow
by ssubrat77 (Novice) on Jul 13, 2011 at 17:57 UTC
    Thanks a ton. SSH is faster than WinSCP. Thanks once again for the kind help.
Re^8: Net::SFTP::Foreign is slow
by ssubrat77 (Novice) on Jul 13, 2011 at 15:46 UTC

    I tried with 128 but no change in performance. I am trying for SSH2 backend but facing some issues. Can you please suggest some other OpenSSH client instead of plink.

      OpenSSH, on Windows, you should be able to install it as part of Cygwin.