Why is winscp slower than pscp?

Advertisement

arman68
Guest

Why is winscp slower than pscp?

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Why is winscp slower than pscp?

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.

Reply with quote

arman68
Guest

Re: Why is winscp slower than pscp?

Protocol is sFTP, using freeSSHd as a server.

WinSCP v3.7.6
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
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

Reply with quote

martin
Site Admin
martin avatar

Re: Why is winscp slower than pscp?

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

Reply with quote

arman68
Guest

Re: Why is winscp slower than pscp?

martin 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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Why is winscp slower than pscp?

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.

Reply with quote

arman68
Guest

Re: Why is winscp slower than pscp?

martin 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

Reply with quote

Advertisement

You can post new topics in this forum