Topic "Why is winscp slower than pscp?"

Author Message
arman68

Guest


I was under the impression that WinSCP was based on PuTTY code. If so, I do not understand why WinSCP is much slower than pscp?

I have done benchmarks using the WinSCP in console mode, and found that pscp transfers files more than twice as fast as WinSCP, using the same encryption methods.

Don't get me wrong though, speed is still acceptable, and WinSCP features makes up for it. Especially things like the synchronize command, which is soreley missing from PuTTY.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
What version of PSCP and WinSCP are you using? What protocols (note that PSCP supports also both SCP and SFTP). WinSCP should be much faster, at least for large files.
_________________
Martin Prikryl
arman68

Guest


Protocol is sFTP, using freeSSHd as a server.

WinSCP v3.7.6
Code:
Initialisation...
Searching for host...
Connecting to host...
Authenticating...
Using username "upload".
Authenticating with public key "rsa-key-20050914"
Access denied
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] upload@192.168.1.192
Local 'D:\SSH' => Remote '.\'
D:\SSH\Test.avi    |     359286 kB | 3431.0 kB/s | binary | 100%


pSCP from PuTTY 0.58
Code:
Server version: SSH-2.0-WeOnlyDo 1.2.7
We claim version: SSH-2.0-PuTTY_Snapshot_2005_09_14:r6309
Using SSH protocol version 2
Using Diffie-Hellman with standard group "group1"
Doing Diffie-Hellman key exchange
Host key fingerprint is:
ssh-rsa 1024 0d:15:34:16:d2:6b:92:cd:92:ac:c8:8f:f2:09:3c:7c
Initialised AES-256 CBC client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 CBC server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "upload".
Reading private key file "private-key.ppk"
Offered public key
Offer of public key accepted
Authenticating with public key "rsa-key-20050914"
Access denied
Access denied
upload@192.168.1.192's password:
Sent password
Access granted
Opened channel for session
Started a shell/command
Using SFTP
Connected to 192.168.1.192

Sending file Test.avi, size=367908864
Test.avi                  |     359286 kB | 7044.8 kB/s | ETA: 00:00:00 | 100%
Sent EOF message
Disconnected: All channels closed
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Disregarding the speed indicators of the tools, do you REALLY experience different transfer speed?
_________________
Martin Prikryl
arman68

Guest


prikryl wrote:
Disregarding the speed indicators of the tools, do you REALLY experience different transfer speed?


Yes. The speed reported by the tools are accurate. I measured them with task manager, and confirmed by timing them.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
arman68 wrote:
Yes. The speed reported by the tools are accurate. I measured them with task manager, and confirmed by timing them.

Hm. That's strange. I'll do performance tests on the latest version to see if I can experience the problem too.
_________________
Martin Prikryl
arman68

Guest


prikryl wrote:
Hm. That's strange. I'll do performance tests on the latest version to see if I can experience the problem too.


ok. Let me know if you would like me to do some tests. Email is:
arman68
[at]
gmail
<dot>
c
o m
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