On Wed, Dec 11, 2019 at 12:08 PM Jens Axboe <axboe@xxxxxxxxx> wrote: > > $ cat /proc/meminfo | grep -i active > Active: 134136 kB > Inactive: 28683916 kB > Active(anon): 97064 kB > Inactive(anon): 4 kB > Active(file): 37072 kB > Inactive(file): 28683912 kB Yeah, that should not put pressure on some swap activity. We have 28 GB of basically free inactive file data, and the VM is doing something very very bad if it then doesn't just quickly free it with no real drama. In fact, I don't think it should even trigger kswapd at all, it should all be direct reclaim. Of course, some of the mm people hate that with a passion, but this does look like a prime example of why it should just be done. MM people - mind giving this a look? Jens, if you have that NOACCESS flag in a git tree too and a trivial way to recreate your load, that would be good for people to be able to just try things out. Linus