From: alex@digriz.org.uk (Alexander Clouter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] [ARM] orion5x: accelerate NAND on the TS-78xx
Date: Wed, 5 Jan 2011 18:35:04 +0000 [thread overview]
Message-ID: <o7qev7-2en.ln1@chipmunk.wormnet.eu> (raw)
In-Reply-To: 20110105003316.GJ24935@n2100.arm.linux.org.uk
Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:
>
> On Tue, Jan 04, 2011 at 11:51:59PM +0000, Alexander Clouter wrote:
>> The NAND supports 32bit reads and writes so lets stop shunting 8bit
>> chunks across the bus.
>>
>> Doing a dumb 'dd' benchmark, this increases performance roughly like so:
>> * read: 1.3MB/s to 3.4MB/s
>> * write: 614kB/s to 882kB/s
>
> Try something like the below. It's slightly more typing, but the
> underlying string IO functions should improve your transfer speed.
> Note that they won't do endian conversions.
>
I get roughly the same speeds with your approach...I am happy to swing
either your way or my original implementation; well actually it was
stolen from Nico's orion_nand implementation :)
What should I submit? These functions will at somestage get DMA support
added.
Cheers
--
Alexander Clouter
.sigmonster says: Live Free or Live in Massachusetts.
next prev parent reply other threads:[~2011-01-05 18:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-04 23:51 [PATCH] [ARM] orion5x: accelerate NAND on the TS-78xx Alexander Clouter
2011-01-05 0:33 ` Russell King - ARM Linux
2011-01-05 18:35 ` Alexander Clouter [this message]
2011-01-08 12:30 ` Alexander Clouter
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=o7qev7-2en.ln1@chipmunk.wormnet.eu \
--to=alex@digriz.org.uk \
--cc=linux-arm-kernel@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 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.