Re: Path forward for Virtualized Swap?

From: Chris Li

Date: Mon Sep 21 2026 - 12:18:24 EST


On Mon, Sep 21, 2026 at 2:53 AM Gregory Price <gourry@xxxxxxxxxx> wrote:
>
> On Sun, Sep 20, 2026 at 11:43:59PM -1000, Chris Li wrote:
> > On Sat, Sep 19, 2026 at 3:53 PM Gregory Price <gourry@xxxxxxxxxx> wrote:
> >
> > Let's start with the real question: on your fleet what is the max % of
> > zswap memory compared to total RAM?
> >
>
> You're asking me to predict the future. Any number I give you today
> will be wrong 3 seconds from now.

No, I am not asking you to predict the future. I am asking about your
history. What is your current trend.

You can not even provide a single historical or current data point.
Do you have historical data points to back up the claim of this max(%)
large swing?
>
> You can't know the compressibility of memory until after you compress
> it, and requiring a user to predict the future by forcing them to limit
> the total amount of workload compressibility does not scale with the
> number of workloads of variable compressibility of data.

You likely just need to pull a SQL query on your fleet to get that number.

> That should tell you that your model of reasoning about this issue is
> ill-suited to address the problem.

That is what I'm suspecting. Nobody in a sane mind would want to zswap
100% of the RAM and maintain reasonable SLO.

Chris