From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: MMC performance
Date: Mon, 11 Oct 2004 13:19:19 +0100 [thread overview]
Message-ID: <20041011131919.B19175@flint.arm.linux.org.uk> (raw)
In-Reply-To: <416A68E5.6080608@drzeus.cx>; from drzeus-list@drzeus.cx on Mon, Oct 11, 2004 at 01:05:09PM +0200
On Mon, Oct 11, 2004 at 01:05:09PM +0200, Pierre Ossman wrote:
> Writing, however, only sends a single sector at a time. The queue
> process eats up half of the CPU time on my machine during a write. And
> since MMC cards have to clear a whole bunch of sectors before a write
> shouldn't you send as many sectors as possible to them?
Only if you can reliably know how many bytes you've tranferred when
an error occurs. Without that, the only safe way to do a write is
sector by sector.
And there are MMC controllers which just don't give you that
information, namely those found in Intel chips...
Since I'm having to be compatible with existing drivers, we need to
do this for the time being. It's a shame we can't tell the BIO layer
about this type of quirk though. Not that BIO itself understands
"sector by sector" IO at the moment.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
next prev parent reply other threads:[~2004-10-11 12:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-11 11:05 MMC performance Pierre Ossman
2004-10-11 12:19 ` Russell King [this message]
2004-10-11 13:18 ` Alan Cox
2004-10-11 15:27 ` Pierre Ossman
2004-10-11 18:01 ` Pierre Ossman
2004-10-18 19:26 ` Pierre Ossman
2004-10-11 13:49 ` Pierre Ossman
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=20041011131919.B19175@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=drzeus-list@drzeus.cx \
--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