3 ms·
It's not the case on Linux either. Linux intelligently swaps out ununsed pages even if there's enough physical RAM (that is more useful as page cache).
by lima 10y ago
It's not the case on Linux either.
Linux intelligently swaps out ununsed pages even if there's enough physical RAM (that is more useful as page cache).
- feld 10y agoI have FreeBSD systems that use gigs of swap with gigs of memory free. If you have a Linux system with that much swap usage it's usually about to crash (as it struggling under memory pressure) People should stop monitoring swap usage and start monitoring the amount of page in / page out IO.
- lima 10y agoNot true. I have plenty of Linux systems that use gigabytes of swap with 100+GB of free RAM. Monitoring swap usage doesn't make sense on either FreeBSD or Linux.