linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v3 0/9] R-Car Gen2 DMA Controller driver
Date: Thu, 30 Oct 2014 00:16:13 +0000	[thread overview]
Message-ID: <20141030001612.GC22052@verge.net.au> (raw)
In-Reply-To: <1414345216-14486-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

On Wed, Oct 29, 2014 at 12:05:15PM +0200, Laurent Pinchart wrote:
> Hi Geert,
> 
> On Wednesday 29 October 2014 10:59:48 Geert Uytterhoeven wrote:
> > On Wed, Oct 29, 2014 at 10:49 AM, Laurent Pinchart wrote:
> > > I've performed quick SDHI performance tests yesterday. Read performance
> > > were around 7.5% lower with DMA support. Write performances varied but
> > > seemed similar on average.
> > > 
> > > - PIO
> > > 
> > > # time dd if=/dev/mmcblk1 of=/mnt/ram/mmc.bin count2768 bs@96
> > > 262144+0 records in
> > > 262144+0 records out
> > 
> > 262144 records? Did it get split in 512 byte records?
> 
> I knew I should have replaced the whole results instead of copying only the 
> lines I thought had changed between tests :-) The times correspond to 32768 
> blocks of 4kB despite what the number of records say.

As discussed elsewhere, I've dropped the following two patches for now,
pending further investigation of the problem.

ARM: shmobile: r8a7791: Reference DMA channels in SDHI DT nodes
ARM: shmobile: r8a7790: Reference DMA channels in SDHI DT nodes

> > > # time dd of=/dev/mmcblk1 if=/mnt/ram/mmc.bin count2768 bs@96
> > > 32+0 records in
> > > 32+0 records out
> > 
> > Only 32 records?
> > 
> > > - DMA
> > > 
> > > # time dd if=/dev/mmcblk1 of=/mnt/ram/mmc.bin count2768 bs@96
> > > 32+0 records in
> > > 32+0 records out
> > 
> > Only 32 records?
> > 
> > > # time dd of=/dev/mmcblk1 if=/mnt/ram/mmc.bin count2768 bs@96
> > > 32768+0 records in
> > > 32768+0 records out
> > 
> > OK
> 
> -- 
> Regards,
> 
> Laurent Pinchart
> 

  parent reply	other threads:[~2014-10-30  0:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 17:40 [PATCH v3 0/9] R-Car Gen2 DMA Controller driver Laurent Pinchart
2014-10-27  0:45 ` Simon Horman
2014-10-28  3:03 ` Kuninori Morimoto
2014-10-28 21:02 ` Laurent Pinchart
2014-10-29  0:04 ` Kuninori Morimoto
2014-10-29  2:36 ` Magnus Damm
2014-10-29  7:24 ` Magnus Damm
2014-10-29  9:49 ` Laurent Pinchart
2014-10-29  9:49 ` Phil Edworthy
2014-10-29  9:59 ` Geert Uytterhoeven
2014-10-29 10:05 ` Laurent Pinchart
2014-10-29 11:15 ` Laurent Pinchart
2014-10-29 11:22 ` Laurent Pinchart
2014-10-30  0:16 ` Simon Horman [this message]
2014-10-30 13:41 ` Wolfram Sang
2014-11-04  7:07 ` Magnus Damm

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=20141030001612.GC22052@verge.net.au \
    --to=horms@verge.net.au \
    --cc=linux-sh@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;
as well as URLs for NNTP newsgroup(s).