Topic "Why is WinSCP so slow?"

Author Message
Skylinux

Guest


I'm only getting a transfer rate of 1500KB/s from my Linux server to my Windows computer. The windows computer is running Linux and Windows as dual boot, when I scp from Linux to Linux I get ~8MB/s transfer rate without compression enabled.
I checked WinSCP options and compression is off, I just downloaded the latest version 4.0.5 and it is the same problem.
I need to transfer 25GB from Linux to Windows and WinSCP estimates 4.3 hours, I can burn the files to DVD faster then that....

Any ideas on what is causing this?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Please read FAQ first.
_________________
Martin Prikryl
Guest




I noticed it the other day and had to come back to finalize this post. For some reason WinSCP defaults to SFTP as the transfer protocol. I assumed it would use SCP by default due to the software's name .... switched it SCP now the speeds are excellent. I hope this post gets indexed into Google because the FAQ is not but another post without solution is.

Hope this helps somebody else.

BTW, instead of posting: "Please read FAQ first." You could have posted "Switch to SCP" would have been nicer and more helpful.
Guest




Sadly, for me, switching between SCP and SFTP makes absolutely no difference. It feels like a software cap, but obviously isn't. Nothing in the FAQ makes any difference.

Strangely, bringing the "5%-100%" slider down to 5% only cuts the performance in half.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Quote:
Sadly, for me, switching between SCP and SFTP makes absolutely no difference. It feels like a software cap, but obviously isn't. Nothing in the FAQ makes any difference.

Have you tried PSFTP or PSCP?
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
This issue has been added to tracker.
_________________
Martin Prikryl
Guest

Guest


I had 6Gb to download and noticed the same thing, In the middle of the download I ran windows update and to my suprise while the update was running the transfer rate increased by 5 fold, when the update was finished the transfer rate went back to slow. I then ran some high CPU tasks and what do you know, the transfer went up each time the Task were running, and went back to slow when they finished.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Guest wrote:
I had 6Gb to download and noticed the same thing, In the middle of the download I ran windows update and to my suprise while the update was running the transfer rate increased by 5 fold, when the update was finished the transfer rate went back to slow. I then ran some high CPU tasks and what do you know, the transfer went up each time the Task were running, and went back to slow when they finished.

What protocol are you using?
_________________
Martin Prikryl
Guest

Guest


SFTP
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Guest wrote:
SFTP

Thanks. What version of WinSCP are you using? Can you try 4.1 beta, if you do not use it already?
_________________
Martin Prikryl
diamondboy

Guest


Anonymous wrote:
Strangely, bringing the "5%-100%" slider down to 5% only cuts the performance in half.


What is this speed slider? I have seen reference to it but have downloaded 4.1.2 (among other versions) and can't find it.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
diamondboy wrote:
What is this speed slider? I have seen reference to it but have downloaded 4.1.2 (among other versions) and can't find it.

The slider has been replaced with input box in 4.1.
_________________
Martin Prikryl
Steve

Guest


After spending a decent amount of time trying to fix up Windows XP networking to run quicker I stumbled onto another program- Tunnelier. Transfer rates are MUCH quicker using Tunnelier rather than WinSCP.

Monitoring throughput on the TCP stack using 'Bandwidth Monitor' utility:
WinSCP sustains an average of 1.8mbps
Tunnelier sustains an average of 4mbps

If you compare the file transfer rates as reported inside each client:
WinSCP sustains an average of 160KiBps
Tunnelier sustains an average of 500kBps

Those tests are done using SFTP and no compression. It is trickier to compare once you turn on compression because the numbers bounce around too much in WinSCP- it does not do a good job of SMOOTHING out the average transfer rate that it displays.

The way WinSCP was pegging at 1.8mbps I thought something in the OS networking stack was preventing it from transferring quicker- but it must not be the case if another client can fly beyond that limit without any trouble. Also WinSCP was using Blowfish cipher (as recommended for better throughput). There was not any noticeable difference when switching between the different ciphers in Tunnelier (in fact in those tests Tunnelier was using AES-256).

Well I do like the WinSCP application a lot- which is why I wanted to share. Hopefully this will provide some motivation that the transfer rates need to be improved. WinSCP is just not fast enough when you need to do large transfers (I am talking about >100GB). In that case we are talking a DIFFERENCE of several DAYS).

-Steve
BarrySmoke

Guest


I too verified that there is a speed problem, transferring a file with size 74,319,711, was going to 2 to 3 minutes (local lan, gigabit network)
I installed bitvise tunnelier(as suggested earlier), wow....what a speed difference.

vista(32bit, sp1)
scp 4.0.7
noftpanymore
[View user's profile]
Donor
Joined: 2007-11-23
Posts: 28
Location: Germany
This speed difference is astonishing. But as Tunnelier can be downloaded for free the WinSCP autor should be able to verify the difference by himself now.

I must say that this difference is quite important, not only for big files. In many parts of the world internet is slooooow. FTP is just on the edge of being usable. If you turn to SFTP it becomes unusable (due to the added overhead and the many additional requests, it seems). That simple. Travel to some countries in Asia and you know what I mean. More timeouts than transfer. But when it doesn't work with WinSCP, it does work with Tunnelier. So this really should be fixed...
Guest

Guest


So, can we expect a fix?
Guest




Anonymous wrote:
I noticed it the other day and had to come back to finalize this post. For some reason WinSCP defaults to SFTP as the transfer protocol. I assumed it would use SCP by default due to the software's name .... switched it SCP now the speeds are excellent. I hope this post gets indexed into Google because the FAQ is not but another post without solution is.

Hope this helps somebody else.

BTW, instead of posting: "Please read FAQ first." You could have posted "Switch to SCP" would have been nicer and more helpful.


Thank you! Works for me! Looks like SFTP is slow as turtle. Maximum speed is about 1.5Mb/s, no matter what CPU you have. After switching to SCP, transfer rate and CPU usage climbed up. After trying different encryption modes i got it running about 5.5Mb/s.

(As side note, Linux <-> Linux SCP transfers are much faster with same hardware)
Guest




Hi,

i had the same problem. Using SCP is faster than using SFTP but now i use cygwin & openssh at command-line.
This is 3x faster than WinSCP with ssh-protocoll.
Something is slowing down WinSCP.

Maybe you find it someday.
Guest




Must say I've ALWAYS had this problem with WinSCP. it's about 10x slower than scp on the same hardware Sad

I very rarely use windows, mainly guests that come to my house, and I want to copy large amounts of data across to their windows boxes.

Any suggestions? I'll try Tunnelier, but I really want LAN speeds like I get linux to linux (sustained 11MB/s using scp). i.e. I want the data to stream into windows at 10MB/s, not 1MB/s..

I haven't tried turning off SFTP, will try that next time a windows box walks into my living room, but

It's unfortunate, as WinSCP is a great bit of software apart from failing at this critical thing.

Sorry this is a bit more of a "me too" rant than a useful support request.

Craig
Craig

Guest


Just an update. I tried Tunnelier. Very impressed! And it ran at 8.5MB/s (on 100Mb ethernet), about 8.5x as fast as WinSCP was on the same Vista laptop.
Guest




i can confirm this. tunnelier is "much" faster.

the question is, why?

currenly i am "forced" to use tunnelier but i would really like winscp to catch up, as tunnelier is bloated and lacks usability.
Guest




When connecting (or edit the saved session) use the SCP protocol. With it the transfer changed from 1.8 - 2.2Mb to 8.5 - 8.8Mb with 100Mb lan.
nm23728

Guest


VERY SLOW but nice GUI

had .3 to 2.5 MBs where copy from the commandline with SCP gets 8.5MBs

if you run wireshark you see why: many tiny packets, ACKs etc

think the problem is fragmentation: there are many 1400 odd size packets, immediately followed by another few hundred, and the latency then ruins high transfer rates

guess one would have to compensate for the "growth" of packets due to encryption - maybe with some change to the MTU generated by WINSCP (e.g. smaller size max 1300 byte?)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
nm23728 wrote:
guess one would have to compensate for the "growth" of packets due to encryption - maybe with some change to the MTU generated by WINSCP (e.g. smaller size max 1300 byte?)

I hope this gets better with 4.2.x. If not let me know then.
_________________
Martin Prikryl
GarryG
[View user's profile]

Joined: 2009-01-13
Posts: 2
Location: Germany
Something I have noticed when running WinSCP to a USB hd ... it does an awful lot of head movements during copy ... I just copied a file using Samba, which was about 3-4x as fast, while I could hardly hear the drive doing anything. Doe the same thing with WinSCP, and the head seems to be moving dozens of times every single second ... and no, the drive isn't very fragmented, either ... (that's why I tried the Samba copy, too)

Seems to me WinSCP has some problems with its I/O handling ...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
GarryG wrote:
Something I have noticed when running WinSCP to a USB hd ... it does an awful lot of head movements during copy ... I just copied a file using Samba, which was about 3-4x as fast, while I could hardly hear the drive doing anything. Doe the same thing with WinSCP, and the head seems to be moving dozens of times every single second ... and no, the drive isn't very fragmented, either ... (that's why I tried the Samba copy, too)

Thanks. What protocol have you used? Was it upload or download? (if that matters).
_________________
Martin Prikryl
GarryG
[View user's profile]

Joined: 2009-01-13
Posts: 2
Location: Germany
Tried both sftp and scp ... in fact, in contrast to some reports here scp was actually slower than sftp ... (1.5M / .8M). Copying via scp from linux to linux resulted in 5M, so the line (STM1) as well as the source server were fast enough ... transfer was download from the server ...

Tried tunnelier, and got around 8-10M/s ... (!)
mb

Guest


FileZilla (SFTP): ~1.1 MB/s (unknown)
WinSCP (SFTP): ~300 kb/s (aes)
WinSCP (SCP): ~800 kb/s (blowfish)
Cygwin/OpenSSH 5.0p1 (SCP): ~1 MB/s (aes128)

Btw, my bandwidth over cable is about 2.2 MB/s (which I get when transferring over HTTP).

If you look at the debug output of scp (cygwin), they set some socket options and make TCP adjustments:
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
debug2: channel 0: rcvd ext data 44
Sending file modes: C0644 52428800 testfile
window 1998780 sent adjust 98372
debug2: channel 0: window 1982464 sent adjust 114688
...

I don't know if WinSCP does that, but if not, that would explain the performance loss.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
mb wrote:
If you look at the debug output of scp (cygwin), they set some socket options and make TCP adjustments:
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 2097152
debug2: channel 0: rcvd ext data 44
Sending file modes: C0644 52428800 testfile
window 1998780 sent adjust 98372
debug2: channel 0: window 1982464 sent adjust 114688

WinSCP does more or less the same.
_________________
Martin Prikryl
carnascray

Guest


I have an 800mg file on Unix that I was attempting to transfer via WinSCP to Windows.
SFTP = 470kbps
SCP = 1400kbps

so I ended up using Filezilla at SFTP = 4.4mbps.

Still using WinSCP because of some of the extra features ie. command buttons etc. but Filezilla is catching up, esp when it comes to the file transfer speed.
mafj

Guest


I tried t ouse winscp to copy files over to my virtual machine (Host Win XP/guest debian 5) over ms loopback interface....
Authentication takes ages, the transfer starts slowly enough to time out
(odd thing: when transfer finally picks up you can see it on the progress bar ... below the dialog with the ignore/abort choice - dialog should vanish in this moment, shouldn't it?)

To sum up the transfer is very uneven up to 3 mb/s at moments, often stalls.
Cygwin's scp 15MB/s steady.

SCP 4.2.6 build 721

Regards,
Maciej
Guest




If i am not mistaken, WinSCP's SFTP/SCP code is based upon PuTTY's code which has had this performance bug for ages now. Actually all applications that use the code from PuTTY have this issue. Sad
Raghavendra

Guest


Hi,

I need to connect to sql server database from winscp.com , is there a way . I could find call statement is present. BUt i donr know hoe to connect to database to get some information from tables .

actaually i am getting information from text file .

open user:password@example.com
cd home/asuser
get *.txt D:\max\

Instead of getting info from file , i am planning to store these info in sql server tables and get the info from tables to this winscp.com.

please let me know if you find any way along wth the example

Thanks
Raghav
ubergeeknz

Guest


Tested version 4.27 versus Filezilla 3.2.7.1 and got near-as-dammit same transfer speeds to a local box over wireless ethernet (SFTP or SCP made no difference in WinSCP, Filezilla only support SFTP).
Tomber

Guest


BarrySmoke wrote:
I too verified that there is a speed problem, transferring a file with size 74,319,711, was going to 2 to 3 minutes (local lan, gigabit network)
I installed bitvise tunnelier(as suggested earlier), wow....what a speed difference.

vista(32bit, sp1)
scp 4.0.7


Tunnelier is so much faster than Winscp (3x) with same hardware, same network, same copy job...
lausianne

Guest


Hi,

has anything happend regarding speed lately? I just installed the latest version (4.3.5). Downloads are still so slow that WinSCP is hardly usable for more than a couple of files. FileZilla has other issues, but is super fast in comparison. Of course I read the FAQ and most of the rest of this thread. Didn't help.

Cheers, Ralf.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
lausianne wrote:
has anything happend regarding speed lately? I just installed the latest version (4.3.5). Downloads are still so slow that WinSCP is hardly usable for more than a couple of files. FileZilla has other issues, but is super fast in comparison. Of course I read the FAQ and most of the rest of this thread. Didn't help.

Please try 5.0.x beta. It has this fix included:
https://winscp.net/tracker/show_bug.cgi?id=690
_________________
Martin Prikryl
FolkLive

Guest


For me there was only a marginal speed improvement with using SCP instead of SFTP both using AES transfer protocal. I got a big speed boost however by changing the tranfer protocal to blowfish. It was slightly more than 2x speed improvement form 1360 KiB/s to 3100 KiB/s.
Guest




lausianne wrote:
Hi,

has anything happend regarding speed lately? I just installed the latest version (4.3.5). Downloads are still so slow that WinSCP is hardly usable for more than a couple of files. FileZilla has other issues, but is super fast in comparison. Of course I read the FAQ and most of the rest of this thread. Didn't help.

Cheers, Ralf.


At least--and I'm searching for the good here---WINSCP has this great feature to shut down the computer when it's done. That's a good thing.
consistency
[View user's profile]

Joined: 2008-08-16
Posts: 51
Location: austria
don't forget to check if your firewall cause the slow speed. i also had speed problems and partly my firewall cause the loss of speed.
Freitag
[View user's profile]

Joined: 2007-10-25
Posts: 51
consistency wrote:
don't forget to check if your firewall cause the slow speed. i also had speed problems and partly my firewall cause the loss of speed.


How do I check for this? And if found, how do I correct this?
npelov
[View user's profile]

Joined: 2011-12-06
Posts: 2
Location: Bulgaria
Hi!

I have the same problem. I used WinScp 4.2.x and upgraded to the latest version 4.3.5. Here are results when coping to a server with bandwidth 10MBit/s:
scp.exe from git installation: 1.1+ MByte/s
ncftp (ftp protocol): 400 kByte/s
Filezilla (ftp): 1.1+ MByte/s
Filezilla (sftp): 1.1+ MByte/s
WinScp with scp protocol: 50 kByte/s
WinScp with ftp (no encryption) protocol: 200 kByte/s

PC used: Intel Core i7 2600 / 3.4 GHz. Can encrypt a lot more than 1 MB/s
All test are done in the same time, from the same pc, to the same remote server.

So if scp from mingw/git installation can copy with full speed, why WinScp can't? WinScp is 2 times slower than slowest scp/ftp client

Edit: WinScp 5.0.5 reaches 470 kb/s with scp and about the same speed with ftp. Maybe it's good to make these buffers editable or download source of openssh scp client and see what's the buffer size in it.
consistency
[View user's profile]

Joined: 2008-08-16
Posts: 51
Location: austria
Freitag wrote:
consistency wrote:
don't forget to check if your firewall cause the slow speed. i also had speed problems and partly my firewall cause the loss of speed.


How do I check for this? And if found, how do I correct this?


its not only firewall, its also antirus software, often they come with a firewall build in.

to check for it is to look at your system tray if any firewall or antivirus software icon is located there and into your "installed software" section and search for it.

what to do after you found it:
if you are in a safe environment (no internet connection, additional hardware firewall) you can try to disable / deinstall your security software (check if you have a installable version allready downloaded / on your harddisk before deinstalling!). then reboot and make all the speed tests again. also in some security software you can configure how much is filtered/monitored. so you can disable some realttime scanning stuff but keep the rest of the software active.

but i would never use a pc without antivirus / firewall softeware, i pay the price of extra security with a slower network speed.

best speed i got with linux to linux unencrypted file transfere without firewall
windows7x64 was slower in general (don't know why)
my firewall <invalid hyperlink removed by admin> / <invalid hyperlink removed by admin> which i think is a great software if you want to have detailed control over your programs, reduced my transfere speed a lot (can't remember the exact numbers)
in combination with winscp the speed is quite slow (have not tried the protocol switch to scp and the change of the encryption algorithm).

i live with the slow speed, because for me security is more important than speed.

if you have speed problems and can determine that the firewall is the reason for it, you also can contact the software company who made the firewall and tell them what tests you made and that your are not pleased with the result.
npelov
[View user's profile]

Joined: 2011-12-06
Posts: 2
Location: Bulgaria
still it's not normal openssh's scp and filezilla to be faster on the same conditions
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Can I ask all people posting here to mention version of WinSCP they are using? Thanks.
_________________
Martin Prikryl
itehq

Guest


prikryl wrote:
Can I ask all people posting here to mention version of WinSCP they are using? Thanks.


WinSCP version:
5.0.5 Build 1782

While doing FTP synchronization remote local docs / remote docs

While in the GUI or running from script, receiving file transfer speeds from
10KB-500KB but averages around 100KB-300KB,
I can run other utilities and they transfer at 5MB+

FTP is the only protocal that can be used but it is definately being limited in WinSCP somewhere.

On another note. I do get many timeouts when doing a compare before the synchronization starts transfering files... causing it to timeout. Is there a way for the compare to continue on reconnect as do file transfers?
Anonymous Coward

Guest


Would this work help lead to a faster implementation?

https://www.psc.edu/index.php/hpn-ssh/636
dcmorton
[View user's profile]

Joined: 2012-01-15
Posts: 1
prikryl wrote:
Can I ask all people posting here to mention version of WinSCP they are using? Thanks.


Just wanted to chime in with my experiences with this issue..

Currently using 5.0.5 Build 1782 and not having speed issues, able to upload at my connection's max rate (~500 KB/s). However 4.3.5 and 4.3.6 were being mysteriously being capped at about 50 KB/s for some reason; I had all limiters that I could find disabled.

Another wrinkle to the story is this machine had its hard drive replaced on 12/26/11 with a fresh OS install. The previous HD/OS install with WinSCP 4.3.5 didn't have the above issue, however WinSCP was originally installed with 4.2.8 or 4.2.9 (going by WinSCP release dates and remembering when I RMA'ed the HD).
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Anonymous Coward wrote:
Would this work help lead to a faster implementation?

https://www.psc.edu/index.php/hpn-ssh/636

It's implemented already:
https://winscp.net/tracker/show_bug.cgi?id=17
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/flow-control-filexfer.html
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
dcmorton wrote:
Currently using 5.0.5 Build 1782 and not having speed issues, able to upload at my connection's max rate (~500 KB/s). However 4.3.5 and 4.3.6 were being mysteriously being capped at about 50 KB/s for some reason; I had all limiters that I could find disabled.

Likely due to this change:
https://winscp.net/tracker/show_bug.cgi?id=690

Thanks for sharing your (positive) experience.
_________________
Martin Prikryl
mjt772

Guest


dcmorton wrote:
Currently using 5.0.5 Build 1782 and not having speed issues... <<snip>>


I can confirm that 5.0.5 build 1782 has solved my speed issues as well (and quite nicely, at that). My SFTP uploads have traditionally struggled to hit 400 Kbps on a very large pipe, and now they easily reach 9 Mbps. Thanks so much!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
mjt772 wrote:
I can confirm that 5.0.5 build 1782 has solved my speed issues as well (and quite nicely, at that). My SFTP uploads have traditionally struggled to hit 400 Kbps on a very large pipe, and now they easily reach 9 Mbps. Thanks so much!

Thanks a lot for feedback!
_________________
Martin Prikryl
annonymous

Guest


what is the max speed that is possible? i am on gigabit internally and i can manage 9.1MiB with sftp to my server. running the newest beta 5.0.5.
thanks
TBANKS

Guest


prikryl wrote:
mjt772 wrote:
I can confirm that 5.0.5 build 1782 has solved my speed issues as well (and quite nicely, at that). My SFTP uploads have traditionally struggled to hit 400 Kbps on a very large pipe, and now they easily reach 9 Mbps. Thanks so much!

Thanks a lot for feedback!


I use WinSCP(sftp) as the transport agent within my file ingest framework. Would you consider 5.0.5-beta production ready? Stable enough?

The increased throughput in this version is significantly greater than the throughput seen with current stable(4.x) branch.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
TBANKS wrote:
I use WinSCP(sftp) as the transport agent within my file ingest framework. Would you consider 5.0.5-beta production ready? Stable enough?

It is reasonably stable. Though not as stable as 4.3.x yet.
_________________
Martin Prikryl
TBANKS

Guest


prikryl wrote:
TBANKS wrote:
I use WinSCP(sftp) as the transport agent within my file ingest framework. Would you consider 5.0.5-beta production ready? Stable enough?

It is reasonably stable. Though not as stable as 4.3.x yet.


"reasonably stable" enough to introduce into a production environment?


thanks for your response.
TBANKS

Guest


prikryl wrote:
TBANKS wrote:
I use WinSCP(sftp) as the transport agent within my file ingest framework. Would you consider 5.0.5-beta production ready? Stable enough?

It is reasonably stable. Though not as stable as 4.3.x yet.


Lastly.. why was the increased buffer size pulled from the 4.3 branch?

I am leaning towards using the 5.x beta version within production, but the retraction of the buffer code has me a bit worried.

Please advise.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
TBANKS wrote:
"reasonably stable" enough to introduce into a production environment?

Hope so. Just test it and you'll see for yourself.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
TBANKS wrote:
Lastly.. why was the increased buffer size pulled from the 4.3 branch?

I am leaning towards using the 5.x beta version within production, but the retraction of the buffer code has me a bit worried.

For very few users with the increased buffer size, WinSCP stopped working altogether. Likely due to network misconfiguration on their side. As 4.3.x GUI is frozen, I could not add configurable option to disable the increase, so I pulled it.
_________________
Martin Prikryl
tjwasiak

Guest


I must admit 5.0.5 was fastest version I ever used. 5.0.6 is slower and 5.0.7 is as slow as 4.x for me. Working on 100Mbit LAN, in SCP mode with Blowfish encryption I am getting <500kb/s Sad 5.0.5 was 2-3 times faster.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
tjwasiak wrote:
I must admit 5.0.5 was fastest version I ever used. 5.0.6 is slower and 5.0.7 is as slow as 4.x for me. Working on 100Mbit LAN, in SCP mode with Blowfish encryption I am getting <500kb/s Sad 5.0.5 was 2-3 times faster.

There's handly any change between 5.0.5 and 5.0.7 that might cause this. Except for Blowfish being default in 5.0.7, but that should actually increase speed. Can you email me a log files from 5.0.5 and 5.0.7?

You will find my address (if you log in) in my forum profile.
_________________
Martin Prikryl
doug
[View user's profile]

Joined: 2010-01-01
Posts: 13
Location: slovakia
I also noticed that 5.0.7 is much slower, with blowfish I can achieve only around 4MB/s max, with AES I'm getting 10MB/s on 100Mbit network, but cpu usage is very high. Is winscp using AES-NI instruction set on cpus which support them?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
doug wrote:
I also noticed that 5.0.7 is much slower, with blowfish I can achieve only around 4MB/s max, with AES I'm getting 10MB/s on 100Mbit network, but cpu usage is very high. Is winscp using AES-NI instruction set on cpus which support them?

I'll consider rolling back the "default to Blowfish" change.
AFAIK, PuTTY (WinSCP uses PuTTY code for SSH implementation) does not use AES-NI. I suggest you propose the change to them.
Doesn't matter

Guest


Rolling Eyes

I have just tried Bitvise SSH Client (Tunnelier)
so much better

I am converted
peppi

Guest


i see that this post has been Posted: 17 Nov 2007 15:48
Now its 2013 Crying or Very sad

the speed i get is 3000 Kib on a intern gigabit network from Hp server > Hp server
as far as i can see this is way to slow and should be triple that speed

I hope the developers will give the speed isseu high priority because its a very good program with lots of options that no other program has
xmt

Guest


Hey,

I just wanted to say that after upgrading to the 5.2.2 beta from 5.1.3 my sftp download speed has doubled. Smile

Before I could only get 20Mbps, now I'm able to reach 40Mbps.

Still not as good as psftp, which can max out my 70Mbps internet connection, but it's progress. Thanks Martin for your work on performance and I hope to see more gains in the future!
sardjent

Guest


Just wanted to chime in with my experiences. I'm looking for a replacement for filezilla as it is now bundled with adware so WinSCP would seem like a good fit for me, however, I'm getting disappointing metrics when doing a file transfer.

My test task was to upload a Windows Azure hosted web site over regular ftp with ~1000 files at ~100Mb, lots and lots of directories.

FileZilla 3.7.3, 10 threads needs 40 seconds to get this done.
WinSCP 5.5.1, 9 threads, Unlimited speed needs almost 7 minutes.
When I noticed how slow WinSCP was going, I fired up FileZilla and started the exact same file transfer simultaniously to another directory and it finished way before WinSCP did.

This is on Win 7, latest patches, no proxy but probably some Microsoft ISA Server on my gateway to the internet doing funny business transparently with http and ftp connections (I know this because this server has interfered with filezilla before, it doesn't anymore though).
thundergr

Guest


I am in the same position with Sardjent, i tried to use WinSCP as a filezilla replacement but it looks like there is a huge performance difference between the two.

sardjent wrote:
Just wanted to chime in with my experiences. I'm looking for a replacement for filezilla as it is now bundled with adware so WinSCP would seem like a good fit for me, however, I'm getting disappointing metrics when doing a file transfer.

My test task was to upload a Windows Azure hosted web site over regular ftp with ~1000 files at ~100Mb, lots and lots of directories.

FileZilla 3.7.3, 10 threads needs 40 seconds to get this done.
WinSCP 5.5.1, 9 threads, Unlimited speed needs almost 7 minutes.
When I noticed how slow WinSCP was going, I fired up FileZilla and started the exact same file transfer simultaniously to another directory and it finished way before WinSCP did.

This is on Win 7, latest patches, no proxy but probably some Microsoft ISA Server on my gateway to the internet doing funny business transparently with http and ftp connections (I know this because this server has interfered with filezilla before, it doesn't anymore though).
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
thundergr wrote:
I am in the same position with Sardjent, i tried to use WinSCP as a filezilla replacement but it looks like there is a huge performance difference between the two.

Can you please be a more specific?
_________________
Martin Prikryl
Paulus

Guest


Hello,

First of all, thank you for creating such a well designed program. However, i too think there is some kind of performance issue. This becomes obvious if i try to download a folder with a great number of small files. In Filezilla i can set up up to 10 simultaneous connections and download starts immediately. In WinSCP it seems as if the contents of the folder are scanned first, and the program then starts to download one file after another (at least this is what the status window led me to believe), although it already knows the contents of the folder. Is this just my impression or is that really what happens? Maybe that is the cause of the sluggish performance?

Again thank you very much,

Regards,
Paul
Truth

Guest


It has dragged along for several years now and new patches don't solve anything.

Upload speed is capped at 5 MB/s on a WIRED cat5e LAN !

My router and PC are more than capable of processing the rates.

When I copy a file to remote server, the transfer is capped at 5MB/s. But when I add another file at the same time it also transfers at 5 MB/s. So why on earth are they both transferring at 5MB/s but one cannot go to at least 10MB/s (Even 10 MB/s isn't a great speed.) ?
Ricardo
[View user's profile]
Donor
Joined: 2006-02-03
Posts: 106
This subject is very complex, I heard a lot of factors may influence the speed of SFTP, including network latency.
Interesting read: http://stackoverflow.com/q/8849240
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Paulus wrote:
First of all, thank you for creating such a well designed program. However, i too think there is some kind of performance issue. This becomes obvious if i try to download a folder with a great number of small files. In Filezilla i can set up up to 10 simultaneous connections and download starts immediately. In WinSCP it seems as if the contents of the folder are scanned first, and the program then starts to download one file after another (at least this is what the status window led me to believe), although it already knows the contents of the folder. Is this just my impression or is that really what happens? Maybe that is the cause of the sluggish performance?

WinSCP can transfer files in queue too. Though is cannot automatically enqueue files recursively yet.
ggreg
[View user's profile]

Joined: 2015-01-20
Posts: 1
Registered to say most of the stuff in the thread is incorrect, WinSCP has had a cap of sshd file transfers (SFTP) because of the sshd crypto being a single process and maxing out a cpu core for transfer speeds on 1gbps connections, for example one of my 32core servers will encounter max speeds of around 13KiB/s (according to WinSCP) on any single threaded transfer process that is encrypted for the most part..

known fixes are:
https://www.psc.edu/index.php/hpn-ssh/636

you'll find HPN as well as what I've said all over the internet for SCP or SFTP, either or doesn't matter or make a difference. SFTP is an upgraded version of SCP.
I've used winscp back quite a few years, if I'm actually on a windows client it's my go to.
having network speed and hard drive speed many times over the "limit" you'll see your CPU max out before anything else does, using HPN you'll see speeds go up without changing winscp


tl;dr your server cpu single threads limit your transfer speed, it isn't winSCP.
Snaps

Guest


Quote:
Registered to say most of the stuff in the thread is incorrect, WinSCP has had a cap of sshd file transfers (SFTP) because of the sshd crypto being a single process and maxing out a cpu core for transfer speeds on 1gbps connections, for example one of my 32core servers will encounter max speeds of around 13KiB/s (according to WinSCP) on any single threaded transfer process that is encrypted for the most part..

known fixes are:
https://www.psc.edu/index.php/hpn-ssh/636

you'll find HPN as well as what I've said all over the internet for SCP or SFTP, either or doesn't matter or make a difference. SFTP is an upgraded version of SCP.
I've used winscp back quite a few years, if I'm actually on a windows client it's my go to.
having network speed and hard drive speed many times over the "limit" you'll see your CPU max out before anything else does, using HPN you'll see speeds go up without changing winscp


tl;dr your server cpu single threads limit your transfer speed, it isn't winSCP.


This is totally wrong for my situation... My i7-4790 is only at 3% Usage for all processes at the writing of this and my transfer speed is only ~500KB/s. I was getting 16MB/s with Filezilla. It is not my CPU, that is for sure. What is it that it limiting me, I do not know. I will only know when the problem is solved.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Snaps wrote:
This is totally wrong for my situation... My i7-4790 is only at 3% Usage for all processes at the writing of this and my transfer speed is only ~500KB/s. I was getting 16MB/s with Filezilla. It is not my CPU, that is for sure. What is it that it limiting me, I do not know. I will only know when the problem is solved.

Thanks for your report.

Can you send me an email, so I can send you back a development version of WinSCP for testing? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
hd681169

Guest


My ftp is going too slow. I'm getting a speed of 1970 B/s. I need help in fixing this problem.
Methraton

Guest


prikryl wrote:
Snaps wrote:
This is totally wrong for my situation... My i7-4790 is only at 3% Usage for all processes at the writing of this and my transfer speed is only ~500KB/s. I was getting 16MB/s with Filezilla. It is not my CPU, that is for sure. What is it that it limiting me, I do not know. I will only know when the problem is solved.

Thanks for your report.

Can you send me an email, so I can send you back a development version of WinSCP for testing? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

I was facing a similar situation: version 5.7.6 , low CPU usage (4%) and low speed (400 KB/sec). I solved reverting to Normal debug level (I needed to raise it in the past) and the transfer speed is about 10MB/sec downloading from a remote site.
Hope this helps someone.
Thanks to Martin for the great software.
manwe858

Guest


Methraton wrote:
prikryl wrote:
Snaps wrote:
This is totally wrong for my situation... My i7-4790 is only at 3% Usage for all processes at the writing of this and my transfer speed is only ~500KB/s. I was getting 16MB/s with Filezilla. It is not my CPU, that is for sure. What is it that it limiting me, I do not know. I will only know when the problem is solved.

Thanks for your report.

Can you send me an email, so I can send you back a development version of WinSCP for testing? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

I was facing a similar situation: version 5.7.6 , low CPU usage (4%) and low speed (400 KB/sec). I solved reverting to Normal debug level (I needed to raise it in the past) and the transfer speed is about 10MB/sec downloading from a remote site.
Hope this helps someone.
Thanks to Martin for the great software.


I'm experiencing the same download speeds with a similar hardware setup and also using version 5.7.6. I've also tried the different combinations of SCP and SFTP recommended in the FAQ. My observations are that SFTP gives a consistent 700 KB/s to 800 KB/s transfer speeds whereas SCP will initially max out my bandwidth at 4 MB/s but then drop drastically to around 200 KB/s before settling down around 600 KB/s which is still slower than SFTP.

I've also just tried setting the priority up to HIGH in windows for WinSCP but that doesn't seem to have any noticeable effect. I will try out Filezilla and compare the two speeds.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
manwe858 wrote:
I'm experiencing the same download speeds with a similar hardware setup and also using version 5.7.6. I've also tried the different combinations of SCP and SFTP recommended in the FAQ. My observations are that SFTP gives a consistent 700 KB/s to 800 KB/s transfer speeds whereas SCP will initially max out my bandwidth at 4 MB/s but then drop drastically to around 200 KB/s before settling down around 600 KB/s which is still slower than SFTP.

I've also just tried setting the priority up to HIGH in windows for WinSCP but that doesn't seem to have any noticeable effect. I will try out Filezilla and compare the two speeds.

Thanks for your report.
Can you try 5.8 beta?
It has some performance improvements, particularly for SFTP.
manwe858

Guest


prikryl wrote:
manwe858 wrote:
I'm experiencing the same download speeds with a similar hardware setup and also using version 5.7.6. I've also tried the different combinations of SCP and SFTP recommended in the FAQ. My observations are that SFTP gives a consistent 700 KB/s to 800 KB/s transfer speeds whereas SCP will initially max out my bandwidth at 4 MB/s but then drop drastically to around 200 KB/s before settling down around 600 KB/s which is still slower than SFTP.

I've also just tried setting the priority up to HIGH in windows for WinSCP but that doesn't seem to have any noticeable effect. I will try out Filezilla and compare the two speeds.

Thanks for your report.
Can you try 5.8 beta?
It has some performance improvements, particularly for SFTP.


Thanks for the suggestion. I've installed 5.8 beta and the transfer speeds are better. The burst is up to my bandwidth max (around 5 MB/s), but for large files it settles in around 1 MB/s. This may be a limitation of the server I'm downloading from however, since I'm observing the same behavior while using Filezilla as well. Good job on on the performance improvements!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
manwe858 wrote:
Thanks for the suggestion. I've installed 5.8 beta and the transfer speeds are better. The burst is up to my bandwidth max (around 5 MB/s), but for large files it settles in around 1 MB/s. This may be a limitation of the server I'm downloading from however, since I'm observing the same behavior while using Filezilla as well. Good job on on the performance improvements!

Thanks for your feedback!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License