Page 1 of 1

dd command works very slowly

Posted: 1. Dec 2008, 23:22
by armuser
Hi,
I'd like to ask about a performance. I use linux as a guest os and vista home premium as a host. I noticed that dd on linux works very slowly. Simple copying files is fast. I don't know why there are performance problems with dd commands. Is there any any solution?

regards
Jack

Posted: 2. Dec 2008, 16:04
by TerryE
Can you quantify this with any performance data?

Re: dd command works very slowly

Posted: 2. Dec 2008, 17:40
by fixedwheel
armuser wrote:I don't know why there are performance problems with dd commands.
quite simple, dd reads and then writes one by one byte, this is the default

specify dd if=<infile> of=<outfile> bs=<bytes>

bs=1M seems to work well inside vbox machines with virtual disks, in real life i use half of the HDD hardware cache size