this post was submitted on 02 Sep 2023
24 points (85.3% liked)
Linux
48200 readers
922 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why would you get rid of the swap? Having swap space should never hurt. Swap can sit empty when it's not needed, and some memory pages are rarely used, so you'll hardly notice if they're swapped out.
Only too much swapping is annoying/slow. This happens if you run out of physical RAM; mostly independent of your swap size.
You can listen to the experts here for how to fine-tune the parameters (swappiness). Linux (as most operations systems) is built with the assumption that swap > physical RAM exists. Linux can run without swap, but the kernel runs into a huge problem if RAM becomes nearly full and has to kill processes. Usually adding swap is the better option.
You know, for some reason I thought that zram was on the disk, and it isn't. That makes a huge difference. I'll keep the swap then!