PDA

View Full Version : slow download speed via sftp


John Root
10-27-2016, 12:15 AM
hello!

getting slow download speeds via sftp...

Key exchange: curve25519-sha256@libssh.org. Session encryption: chacha20-poly1305@openssh.com, MAC: <implicit>, compression: zlib@openssh.com.
Connection established with OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 (SFTP v3)

getting about 2mb/sec down, while filezilla does about 12mb/sec... :confused:

hoping for a fix or is there an issue on my end...?

kind regards

bigstar
10-27-2016, 09:54 AM
Are you using the same ciphers and compression settings in filezilla?

John Root
10-29-2016, 02:05 AM
oh - I thought it would get handled by default...

filezilla:
Trace: Server supports delayed compression; will try this later
Trace: Doing ECDH key exchange with curve Curve25519 and hash SHA-256
Trace: Initialised AES-256 GCM client->server encryption
Trace: Initialised AES256 GCM client->server MAC algorithm (in ETM mode) (required by cipher)
Trace: Initialised AES-256 GCM server->client encryption
Trace: Initialised AES256 GCM server->client MAC algorithm (in ETM mode) (required by cipher)
Trace: Sent password
Trace: Access granted
Trace: Initiating key re-exchange (enabling delayed compression)
Trace: Opening session as main channel
Trace: Server supports delayed compression; will try this later
Trace: Doing ECDH key exchange with curve Curve25519 and hash SHA-256
Trace: Initialised AES-256 GCM client->server encryption
Trace: Initialised AES256 GCM client->server MAC algorithm (in ETM mode) (required by cipher)
Trace: Initialised zlib (RFC1950) compression
Trace: Initialised AES-256 GCM server->client encryption
Trace: Initialised AES256 GCM server->client MAC algorithm (in ETM mode) (required by cipher)
Trace: Initialised zlib (RFC1950) decompression

I switched in flashfxp... prolly I'm choosing still wrong ones...

[09:00:01] [R] Key exchange: curve25519-sha256@libssh.org. Session encryption: aes256-gcm@openssh.com, MAC: <implicit>, compression: zlib@openssh.com.
[09:00:01] [R] Auth Type: Password
[09:00:01] [R] Authentication succeeded
[09:00:01] [R] SSH Connection open
[09:00:03] [R] Connection established with OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 (SFTP v3)

as I'm still stuck @2mb/sec...

bigstar
10-29-2016, 09:40 AM
Please upgrade to 5.4.0 build 3950 and see if the speed is better, if not please post the information from Help > About > Details tab in your reply.

John Root
10-29-2016, 11:00 AM
speed is the same after update!

details tab:

FlashFXP version: 5.4.0 (build 3950)
Operating System: Windows 10 x64
Installation type: All User - Common data folder

Program folder [Access: Read only]
C:\Program Files (x86)\FlashFXP 5\

Data folder [Access: Read / Write]
C:\ProgramData\FlashFXP\5\

Temp folder [Access: Read / Write]
C:\Users\admin\AppData\Local\Temp\

libssl-1_1.dll [1.1.0b]
Path: C:\Program Files (x86)\FlashFXP 5\libssl-1_1.dll
libcrypto-1_1.dll
Path: C:\Program Files (x86)\FlashFXP 5\libcrypto-1_1.dll

Debug Info
a0cbbab8-8f75-cab6-4bb8-1f7ad94068e2
APP = FALSE
C:\ProgramData\FlashFXP\5\FlashFXP.ini [Access: Read / Write] loaded=TRUE encrypted=FALSE
C:\ProgramData\FlashFXP\5\Sites.dat [Access: Read / Write] loaded=TRUE encrypted=FALSE
C:\ProgramData\FlashFXP\5\quick.dat [Access: Read / Write] loaded=TRUE encrypted=FALSE
C:\ProgramData\FlashFXP\5\Bookmarks.dat [Access: Read / Write] loaded=TRUE encrypted=FALSE
C:\ProgramData\FlashFXP\5\Stats.dat [Access: Read / Write] loaded=TRUE encrypted=FALSE
C:\ProgramData\FlashFXP\5\cert.dat [Access: Read / Write] loaded=TRUE encrypted=TRUE
C:\ProgramData\FlashFXP\5\Schedule.dat [Access: Read / Write] loaded=TRUE encrypted=TRUE
FPU = $027F
DPI = 96
ComCtl = 393226
S ICON = 16
B ICON = 32
-- TCP BUFFER --
1: S=0 R=0
2: S=262144 R=4194304
-- LOCAL TZ --
Bias = -60
StandardName = Mitteleuropäische Zeit
StandardBias = 0
DaylightName = Mitteleuropäische Sommerzeit
DaylightBias = -60
IsDaylightSavingsTime = FALSE
-- Formatting --
CodePage "1252"
Locale "3079"
ThousandSeparator ""
ThousandSeparatorU " "
ShortDate "dd.MM.yyyy"
LongDate "dddd, dd. MMMM yyyy"
DateSeparator "."
ShortTime "hh:mm"
LongTime "hh:mm:ss"
TimeSeparator ":"
TimeAMString "AM"
TimePMString "PM"
-- Internal Structs --
RegExp Cache 0 / 0 bytes
System Timer Info R:1 S:2 L:45375 X: 0
-- Misc. --
Battery Powered = false
-- install --
5.4.0.3950: 29.10.2016 17:46

bigstar
10-29-2016, 11:14 AM
I am not seeing anything that would explain your slow speeds (your results are not typical)

What is your speed if you turn off the compression setting? Site Manager > SFTP tab > uncheck [ ] Use Compression

bigstar
10-29-2016, 12:12 PM
I will continue to investigate this issue and report any findings

bigstar
11-05-2016, 11:06 AM
I refactored some of the code in the SFTP download routine, this eliminated a potential cpu/memory bottleneck and adjusted the default SFTP block and packet sizes.

This seems to improve performance 5~20% depending on several factors.

Please try the latest release and let me know.