All of lore.kernel.org
 help / color / mirror / Atom feed
From: salyzyn@android.com (Mark Salyzyn)
To: linux-arm-kernel@lists.infradead.org
Subject: ARM64 readahead: fault retry breaks mmap file read random detection
Date: Mon, 21 Sep 2015 14:36:40 -0700	[thread overview]
Message-ID: <56007868.8050605@android.com> (raw)
In-Reply-To: <20150921210938.GC7356@arm.com>

On 09/21/2015 02:09 PM, Will Deacon wrote:
> On Mon, Sep 21, 2015 at 09:39:50PM +0100, Mark Salyzyn wrote:
>> Description from commit 45cac65b0fcd
>>      ("readahead: fault retry breaks mmap file read random detection")
>> . . .
>> Yup, arm64 needs this too! Random read improves by 250%, sequential
>> read improves by 40%, and random write by 400% to an eMMC device with
>> dm crypto wrapped around it.
> Thanks for this. This must've gone in whilst we were developing the initial
> version of the arm64 port and has since gone unnoticed.
>
> I'll queue it on the arm64 fixes branch and send a pull request after
> some testing.
>
> Will

As noted, this fix may need to be propagated to all the arch-specific 
code, I was not in a position to check this out on arm (32 bit) and the 
benchmarking code I used did not immediately port to 32-bit.

Sincerely -- Mark Salyzyn

WARNING: multiple messages have this Message-ID (diff)
From: Mark Salyzyn <salyzyn@android.com>
To: Will Deacon <will.deacon@arm.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Riley Andrews <riandrews@android.com>,
	Shaohua Li <shli@kernel.org>,
	Shaohua Li <shaohua.li@fusionio.com>,
	Rik van Riel <riel@redhat.com>,
	Wu Fengguang <fengguang.wu@intel.com>,
	Catalin Marinas <Catalin.Marinas@arm.com>,
	Vladimir Murzin <Vladimir.Murzin@arm.com>,
	Dave P Martin <Dave.Martin@arm.com>,
	David Hildenbrand <dahi@linux.vnet.ibm.com>,
	James Morse <James.Morse@arm.com>,
	Mark Rutland <Mark.Rutland@arm.com>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: ARM64 readahead: fault retry breaks mmap file read random detection
Date: Mon, 21 Sep 2015 14:36:40 -0700	[thread overview]
Message-ID: <56007868.8050605@android.com> (raw)
In-Reply-To: <20150921210938.GC7356@arm.com>

On 09/21/2015 02:09 PM, Will Deacon wrote:
> On Mon, Sep 21, 2015 at 09:39:50PM +0100, Mark Salyzyn wrote:
>> Description from commit 45cac65b0fcd
>>      ("readahead: fault retry breaks mmap file read random detection")
>> . . .
>> Yup, arm64 needs this too! Random read improves by 250%, sequential
>> read improves by 40%, and random write by 400% to an eMMC device with
>> dm crypto wrapped around it.
> Thanks for this. This must've gone in whilst we were developing the initial
> version of the arm64 port and has since gone unnoticed.
>
> I'll queue it on the arm64 fixes branch and send a pull request after
> some testing.
>
> Will

As noted, this fix may need to be propagated to all the arch-specific 
code, I was not in a position to check this out on arm (32 bit) and the 
benchmarking code I used did not immediately port to 32-bit.

Sincerely -- Mark Salyzyn

  reply	other threads:[~2015-09-21 21:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21 20:39 ARM64 readahead: fault retry breaks mmap file read random detection Mark Salyzyn
2015-09-21 20:39 ` Mark Salyzyn
2015-09-21 21:09 ` Will Deacon
2015-09-21 21:09   ` Will Deacon
2015-09-21 21:36   ` Mark Salyzyn [this message]
2015-09-21 21:36     ` Mark Salyzyn
2015-09-21 23:51     ` Will Deacon
2015-09-21 23:51       ` Will Deacon
2015-09-22 14:15       ` Mark Salyzyn
2015-09-22 14:15         ` Mark Salyzyn

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=56007868.8050605@android.com \
    --to=salyzyn@android.com \
    --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.