Re: [External] Re: [PATCH] mm: zswap: fix the lack of page lru flag in zswap_writeback_entry

From: Zhongkun He
Date: Tue Jan 02 2024 - 09:10:00 EST


>
> Base:
> total used recalim total used
> Mem: 38Gi 2.5Gi ----> 38Gi 1.5Gi
> Swap: 5.0Gi 1.0Gi ----> 5Gi 1.5Gi
> used memory -1G swap +0.5g
> It means that half of the pages are failed to move to the tail of lru list,
> So we need to release an additional 0.5Gi anon pages to swap space.

Based on the results of multiple tests, the following information is updated.

Base:
total used recalim total used
Mem: 38Gi 2.6Gi ----> 38Gi 1.6Gi
Swap: 5.0Gi 1.0Gi ----> 5Gi 1.9Gi
used memory -1G swap +0.9g
It means that most of the pages failed to move to the tail of the lru list,
So we need to release an additional 0.9Gi anon pages to swap space.

Thanks again.