On Sun, 2006-02-26 at 13:07 +1000, Simon Wong wrote:

> Since, this is now happening within a reasonable length of time here's
> some more results:
> 
> 1. Netcat + dd
> 
>       nc serverip 5030 | gunzip | dd of=/dev/hda1
> 
> time gives real 5m52s.
> 
> So quite a bit slower than the redirect.

dd has a default read size of 1 byte. Try bs=4192 or something similar.
It makes a /huge/ difference.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
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