[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230913173802.GA48476@cmpxchg.org>
Date: Wed, 13 Sep 2023 13:38:02 -0400
From: Johannes Weiner <hannes@...xchg.org>
To: Vern Hao <haoxing990@...il.com>
Cc: mhocko@...nel.org, roman.gushchin@...ux.dev, shakeelb@...gle.com,
akpm@...ux-foundation.org, cgroups@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Xin Hao <vernhao@...cent.com>
Subject: Re: [PATCH v3] mm: memcg: add THP swap out info for anonymous reclaim
On Thu, Sep 14, 2023 at 12:49:37AM +0800, Vern Hao wrote:
> From: Xin Hao <vernhao@...cent.com>
>
> At present, we support per-memcg reclaim strategy, however we do not
> know the number of transparent huge pages being reclaimed, as we know
> the transparent huge pages need to be splited before reclaim them, and
> they will bring some performance bottleneck effect. for example, when
> two memcg (A & B) are doing reclaim for anonymous pages at same time,
> and 'A' memcg is reclaiming a large number of transparent huge pages, we
> can better analyze that the performance bottleneck will be caused by 'A'
> memcg. therefore, in order to better analyze such problems, there add
> THP swap out info for per-memcg.
>
> Suggested-by: Johannes Weiner <hannes@...xchg.org>
> Signed-off-by: Xin Hao <vernhao@...cent.com>
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists