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

1) Servers are located in different Continent. 2) Protocol in WinSCP is SFTP and Allow SCP fallback is true 3) Windows version is 2008 Server 64Bit 4) Perl version is v5.10.1 built for MSWin32-x64-multi-thread Please let me know if you need more details on this.

Replies are listed 'Best First'.
Re^7: Net::SFTP::Foreign is slow
by salva (Canon) on Jul 13, 2011 at 09:50 UTC
    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.

      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.
      Thanks a ton. SSH is faster than WinSCP. Thanks once again for the kind help.