this post was submitted on 06 Jul 2024
1 points (100.0% liked)

Linux

5232 readers
77 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 0 points 4 months ago

Swap is only needed for emergencies, if you have a bad oom, and if you have low RAM.

If you have like 1-4GB of RAM, ZRAM may be better than swap.