From: Rik van Riel <riel@redhat.com>
To: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: akpm@linux-foundation.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org, mel@csn.ul.ie
Subject: Re: [PATCH] vmscan: bail out of page reclaim after swap_cluster_max pages
Date: Sat, 29 Nov 2008 11:24:15 -0500 [thread overview]
Message-ID: <49316CAF.2010006@redhat.com> (raw)
In-Reply-To: <20081129164624.8134.KOSAKI.MOTOHIRO@jp.fujitsu.com>
KOSAKI Motohiro wrote:
> The result talk about three things.
>
> - rvr and mine patch increase direct reclaim imbalancing, indeed.
> - However, background reclaim scanning is _very_ much than direct reclaim.
> Then, direct reclaim imbalancing is ignorable on the big view.
> rvr patch doesn't reintroduce zone imbalancing issue.
> - rvr's priority==DEF_PRIORITY condition checking doesn't improve
> zone balancing at all.
> we can drop it.
>
> Again, I believe my patch improve vm scanning totally.
>
> Any comments?
Reclaiming is very easy when the workload is just page cache,
because the application will be throttled when too many page
cache pages are dirty.
When using mmap or memory hogs writing to swap, applications
will not be throttled by the "too many dirty pages" logic,
but may instead end up being throttled in the direct reclaim
path instead.
At that point direct reclaim may become a lot more common,
making the imbalance more significant.
I'll run a few tests.
> Andrew, I hope add this mesurement result to rvr bailing out patch description too.
So far the performance numbers you have measured are very
encouraging and do indeed suggest that the priority==DEF_PRIORITY
thing does not make a difference.
--
All rights reversed.
--
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:[~2008-11-29 16:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 19:50 Rik van Riel
2008-11-24 20:53 ` Andrew Morton
2008-11-25 11:35 ` KOSAKI Motohiro
2008-11-25 13:32 ` Rik van Riel
2008-11-25 14:30 ` KOSAKI Motohiro
2008-11-28 7:02 ` KOSAKI Motohiro
2008-11-28 11:03 ` Rik van Riel
2008-11-29 10:53 ` KOSAKI Motohiro
2008-11-29 16:24 ` Rik van Riel [this message]
2008-11-30 6:30 ` KOSAKI Motohiro
2008-12-03 5:26 ` [PATCH] vmscan: improve reclaim throuput to bail out patch KOSAKI Motohiro
2008-12-03 13:46 ` Rik van Riel
2008-12-03 15:12 ` KOSAKI Motohiro
2008-12-04 1:28 ` [PATCH] vmscan: improve reclaim throuput to bail out patch take2 KOSAKI Motohiro
2008-12-04 4:20 ` MinChan Kim
2008-12-04 5:04 ` KOSAKI Motohiro
2008-12-07 3:28 ` Andrew Morton
2008-12-08 2:49 ` KOSAKI Motohiro
2008-12-01 13:40 ` [PATCH] vmscan: bail out of page reclaim after swap_cluster_max pages Christoph Lameter
2008-11-26 2:24 ` KOSAKI Motohiro
2008-11-27 17:36 ` [rfc] vmscan: serialize aggressive reclaimers Johannes Weiner
2008-11-29 7:46 ` KOSAKI Motohiro
2008-11-29 15:39 ` Johannes Weiner
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=49316CAF.2010006@redhat.com \
--to=riel@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mel@csn.ul.ie \
/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