* Alan Stern schrieb am 28.09.05 um 18:58 Uhr:
> On Wed, 28 Sep 2005, Marc Schiffbauer wrote:
> 
> > Hi all,
> > 
> > I have an usb-storage device in my Computer hat can handle several
> > memory-cards like CF, SD, MMC, MS and SM Cards.
> > 
> > I often read/write to my 1 gig SD card (USB 2.0). Reading is always
> > fast (~ 5MB/s) using Kernel 2.6.12 or 2.6.13.
> > 
> > But: Writing to the card is very very slow: < 40 kb/s.
> > 
> >   My kubuntu system mounts that kind of devices like that:
> >   /dev/sda1 on /media/sda1 type vfat
> >   
> > (rw,noexec,nosuid,nodev,sync,quiet,uid=1000,gid=1000,umask=077,iocharset=utf8)
> > 
> > Now I discovered that if I do a "mount -o remount,async /meda/sda1",
> > the writing speed increases to a normal value of about 5 megs/s.
> > 
> > I remember, that the problem did not exist with earlier kernels
> > (and this version of kubuntu)
> > 
> > I think this might be a kernel bug introduced by some patch applied before
> > 2.6.12.
> 
> It's not a bug; it's deliberate.  :-)
> 
> See this bug report:
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=4882
> 

Thanks Alan for pointing to it. Seems like using sync on FAT devices
is a very bad idea... now the question is how to I make hald - or
whatever mounts the drive in the end - not to use the sync option...
but that is Offtopic I guess.

Thanks again!

Cheers
-Marc
-- 
+-O . . . o . . . O . . . o . . . O . . .  ___  . . . O . . . o .-+
| Ein Service von Links2Linux.de:         /  o\   RPMs for SuSE   |
| --> PackMan! <-- naeheres unter        |   __|   and  others    |
| http://packman.links2linux.de/ . . . O  \__\  . . . O . . . O . |


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to