From: Hongchen Zhang <zhanghongchen@loongson.cn>
To: Mel Gorman <mgorman@techsingularity.net>
Cc: Mel Gorman <mgorman@suse.de>,
Matthew Wilcox <willy@infradead.org>,
Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm/vmscan: don't scan adjust too much if current is not kswapd
Date: Wed, 21 Sep 2022 18:14:30 +0800 [thread overview]
Message-ID: <f946fbd8-89f6-67c9-44c1-10ef6e3bdb68@loongson.cn> (raw)
In-Reply-To: <20220921091303.hihmb3qvfvl3s365@techsingularity.net>
Hi Mel,
Thanks for your reply.
On 2022/9/21 pm 5:13, Mel Gorman wrote:
> On Tue, Sep 20, 2022 at 10:23:05AM +0800, Hongchen Zhang wrote:
>> Hi Mel,
>>
>> The scan adjust algorithm was originally introduced by you from
>> commmit e82e0561dae9 ("mm: vmscan: obey proportional scanning requirements
>> for kswapd"), any suggestion about this fix patch?
>> In short, proportional scanning is not friendly to processes other than
>> kswapd.
>>
>
> I suspect that 6eb90d649537 ("mm: vmscan: fix extreme overreclaim and swap
> floods") is a more appropriate fix. While it also has a fairness impact,
> it's a more general approach that is likely more robust and while
> fairness is important, completely thrashing a full LRU is neither fair
> nor expected.
>
OK,got it. Let's wait for the 6eb90d649537 ("mm: vmscan: fix extreme
overreclaim and swap floods") enter the stable repository.
Best Regards
Hongchen Zhang
next prev parent reply other threads:[~2022-09-21 10:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-14 2:33 [PATCH] mm/vmscan: don't scan adjust too much if current is not kswapd Hongchen Zhang
2022-09-14 22:51 ` Andrew Morton
2022-09-14 23:02 ` Matthew Wilcox
2022-09-15 1:19 ` Hongchen Zhang
2022-09-15 7:28 ` Matthew Wilcox
2022-09-15 8:02 ` Hongchen Zhang
2022-09-15 9:00 ` Matthew Wilcox
2022-09-15 9:30 ` Hongchen Zhang
2022-09-16 0:57 ` Hongchen Zhang
2022-09-16 8:40 ` Matthew Wilcox
2022-09-16 10:19 ` Hongchen Zhang
2022-09-19 23:32 ` Yosry Ahmed
2022-09-20 5:53 ` Hongchen Zhang
2022-09-20 2:23 ` Hongchen Zhang
2022-09-21 9:13 ` Mel Gorman
2022-09-21 10:14 ` Hongchen Zhang [this message]
2022-09-15 13:38 ` Feng Tang
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=f946fbd8-89f6-67c9-44c1-10ef6e3bdb68@loongson.cn \
--to=zhanghongchen@loongson.cn \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mgorman@suse.de \
--cc=mgorman@techsingularity.net \
--cc=willy@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 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).