[Bug 1337] SCP performance twice as slow as RCP

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Jul 14 11:48:07 EST 2007


--- Comment #7 from Darren Tucker <dtucker at zip.com.au>  2007-07-14 11:48:03 ---
(In reply to comment #2)
> #setting Protocol=1 in sshd_config I get the following speed:
> $ scp -C localhost:50MB_zeros /tmp #Includes time to type password!
> 50MB_zeros                                    100%   50MB  12.5MB/s  
> 00:04

Which cipher was that with?  I suspect it's blowfish which I was
suprised to see is faster than arcfour on my system.

$ openssl speed blowfish rc4 des
type         16 bytes     64 bytes    256 bytes   1024 bytes   8192
rc4          24346.86k    25894.12k    24912.30k    26152.62k   
des cbc      6074.91k     6242.49k     6238.12k     6265.58k    
des ede3     1863.85k     1873.69k     1878.37k     1877.22k    
blowfish cbc 6135.08k    48098.93k    48808.53k    48968.36k   

If you want to compare speeds Protocols 1 and 2, make sure you're using
the same cipher on both.  The only ciphers that they have in common are
3des/3des-cbc and blowfish/blowfish-cbc, and even then two protocols
use Blowfish with different key lengths.

Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list