Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
10.6k views
in .NET FTP by (460 points)
Hi,

One of our critical things is to manage the SSH (Ftp over SSH) connections, I'm experiencing slow SSH connections when transferring files, we're getting about 1-2Mb (max) on our network here. Its the weekend so no-ones hammering our servers (which are local) but the same link with SmartFtp reaches about 8-9Mbit.

Any idea?

8 Answers

0 votes
by (51.6k points)
Are you using FTP with SmartFTP, or SFTP?

FTP is unencrypted, and will always be much faster than SFTP.

If SmartFTP is using SFTP in your tests:

Firstly, ensure that you are not doing your testing on a server that is running on the same machine as the client (i.e. localhost). Due to the convenience of such a configuration more often that not we find that that is how users are testing performance.

When you test on localhost you are excluding the dominant factor in determining file-transfer performance - i.e. the network. As a result you really end up testing CPU performance, and hence getting results that won't reflect the real-world performance of your application. Though not as extreme, this same principle applies when comparing LAN-based transfers with Internet-based transfers.

Internet transfers will yield transfer speeds down to dozens of kilobytes per second, whereas LAN transfers will generally be in the high hundreds or thousands. In reality, CPU-bound performance makes little difference when transferring across a relatively slow network connection since the vast majority of the time is spent waiting for the network.

Secondly, ensure that you are testing the same ciphers. Ciphers vary greatly in speed. For example, 3DES tends to be much slower than the AES or blowfish algorithms. You can usually see which ciphers are being used by looking at the logs. Most clients, including edtFTPnet/PRO, allow you to control which ciphers are employed.


- Hans (EnterpriseDT)
0 votes
by (460 points)
Hi Hans,

Thanks for the reply, the server is local to the LAN (another server not localhost).

SmartFTP is using SFTP (so Ftp over SSH). Actually I think the difference comes down to something like 1.5-1.8Mbps for edt, 4-5Mbps for SmartFTP.

I'll see what ciphers are being used :-) Its a stock standard OpenSSH installation on Ubuntu-Server 7.10 (not moved to 8.04).
0 votes
by (162k points)
We also go through phases of lots of development (which we have recently) and it is probably time for us to take another good look at optimizing net/pro's SFTP performance.
0 votes
by (460 points)
Cool thanks for the reply, I look forward to seeing how much you can squeeze out as the Ciphers etc have done little to change the speeds :( Rebex seems to peak at about the same rate as SmartFTP though no where near as lightweight as edt.
0 votes
by (162k points)
If you don't mind emailing us a zipped log file at the All level of a transfer of say a 200K file that will help a lot. Different networks vary enormously and the timings in your log will tell us where your bottlenecks are.
0 votes
by (420 points)
Hi,

Was there a resolution to this? I just grabbed the latest release and tried it out, FileZilla can manage about 10MBs whereas Edt is stuck around 2-3MBs. Is there a setting somewhere we increase the buffer size or something else that may be causing this?
0 votes
by (162k points)
Hi, we've been tied up big time with the release of our new FTPS server (see http://www.enterprisedt.com/products/co ... rview.html).

Now that it has been released we are catching up on documentation, optimization and other bits & pieces. One of the biggest priorities is to optimize SFTP performance - we'll be working on that over the coming week - so I hope to give you some good news very soon.
0 votes
by (420 points)
great to hear :) looking forward to see what you guys cook up...

Like the late Big Kev used to say.... I'm EXCITED!

Categories

...