This one time, at band camp, Simon Wong wrote:
>        # time ssh [EMAIL PROTECTED] "cat client.img.gz" | gunzip
>        > /dev/hda1
>
>time reports a real time of 6 mins 1.8s (including ssh password entry)!
>
>There's still a slow down at the 1GB mark for about 12 seconds, then
>full speed transfer is reached for another 200MB or so, after that the
>transfer trickles along until the end of the file.

>(3) Netcat
>
>I thought I would try netcat.
>
>Server:
>
>       $ cat image.img.gz | nc -l -p 5030 -q 10
>
>Client:
>
>       # time nc serverip 5030 | gunzip > /dev/hda1
>
>time reports real time of 5m18s.  Wow!

I was going to suggest using netcat, or disabling compression in SSH,
because you're sending over a gzipped image so you might have experienced
some slowdown (maybe the 50s difference between ssh and netcat) due to SSH
compression maybe actually increasing the amount of data transmitted.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to