Skip to content

Low throughput for sFTP over high latency high bandwith network #1122

Open

Description

@anoop331

Our client (that uses ssh.net) runs on AWS and the sftp server is hosted on Prem, and our uploads are multi-threaded.
We use the default UploadFile() method, which through various tests seem to perform the best on this network.

We however are seeing that the performance is way below par when compared to the sftp command from openssh for a single thread.
Like 3 times slower.
And with multiple threads, it goes crazy slow, to the point that the total throughput from all the threads are lower than that it gets from a single thread.

OpenSSH's sftp command on the other hand scales quite well.

Open SSH has a patch called HPN-SSH for such networks, not sure if something can be inspired from that.

Activity

  1. anoop331 commented on May 21, 2023

    @anoop331
    Author

    Further tests revealed that its not latency that is creating the problem but the fact that the network is an IPSEC VPN tunnel.
    Apparently, SSH.net fairs poorly over a VPN tunnel, 4 times slower, compared to sftp command of OpenSSH, and twice as slower using Winscp (the wrapper).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions