pull down to refresh

This is a pretty good discussion about pros and cons of Linux swap space.
One notable advantage is that the Linux Kernel intelligently uses swap space to optimize memory usage. It moves rarely-used memory pages into swap, freeing up more cacheable space for frequently used pages. This helps maintain a balance between performance and memory management.
Additionally, having swap space provides a safety net. It allows administrators to react to low memory issues gradually, preventing sudden and severe performance degradation. Properly monitoring and alerting for swap usage can further enhance this safety net.
20 sats \ 0 replies \ @ama 6 Jan
It also let yow hibernate your system into the swap space, which is another pro apart from performance.
Disk space is cheap, so I think it makes sense to always have a generous swap partition on each hard drive the system has.
reply