To be clear, I don’t blame the poster of this comment at all for the content of their post – this is accepted as “common knowledge” by a lot of Linux sysadmins and is probably one of the most likely things that you will hear from one if you ask them to talk about swap. It is unfortunately also, however, a misunderstanding of the purpose and use of swap, especially on modern systems.

  • @[email protected]
    link
    fedilink
    English
    172 months ago

    Great article, thanks for posting! Worth noting that swap is also used for tmpfs partitions. Meaning that if you don’t have any swap, temporary files in /tmp will use your actual physical RAM. That’s probably not what you want.