Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] USB speeds



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just ran a test on my system with no BS specified (eg 512) and BS=1MB
4:22.87elapsed using the default, 1:49.50elapsed using BS=1MB




On 08/29/2011 03:12 PM, Jerry Feldman wrote:
>
> On 08/29/2011 03:05 PM, Rich Pieri wrote:
> > Two factors come immediately to mind, neither of which have anything to
> do with the bus.
>
> > On Unix, file systems are mounted asynchronously by default. I've seen
> this cause horrible performance degradation on USB flash media. Try
> mounting sync instead.
>
> > You neglected to specify a block size so dd defaults to 512 byte
> blocks. This is horribly inefficient. Try powers of 2 starting at 1MB to
> find an optimal value.
>
> When I use dd to copy an image I make sure that the device is not
> mounted. Note that I am copying to the device.
> I think that when I copied the image, I did use bs=1MB. As I mentioned,
> I will plan to run a benchmark test tomorrow in my office if all my
> servers come up ok.
>
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>

- -- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id:3BC1EB90
PGP Key fingerprint: 49E2 C52A FC5A A31F 8D66  C0AF 7CEA 30FC 3BC1 EB90
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBTlvq5HzqMPw7weuQAQKcGgf/aUR0CmNQRZxn7LAUfDrpOXgMy6s+PYsc
MCys/ULxkA233SR6UaDwwwzML16zMdH3v4zbaEkhq17umK3V81LrYmZggtNTCXF+
A5dOhGMKnJ+OrdMKMzbdoXNVEBJMn5NiKGT4iYG5Tx8dtVqsq39+xSweLS+gXxQ2
tA62U+FaVHoz5PRmQl3T+qNqoXpbTPArixLtTrj03zEfIR7xMAcgtrRcj8+44is2
RJBVOS+XnIgLRqSUZk1ISmCbMiYjKN9dr4YQAN+lypm1cXCfStYIZbVF7zXQ+iGY
Sg526QwW8FVQttdlPpdlJXB4pY+T9fL8oprV3au+T0uaENNOOy9LiQ==
=1fVk
-----END PGP SIGNATURE-----




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org