Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2009 11:29:51 +0100
From:      Ivan Voras <>
Subject:   Re: umass performance
Message-ID:  <gpqifr$2m6$>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Andrea Venturoli wrote:
> Hello.
> I'm using dd to clone an 8GB USB memory into an identical one.
> # dd if=3D/dev/da2 of=3D/dev/da1
> load: 0.01  cmd: dd 12026 [physwr] 0.00u 0.01s 0% 904k
> 396+0 records in
> 395+0 records out
> 202240 bytes transferred in 1.453741 secs (139117 bytes/sec)
> 15925248+0 records in
> 15925248+0 records out
> 8153726976 bytes transferred in 31722.194052 secs (257035 bytes/sec)

By using this command line not only are you getting slow results, you
are also probably significantly reducing the lifetime of you flash
memory drive (depending on its technology). What you said in the above
command line is that the copy is to be done one 512-byte block at a time
- i.e. read 512 bytes, write 512 bytes, repeat. As common flash memories
have large flash blocks (32 kB - 128 kB), you're actually rewriting the
whole "large" flash block by writing small blocks of data. For example,
to fill a 32 kB block by writing 512 bytes at a time, the whole block
will be rewritten 64 times.

Use a "bs=3D1m" argument next time.

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -



Want to link to this message? Use this URL: <$2m6$1>