From: Kyle Walker <kwalker@redhat.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Michal Hocko <mhocko@suse.com>,
Geliang Tang <geliangtang@163.com>,
Vlastimil Babka <vbabka@suse.cz>,
Roman Gushchin <klamm@yandex-team.ru>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH] mm: Move readahead limit outside of readahead, and advisory syscalls
Date: Tue, 26 Jul 2016 15:23:42 -0400 [thread overview]
Message-ID: <CAEPKNTJjqcmap70nEaVVixK9486mp=-MKuDBCCdHdP4cx-D2Yw@mail.gmail.com> (raw)
In-Reply-To: <20160725134732.b21912c54ef1ffe820ccdbca@linux-foundation.org>
On Mon, Jul 25, 2016 at 4:47 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
>
> Can this suffering be quantified please?
>
The observed suffering is primarily visible within an IBM Qradar
installation. From a high level, the lower limit to the amount of advisory
readahead pages results in a 3-5x increase in time necessary to complete
an identical query within the application.
Note, all of the below values are with Readahead configured to 64Kib.
Baseline behaviour - Prior to:
600e19af ("mm: use only per-device readahead limit")
6d2be915 ("mm/readahead.c: fix readahead failure for memoryless NUMA
nodes and limit readahead pages")
Result:
Qradar - Command: "username equals root" - 57.3s to complete search
New performance - With:
600e19af ("mm: use only per-device readahead limit")
6d2be915 ("mm/readahead.c: fix readahead failure for memoryless NUMA
nodes and limit readahead pages")
Result:
Qradar - "username equals root" query - 245.7s to complete search
Proposed behaviour - With the proposed patch in place.
Result:
Qradar - "username equals root" query - 57s to complete search
In narrowing the source of the performance deficit, it was observed that
the amount of data loaded into pagecache via madvise was quite a bit lower
following the noted commits. As simply reverting those lower limits were
not accepted previously, the proposed alternative strategy seemed like the
most beneficial path forwards.
>
> Linus probably has opinions ;)
>
I understand that changes to readahead that are very similar have been
proposed quite a bit lately. If there are any changes or testing needed,
I'm more than happy to tackle that.
Thank you in advance!
--
Kyle Walker
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2016-07-26 19:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-25 14:39 Kyle Walker
2016-07-25 20:47 ` Andrew Morton
2016-07-26 9:31 ` Michal Hocko
2016-07-26 19:23 ` Kyle Walker [this message]
2016-08-03 15:24 ` Rafael Aquini
2016-08-25 14:59 ` Kyle Walker
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='CAEPKNTJjqcmap70nEaVVixK9486mp=-MKuDBCCdHdP4cx-D2Yw@mail.gmail.com' \
--to=kwalker@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=geliangtang@163.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=klamm@yandex-team.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=torvalds@linux-foundation.org \
--cc=vbabka@suse.cz \
/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