mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: CIJOML <cijoml@volny.cz>
To: linux-kernel@vger.kernel.org
Subject: Very slow write on flash drive in sync mode???
Date: Wed, 20 Sep 2006 20:58:05 +0200	[thread overview]
Message-ID: <200609202058.05816.cijoml@volny.cz> (raw)

Hi,

I use SanDisk cruzer Titanium 2 GB mounted as sync in fstab

usb 4-2: new high speed USB device using ehci_hcd and address 5
usb 4-2: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
  Vendor: SanDisk   Model: U3 Titanium       Rev: 2.16
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 4001425 512-byte hdwr sectors (2049 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 4001425 512-byte hdwr sectors (2049 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
 sda: sda1
sd 1:0:0:0: Attached scsi removable disk sda
sd 1:0:0:0: Attached scsi generic sg0 type 0
  Vendor: SanDisk   Model: U3 Titanium       Rev: 2.16
  Type:   CD-ROM                             ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 8x/40x writer xa/form2 cdda tray
sr 1:0:0:1: Attached scsi CD-ROM sr0
sr 1:0:0:1: Attached scsi generic sg1 type 5
usb-storage: device scan complete

/dev/sda1       /mnt/cruzer_sync      vfat    user,noauto,sync                
0       0
/dev/sda1       /mnt/cruzer     auto    user,noauto             0       0


When I use flash drive in sync mode, it writes on it only 64kB/s. When I 
umount it and mount it in not sync mode but do sync manually after it writes 
into memory, kernel writes on flash drive 11 MB/s!!! What is wrong in my 
configuration?

Kernel 2.6.18, Debian testing

Thanks for help

Michal

             reply	other threads:[~2006-09-20 18:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-20 18:58 CIJOML [this message]
2006-09-20 19:13 ` Tomasz Torcz

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=200609202058.05816.cijoml@volny.cz \
    --to=cijoml@volny.cz \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®