HI,
I compare SFTP plugin and winscp application against my local NAS device that support SFTP,
with total commander I get average of 19MB and with winscp I get 67MB
is it something I can do ? tuning ? upgrade ? etc
so other see the same ?
the ethernet link is 1GB
thanks
(hope I got the right group this time)
SFTP plugin speed to slow, something I can do?
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 78
- Joined: 2005-04-20, 11:50 UTC
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: SFTP plugin speed to slow, something I can do?
WinSCP seems to use the SCP file transfer protocol when possible. Try enabling SCP in my plugin, it is much faster than the default SFTP file transfer method.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: SFTP plugin speed to slow, something I can do?
I've done performance tests before:
https://www.ghisler.ch/board/viewtopic.php?p=360224#p360224
Now I decided to conduct other tests. For this I builded SFTP plugin from fresh sources:
1) SFTP plugin: https://www.totalcommander.ch/beta/sftpplug_src280b4.zip
2) libssh2 v1.9.0: https://github.com/libssh2/libssh2
3) libressl v3.2.2: https://github.com/EtchDroid/LibreSSL
The tested speed transferred a huge file between two computers (Xeon 5660) that are connected by a 1 Gbit network (Win7 x64 / Ubuntu 14).
Results:
Download New SFTPplug 2.80 b4: https://www.filesend.jp/En5e0J
https://www.ghisler.ch/board/viewtopic.php?p=360224#p360224
Now I decided to conduct other tests. For this I builded SFTP plugin from fresh sources:
1) SFTP plugin: https://www.totalcommander.ch/beta/sftpplug_src280b4.zip
2) libssh2 v1.9.0: https://github.com/libssh2/libssh2
3) libressl v3.2.2: https://github.com/EtchDroid/LibreSSL
The tested speed transferred a huge file between two computers (Xeon 5660) that are connected by a 1 Gbit network (Win7 x64 / Ubuntu 14).
Results:
Code: Select all
1) Orig SFTPplug 2.80 b4 x64 (SCP) 10 MB/s
2) New SFTPplug 2.80 b4 x64 (SCP) 51 MB/s
3) curl.exe -v -k sftp://... (SFTP) 56 MB/s
Last edited by remittor on 2020-11-03, 12:40 UTC, edited 1 time in total.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: SFTP plugin speed to slow, something I can do?
1. Did you just build the SFTP plugin, or also the libssh2 yourself?
2. Which compiler and version did you use?
2. Which compiler and version did you use?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: SFTP plugin speed to slow, something I can do?
All libraries (libressl + libssh2) and SFTPplug are statically linked into one DLL (wfx64).ghisler(Author) wrote: 2020-10-26, 15:09 UTC 1. Did you just build the SFTP plugin, or also the libssh2 yourself?
Without WinCNG !!!
MSVC 2015, toolset v140 (Vista)
Re: SFTP plugin speed to slow, something I can do?
I find out the cause a very slow speed when using SFTP mode.
After the fix, I got the following speed results:
The source code is here: github.com
Download SFTPplug ALLinONE x64: https://x0.at/mwY.zip
After the fix, I got the following speed results:
Code: Select all
1) Orig SFTPplug 2.80 b4 x64 (SFTP) 6 MiB/s
2) Orig SFTPplug 2.80 b4 x64 (SCP) 10 MiB/s
3) New SFTPplug AllInOne x64 (SFTP) 50 MiB/s
4) New SFTPplug AllInOne x64 (SCP) 51 MiB/s
5) curl.exe -v -k sftp://... (SFTP) 56 MiB/s
Download SFTPplug ALLinONE x64: https://x0.at/mwY.zip