On Thu, Aug 29, 2024 at 4:39 PM Yosry Ahmed <yosryahmed@xxxxxxxxxx> wrote: > > Interesting. If CONFIG_THP_SWAP is enabled this basically means your > zswap utilization keeps going down as your THP utilization goes up. So > the swapin cost would go higher. How do you deal with that? Johannes definitely knows more than me about this, so please fact check me. But my understanding is we don't get enough THP for this to become a problem just yet :) But yes, we're working hard to make THP become more readily available. Which will lead to the problem you're describing, hence my enthusiasm in this work :)