98

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
[-] Die4Ever@retrolemmy.com 1 points 1 week ago

Basically, sometimes extra filesystem cache in your physical RAM is so valuable that something else gets evicted to swap for it

like say your web browser's code for handling h264 video when you have no videos playing, unused memory like that can be moved to swap

this post was submitted on 06 Jul 2024
98 points (94.5% liked)

Linux

11046 readers
447 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS