> -----Original Message----- > From: Sridhar, Kanchana P <kanchana.p.sridhar@xxxxxxxxx> > Sent: Tuesday, August 27, 2024 11:43 AM > To: Nhat Pham <nphamcs@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>; > Sridhar, Kanchana P <kanchana.p.sridhar@xxxxxxxxx> > Subject: RE: [PATCH v4 0/4] mm: ZSWAP swap-out of mTHP folios > > > > -----Original Message----- > > From: Nhat Pham <nphamcs@xxxxxxxxx> > > Sent: Tuesday, August 27, 2024 8:30 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 v4 0/4] mm: ZSWAP swap-out of mTHP folios > > > > On Tue, Aug 27, 2024 at 8:23 AM Nhat Pham <nphamcs@xxxxxxxxx> > wrote: > > > > > > On Mon, Aug 26, 2024 at 11:08 PM Sridhar, Kanchana P > > > <kanchana.p.sridhar@xxxxxxxxx> wrote: > > > Yeah that's a bit unfair still. Wild idea, but what about we compare > > > SSD without zswap (or SSD with zswap, but without this patch series so > > > that mTHP are not zswapped) v.s zswap-on-zram (i.e with a backing > > > swapfile on zram block device). > > > > > > It is stupid, I know. But let's take advantage of the fact that zram > > > is not charged to cgroup, pretending that its memory foot print is > > > empty? > > > > > > I don't know how zram works though, so my apologies if it's a stupid > > > suggestion :) > > > > Oh nvm, looks like that's what you're already doing. > > > > That said, the lz4 column is soooo bad still, whereas the deflate-iaa > > clearly shows improvement! This means it could be > > compressor-dependent. > > > > Can you try it with zstd? > > Sure, I will gather data with zstd. I will be sending out a v5 shortly with data gathered with zstd. Thanks, Kanchana > > Thanks, > Kanchana