public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Andre Puschmann <andre.puschmann@imms.de>
To: linux-mtd@lists.infradead.org
Subject: flash read performance
Date: Tue, 28 Oct 2008 11:14:05 +0100	[thread overview]
Message-ID: <ge6old$oo3$1@ger.gmane.org> (raw)

Hi list,

I am currently trying to improve the flash read performance of my 
platform. It's a gumstix verdex board with a pxa270 running at 400MHz. 
My flash is a 16MB NOR Intel StrataFlash P30 (128P30T) and it's 
operating in the _normal_ asynchronous mode. In my opinion the read 
performance is very poor, only around 1.2 to 1.4 MB/s depending on the 
blocksize. I think it should be possible to get much higher transfer rates.

In Linux, I ran my tests with dd like this (copy 10MB):
time dd if=/dev/mtd5 of=/dev/null bs=16k count=640
640+0 records in
640+0 records out
real    0m 7.17s
user    0m 0.00s
sys     0m 7.17s


Running top in another console brings up, that the CPU load is very high
during copy. I am not sure if the system is doing some sort of busy 
waiting or something like that? However, it should be possible to do a 
copy without having such a high load.

Mem: 17684K used, 45144K free, 0K shrd, 0K buff, 11164K cached
CPU:   0% usr 100% sys   0% nice   0% idle   0% io   0% irq   0% softirq
Load average: 0.10 0.17 0.09
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  259   258 root     R     1100   2%  95% dd if /dev/mtd5 of /dev/null 
bs 16k co


I guess a number of people are using a similar/comparable setup. So some
kind of user benchmark would be nice.
I am sure this needs some more investigation, but any comment/hint is 
more than welcome.

Best regards,
Andre

             reply	other threads:[~2008-10-29  8:40 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28 10:14 Andre Puschmann [this message]
2008-10-29 11:42 ` flash read performance Josh Boyer
2008-10-29 12:03   ` Jamie Lokier
2008-10-29 15:52   ` Andre Puschmann
2008-10-30  8:33     ` Arnaud Mouiche
2008-10-30  9:52       ` Andre Puschmann
2008-10-30 10:06         ` Arnaud Mouiche
2008-11-03 14:23           ` Andre Puschmann
2008-11-04  8:30             ` Andre Puschmann
2008-11-04 11:42             ` Jamie Lokier
2008-11-04 14:31               ` Andre Puschman
2008-11-07  2:41                 ` Trent Piepho
2008-11-07  4:02                   ` Jamie Lokier
2008-11-07  5:36                     ` Trent Piepho
2008-11-07  5:57                       ` Jamie Lokier
2008-11-07  9:47                   ` Andre Puschmann
2008-11-08  5:28                     ` Trent Piepho
2008-11-11 13:28                       ` Andre Puschmann
2008-11-15  2:02                         ` Trent Piepho

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='ge6old$oo3$1@ger.gmane.org' \
    --to=andre.puschmann@imms.de \
    --cc=linux-mtd@lists.infradead.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