the swap and vm tuning required on Linux to make it work even somewhat reasonably compared to Windows or macOS is batshit insane - or brain dead to quote Linus. you shouldn't need to do any of it and yet if you don't you risk hard locking your system when you run out of RAM - or even just write a lot to a disk - with zero warning.