You can use the bs=2k option to dd to tell it to read in 2k of data
then send it, rather than constant read/send/read/send (I think by
default is does 512b but I'm not sure.) That might have sped things
up.


On Mon, 8 Nov 2004 10:42:07 -0600 (CST), Chris Schumann
<cschumann at twp-llc.com> wrote:
> It turns out that Knoppix 3.6 does not have a driver for the built-in NIC
> in the ThinkPad X21. What a pain. I used an older laptop with a LinkSys
> wired NIC to copy the hard drive using netcat onto another computer and
> (ahem) netcat for windows. That went really well. 20GB copied in about 90
> minutes.
> 
> I then put that NIC into the X21 and started Knoppix. Everything seemed
> just fine. Started netcat and away it went, but about 7 TIMES SLOWER. So,
> I killed netcat and used dd with a shared folder over samba. That took
> just over two hours, instead of the 11 or so netcat would have taken.
> 
> The network wasn't running at 10mbps, or samba would have been slow too.
> It's not that the drive was set to PIO or some low data transfer rate, or
> again the dd would have been slow. Any ideas on why nc was so slow when
> piping through dd when dd using a samba source would be fast?
> 
> Thanks,
> Chris Schumann
> 
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> Help beta test TCLUG's potential new home: http://plone.mn-linux.org
> Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
> tclug-list at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-list
> 


-- 
John T. Hoffoss

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list