lkml.org 
[lkml]   [2005]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: "sync" option with usb storage makes it real slow since 2.6.13
    Hi Savar :)

* Savar <savar@schuldeigen.de> dixit:
> When I mount an usb stick with the option "sync" (USB 2.0) I got a
> writing speed about 15 kbyte/s. Reading is ok (ca. 1 s for 2,3 MB).
> It doesn't matter if trying as root or normal user. I only have to
> unmount the stick and remount it without "sync" and writing is fast.
> That means I write something on the stick (ok it's buffered) and
> then I type "sync" as command and after 1 s it's done (LED from
> usb stick turned off and data were written).

I had *exactly* the same problem. 2.6.13 honors the "sync" mount
option for VFAT, that's the reason.

Even if your device has wear leveling built in, you better not
use "sync" on a flash device. If you search the mailing list archives
(try searching for my nick "DervishD" and "usb-storage") you can see
that this issue was discussed before. I think it was a month ago,
maybe a bit more.

Raúl Núñez de Arenas Coronado

--
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-11 21:44    [W:0.061 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site