we have CENTOS 5.X on server A and Server B. Both servers have Gigabit network card connect to same switch.
I test network speed from Server A to Server B and found speed much difference:
SFTP: 42 MB/Sec
SCP: 20 MB/sec
SCP command: scp -Crp -o CompressionLevel=1 user1@ServerB:/TMP/File1 .
Anyone know how to improve SCP speed?
On 10/12/11 9:07 AM, mcclnx mcc wrote:
we have CENTOS 5.X on server A and Server B. Both servers have Gigabit network card connect to same switch.
I test network speed from Server A to Server B and found speed much difference:
SFTP: 42 MB/Sec
SCP: 20 MB/sec
SCP command: scp -Crp -o CompressionLevel=1 user1@ServerB:/TMP/File1 .
Anyone know how to improve SCP speed?
don't specify compression on gigE, it will just slow you down.
scp/sftp should be virtually the same speed, all else being equal