All of lore.kernel.org
 help / color / mirror / Atom feed
From: Praveen G K <praveen.gk@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: eMMC low write speed
Date: Thu, 22 Sep 2011 18:04:33 -0700	[thread overview]
Message-ID: <CAHzg1A-RCpZz-6YzON4cNzrSVpvEP=BCQx0AzZe1negcu2zo6g@mail.gmail.com> (raw)

Hello all,

I am working on the block driver module of the eMMC driver.  I am
seeing very low write speed for eMMC transfers.  On further debugging,
I observed that every 63rd and 64th transfer takes a long time.  I
have tabulated this by noting the time interval between when CMD 25
(multi block write command) is sent and when DATA_END interrupt is
received.  In normal cases, to transfer 64k (128 blocks of data), it
takes about 2.5ms.  But, under the really slow transfer speed cases,
it takes about 250-350ms to get the data_end interrupt after the multi
block write command is sent.  In some cases, it takes a longer time.
This radically reduces the throughput of the transfers.

I have also enabled the bounce buffers.  As a side question, can
somebody please tell me why the bounce buffer is restricted to 64kB?

Thanks in advance for any help that you can provide me on this issue.
Also, please include my email id in the cc field when replying to this
email since I am not subscribed to this mailing list.

Thanks,
Praveen Krishnan

             reply	other threads:[~2011-09-23  1:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-23  1:04 Praveen G K [this message]
     [not found] ` <CABg=csR-JzS0s2h=B9yJDJBsaAJZTR7b5iH-cU1EjQyxAQjd1g@mail.gmail.com>
2011-09-23  3:03   ` eMMC low write speed Praveen G K
2011-09-23 14:11     ` Timo Kokkonen
2011-09-23 17:17       ` Praveen G K

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='CAHzg1A-RCpZz-6YzON4cNzrSVpvEP=BCQx0AzZe1negcu2zo6g@mail.gmail.com' \
    --to=praveen.gk@gmail.com \
    --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 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.