From: "Yin, Fengwei" <fengwei.yin@intel.com>
To: "iamjoonsoo.kim@lge.com" <iamjoonsoo.kim@lge.com>,
"yang.yang29@zte.com.cn" <yang.yang29@zte.com.cn>,
"Liu, Yujie" <yujie.liu@intel.com>,
"hannes@cmpxchg.org" <hannes@cmpxchg.org>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>
Cc: lkp <lkp@intel.com>,
"zhengjun.xing@linux.intel.com" <zhengjun.xing@linux.intel.com>,
"bagasdotme@gmail.com" <bagasdotme@gmail.com>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
"Tang, Feng" <feng.tang@intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"ran.xiaokai@zte.com.cn" <ran.xiaokai@zte.com.cn>,
"Huang, Ying" <ying.huang@intel.com>,
"willy@infradead.org" <willy@infradead.org>,
"oe-lkp@lists.linux.dev" <oe-lkp@lists.linux.dev>
Subject: Re: [linus:master] [swap_state] 5649d113ff: vm-scalability.throughput -33.1% regression
Date: Tue, 4 Apr 2023 02:36:21 +0000 [thread overview]
Message-ID: <d9bb86316a5b56a19b44cc68576556dd937a12fa.camel@intel.com> (raw)
In-Reply-To: <20230321075632.28775-1-yang.yang29@zte.com.cn>
Hi Yang,
On Tue, 2023-03-21 at 07:56 +0000, Yang Yang wrote:
> > commit:
> > 04bac040bc ("mm/hugetlb: convert get_hwpoison_huge_page() to
> > folios")
> > 5649d113ff ("swap_state: update shadow_nodes for anonymous page")
> > 04bac040bc71b4b3 5649d113ffce9f532a9ecc5ab96
> > ---------------- ---------------------------
> > %stddev %change %stddev
> > \ | \
> > 10026093 ± 3% -33.1% 6702748 ± 2% vm-
> > scalability.throughput
>
> > 04bac040bc71b4b3 5649d113ffce9f532a9ecc5ab96
> > ---------------- ---------------------------
> > %stddev %change %stddev
> > \ | \
> > 553378 -11.1% 492012 ± 2% vm-scalability.median
>
> I see the two results are much different, one is -33.1%, another is -
> 11.1%.
> So I tried more times to reproduce on my machine, and see a 8% of
> regression
> of vm-scalability.throughput.
>
> As this test add/delete/clear swap cache frequently, the impact of
> commit
> 5649d113ff might be magnified ?
>
> Commit 5649d113ff tried to fix the problem that if swap space is huge
> and
> apps are using many shadow entries, shadow nodes may waste much space
> in
> memory. So the shadow nodes should be reclaimed when it's number is
> huge while
> memory is in tense.
>
> I reviewed commit 5649d113ff carefully, and didn't found any
> obviously
> problem. If we want to correctly update shadow_nodes for anonymous
> page,
> we have to update them when add/delete/clear swap cache.
Thanks for the info and sorry for delayed response. We didn't get your
replies in our compony Inbox (don't know why). Just noticed you replies
on lore.kernel.org when revise the ticket. We will mark this regression
won't fix as it's for functional fixing.
Regards
Yin, Fengwei
>
> Thanks.
next parent reply other threads:[~2023-04-04 2:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230320124100.25297-1-yang.yang29@zte.com.cn>
[not found] ` <20230321075632.28775-1-yang.yang29@zte.com.cn>
2023-04-04 2:36 ` Yin, Fengwei [this message]
2023-03-20 8:27 kernel test robot
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=d9bb86316a5b56a19b44cc68576556dd937a12fa.camel@intel.com \
--to=fengwei.yin@intel.com \
--cc=akpm@linux-foundation.org \
--cc=bagasdotme@gmail.com \
--cc=feng.tang@intel.com \
--cc=hannes@cmpxchg.org \
--cc=iamjoonsoo.kim@lge.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=oe-lkp@lists.linux.dev \
--cc=ran.xiaokai@zte.com.cn \
--cc=willy@infradead.org \
--cc=yang.yang29@zte.com.cn \
--cc=ying.huang@intel.com \
--cc=yujie.liu@intel.com \
--cc=zhengjun.xing@linux.intel.com \
/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