> -----Original Message----- > From: Nhat Pham <nphamcs@xxxxxxxxx> > Sent: Wednesday, August 28, 2024 10:24 AM > To: Sridhar, Kanchana P <kanchana.p.sridhar@xxxxxxxxx> > Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-mm@xxxxxxxxx; > hannes@xxxxxxxxxxx; yosryahmed@xxxxxxxxxx; ryan.roberts@xxxxxxx; > Huang, Ying <ying.huang@xxxxxxxxx>; 21cnbao@xxxxxxxxx; akpm@linux- > foundation.org; Zou, Nanhai <nanhai.zou@xxxxxxxxx>; Feghali, Wajdi K > <wajdi.k.feghali@xxxxxxxxx>; Gopal, Vinodh <vinodh.gopal@xxxxxxxxx> > Subject: Re: [PATCH v5 0/3] mm: ZSWAP swap-out of mTHP folios > > On Wed, Aug 28, 2024 at 8:55 AM Nhat Pham <nphamcs@xxxxxxxxx> wrote: > > > > better by definition... I wonder if lowering the memory limit even > > further would show positive numbers? Or > > ... perhaps with a workload that has less cold data? or using the > zswap shrinker to off load some of these cold objects to swap? > > Food for thought :) This makes sense. Given the nature of this workload wherein it makes a one-time read/write access to each 8-bytes chunk in the mmap-ed region, this would be a good use-case to try with the zswap shrinker enabled. I can run some experiments and share the results. Thanks, Kanchana