A few things, mostly technical notes...

Monday, January 24, 2011

scp: transfer speed & compression

With compression:

$ time scp -c arcfour -C somefile somehost:/somewhere

real 47m30.974s
user 46m18.974s
sys 1m4.040s


Without compression:

$ time scp -c arcfour somefile somehost:/somewhere
real 10m41.195s
user 2m41.142s
sys 0m51.611s


details of somefile:

$ file somefile
somefile: MySQL MISAM compressed data file Version 1


Gist: if a file is already compressed, scp-ing with -C (compression) rightly slows down the transfer.

No comments:

Followers


Creative Commons License
This work is licensed under a Creative Commons License.