From: Sascha Hauer <s.hauer@pengutronix.de>
To: Magnus Lilja <lilja.magnus@gmail.com>
Cc: Vladimir Barinov <vbarinov@embeddedalley.com>,
Linux MTD list <linux-mtd@lists.infradead.org>,
Eric Benard <ebenard@eukrea.com>, Daniel Mack <daniel@caiaq.de>,
Alberto Panizzo <maramaopercheseimorto@gmail.com>
Subject: Re: MXC nand controller performance
Date: Fri, 21 Aug 2009 14:22:25 +0200 [thread overview]
Message-ID: <20090821122225.GL23444@pengutronix.de> (raw)
In-Reply-To: <59b21cf20908201310s2c67dda2t294380e6e6ca5336@mail.gmail.com>
On Thu, Aug 20, 2009 at 10:10:27PM +0200, Magnus Lilja wrote:
> Hi Sascha,
>
> 2009/8/20 Sascha Hauer <s.hauer@pengutronix.de>:
> > Hi,
> >
> > Hi recently found out that on my i.MX27 board the mxc nand controller
> > performance nearly doubles when I disable interrupts. Can anybody
> > confirm this behaviour, possibly on other i.MXs?
> > I'm trying to figure out what to do. We could disable interrupts
> > completely in which case the driver would become simpler. Maybe using
> > polling mode has other impacts on other workloads, so maybe we want to
> > add a flag to platform_data instead of disabling interrupts completely.
>
> A flag sounds like a good idea.
>
> > You can use the following patch to disable interrupts. It is not meant
> > for inclusion in this form of course.
>
> I can give it a try on i.MX31, how do you measure the performance?
I did a 'time cat /dev/mtdblockx > /dev/null' and looked at the time
needed to mount an ubifs. I haven't done any write tests though.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2009-08-21 12:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-20 12:57 MXC nand controller performance Sascha Hauer
2009-08-20 20:10 ` Magnus Lilja
2009-08-21 12:22 ` Sascha Hauer [this message]
2009-08-23 19:39 ` Magnus Lilja
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=20090821122225.GL23444@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=daniel@caiaq.de \
--cc=ebenard@eukrea.com \
--cc=lilja.magnus@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=maramaopercheseimorto@gmail.com \
--cc=vbarinov@embeddedalley.com \
/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