All of lore.kernel.org
 help / color / mirror / Atom feed
From: DervishD <lkml@dervishd.net>
To: Savar <savar@schuldeigen.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: "sync" option with usb storage makes it real slow since 2.6.13
Date: Tue, 11 Oct 2005 21:41:04 +0200	[thread overview]
Message-ID: <20051011194104.GA130@DervishD> (raw)
In-Reply-To: <20051011211603.8aff1cee.savar@schuldeigen.de>

    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...

      parent reply	other threads:[~2005-10-11 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-11 19:16 "sync" option with usb storage makes it real slow since 2.6.13 Savar
2005-10-11 19:22 ` Andre Bender
2005-10-11 19:41 ` DervishD [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051011194104.GA130@DervishD \
    --to=lkml@dervishd.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=savar@schuldeigen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.