Re: Path forward for Virtualized Swap?

From: Chris Li

Date: Sun Sep 20 2026 - 20:19:04 EST


On Sat, Sep 19, 2026 at 3:07 PM Rik van Riel <riel@xxxxxxxxxxx> wrote:
>
> >
> > For our deployment, we only compress about 7-10% of the system memory
> > before performance starts to suffer. The feedback loop will scale it
> > back. I am very curious do you have actual work load to swap out 100%
> > of the RAM.
>
> One common workload is a web browser with idle tabs.
>
> Those often compress pretty well, a ratio of 4:1 is
> not unheard of, which makes it easy to fill up
> 1/3 of memory with 133% of memory's worth of compressed
> memory.

You did not answer my question. You are talking about user-space
processes (browsers). Do you run your browser in the data center, or
is that a laptop workload?

Anyway, what is the total amount of memory swapped out to zswap
(before compression), and what is the ratio to the total memory? I
can't imagine your big server can reach 100% swap out to zswap while
maintaining a reasonable SLO. So educate me.

Chris