LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-02-2007, 06:06 PM   #1
Linux_Kidd
Member
 
Registered: Jan 2006
Location: USA
Posts: 737

Rep: Reputation: 78
dd optimizing via netcat?


i tried to do dd over netcat via knoppix 5.1

2 t60 laptops with 60GB sata drives. 10/100 ethernet to a 10/100 switch (next time i'll use a x-over cable)

destination was netcat -l -p 10000 |dd of=/dev/sda
source was dd if=/dev/sda |nc 192.168.1.2 10000

taking a very very long time to dd the disk (took 1.89hours @ 8.8MB/s). is there a way to optimize block size to coincide with ethernet MTU ?? is bs=1024k the best size to use?

i know this is probably old hat for most... but thanks for any info.

Last edited by Linux_Kidd; 01-03-2007 at 08:28 AM.
 
Old 01-03-2007, 11:04 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
That doesn't sound completely out of whack to me. 8.8MB/s is about 75 megaBITs per second, which is somewhere near saturation of a 100Mbit ethernet.

--- rod.
 
Old 01-03-2007, 12:08 PM   #3
Linux_Kidd
Member
 
Registered: Jan 2006
Location: USA
Posts: 737

Original Poster
Rep: Reputation: 78
Quote:
Originally Posted by theNbomr
That doesn't sound completely out of whack to me. 8.8MB/s is about 75 megaBITs per second, which is somewhere near saturation of a 100Mbit ethernet.

--- rod.
saturation is not the issue, its the IP overhead that i'm trying to reduce, thereby making the copy faster.

8.8MB = 70.4Mb = ~70% of fast-E, not quite near saturation.

i'm doing another copy now with bs=1024k, will post those results later.

thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netcat s0n|k Linux - Newbie 3 04-16-2006 05:16 PM
how to install the netcat? bin_shell Linux - Security 1 03-11-2004 10:24 AM
netcat compile antken Linux - General 1 10-10-2003 09:04 PM
Anyone Familiar With Netcat ? Santorres Linux - Software 0 07-10-2003 06:27 PM
Anyone Familiar With Netcat ? Santorres Linux - Software 0 07-10-2003 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration