Re: Extremely poor umass transfer rates
From: Mark Rosenstand
Date: Thu Apr 28 2005 - 13:48:23 EST
On Thu, 2005-04-28 at 19:19 +0100, Paulo Marques wrote:
> > | The line that 'hald' puts in fstab looks like this:
> > |
> > | /dev/sdb /media/usbdisk vfat \
> > | user,exec,noauto,utf8,noatime,sync,managed 0 0
>
> The "sync" flag is what is killing your performance. It is needed if you
> intend to remove your usb pen without warning, but if you are going to
> unmount carefully you don't need it at all.
>
> Try mounting the device as root somewhere else without the "sync" flag
> and measure the performance that way, to see the difference.
Wow. That seems to speed things up alot. However I can't unmount it
again, I keep getting "umount: /media/usbdisk: device is
busy" (twice(?)). It's been 5 minutes since I did the transfer (4 MB
file) now.
> I hope this helps,
It sure did. Thanks!
--
.-. Mark Rosenstand (-.)
oo| cc )
/`'\ (+45) 255 31337 3-n-(
(\_;/) mark@xxxxxxxxxxxxx _(|/`->
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/