Re: [PATCH 0/1] Add swappiness argument to memory.reclaim

Matthew Wilcox
2023-11-30T18:54:55Z

On Thu, Nov 30, 2023 at 06:44:24PM +0000, Shakeel Butt wrote:
> On Thu, Nov 30, 2023 at 07:36:53AM -0800, Dan Schatzberg wrote:
> > * Swapout should be limited to manage SSD write endurance. In near-OOM
>
> Is this about swapout to SSD only?

If you're using spinning rust with its limit of, what, 200 seeks per
second, I'd suggest that swapout should also be limited but for
different reasons. We can set you up with a laptop with insufficient
RAM and a 5400rpm drive if you'd like to be convinced ...