mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "J.A. Magallon" <jamagallon@able.es>
To: linux-kernel@vger.kernel.org
Subject: Re: Extremely poor umass transfer rates
Date: Thu, 28 Apr 2005 21:09:37 +0000	[thread overview]
Message-ID: <1114722577l.15771l.0l@werewolf.able.es> (raw)
In-Reply-To: <20050428182655.GA6812@irc.pl> (from zdzichu@irc.pl on Thu Apr 28 20:26:55 2005)


On 04.28, Tomasz Torcz wrote:
> On Thu, Apr 28, 2005 at 07:55:40PM +0200, Mark Rosenstand wrote:
> > The line that 'hald' puts in fstab looks like this:
> > 
> > 	/dev/sdb /media/usbdisk vfat \
> > 		user,exec,noauto,utf8,noatime,sync,managed 0 0
> 
>  Are you sure it's correct? I can't even mount with those options:
> 
> #v+
> # mount /dev/sdb1 /mnt/other -t vfat -o user,exec,noauto,utf8,noatime,sync,managed 
> mount: wrong fs type, bad option, bad superblock on /dev/sdb1
>        missing codepage or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> 
> # dmesg | tail -2 
> usb-storage: device scan complete
> FAT: Unrecognized mount option "managed" or missing value
> #v-
> 
>  Omitting "managed" seems to work. But it's slooow:
> 
> # dd if=/dev/zero  bs=1M count=100 | pv > /mnt/other/100MB
> 1,17MB 0:00:28 [41,7kB/s] [      <=>                ]
> 
> It stays at about 40 kB/s during all transfer. 
> Reading is as fast as it should be = about 18 MB/s (after umount, mount
> again, to clear cache). 
> 

Je, je, you're dreaming. The limit on pendrives, flash mp3 players and so
on is the flash memory read/write speed. You are lucky if you get 1Mb/s.
So for a flash based device, dont ever worry about if it is USB 1.1 or 2.0.
Things are different if you have a disk based device (iPod, iPod mini).
A disk is a disk.

The difference in total time should be minimal between sync and async mounts,
if you take into account filesystem sync/umount time.

Anyways, your 40 Kb/sec seem too sloow. But dont expect your 19Mb/s, only
about 1Mb/s (reading, writing thigs drop to 600Kb/s).

by

--
J.A. Magallon <jamagallon()able!es>     \               Software is like sex:
werewolf!able!es                         \         It's better when it's free
Mandriva Linux release 2006.0 (Cooker) for i586
Linux 2.6.11-jam14 (gcc 4.0.0 (4.0.0-1mdk for Mandriva Linux



  reply	other threads:[~2005-04-29 11:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28 16:02 Mark Rosenstand
2005-04-28 16:59 ` Dave Jones
2005-04-28 17:17   ` Randy.Dunlap
2005-04-28 17:55   ` Mark Rosenstand
2005-04-28 18:06     ` Randy.Dunlap
2005-04-28 18:19       ` Paulo Marques
2005-04-28 18:47         ` Mark Rosenstand
2005-04-28 18:57           ` Mark Rosenstand
2005-04-28 18:32       ` Mark Rosenstand
2005-04-28 18:26     ` Tomasz Torcz
2005-04-28 21:09       ` J.A. Magallon [this message]
     [not found] <3YjKy-72a-21@gated-at.bofh.it>
     [not found] ` <3YkGD-7NT-15@gated-at.bofh.it>
     [not found]   ` <3Ylt2-8mA-7@gated-at.bofh.it>
     [not found]     ` <3YlWb-px-35@gated-at.bofh.it>
     [not found]       ` <3YCkl-5lB-21@gated-at.bofh.it>
2005-04-30 20:08         ` Robert Hancock
2005-05-05  3:13           ` Joe
2005-05-05  8:22             ` Greg KH
2005-05-05 18:08               ` Joe
2005-05-05 18:48                 ` Joe
     [not found]             ` <mailman.1115308386.9411.linux-kernel2news@redhat.com>
2005-05-08  0:56               ` Pete Zaitcev

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=1114722577l.15771l.0l@werewolf.able.es \
    --to=jamagallon@able.es \
    --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®