NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SCP file transfer speed



I just tried with OpenSSH from pkgsrc (openssh-5.8.2nb5) on the
receiver side and it gives full speed:

file100M.dat                         22%   23MB  11.2MB/s  11.3MB/s   00:06 ETA

2015-03-20 9:38 GMT+01:00 Stephan <stephanwib%googlemail.com@localhost>:
> That gives me about 9,3 MB/s in my test, contratry to 8,5 MB/s without
> specifying the cipher.
>
> I don´t know, however, what ciphers are used if I don´t specify one.
>
> 2015-03-20 7:21 GMT+01:00 Michael van Elst <mlelstv%serpens.de@localhost>:
>> stephanwib%googlemail.com@localhost (Stephan) writes:
>>
>>>When I copy large files through scp to a NetBSD box, I get transfer
>>>speeds of only 7 MB/s on a 100 MBit connection. This should be around
>>>11 MB/s. I´ve seen this on different x86/amd64 hardware with NetBSD 5,
>>>6 and 7-BETA. The NICs are largely wm, fxp and bnx.
>>
>> scp speed most often is limited by the CPU doing the encoding (or worse:
>> compression).
>>
>> You could try something like:
>>
>> scp -oCiphers=arcfour ....
>>
>> On a modern computer that's more than 4 times as fast as the default
>> AES cipher. If you don't trust arcfour, maybe blowfish-cbc is good
>> enough for you and still about 3 times as fast.
>>
>>
>> --
>> --
>>                                 Michael van Elst
>> Internet: mlelstv%serpens.de@localhost
>>                                 "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index