Re: "sync" option with usb storage makes it real slow since 2.6.13

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

 



    Hi Savar :)

 * Savar <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux