this post was submitted on 04 Apr 2026
26 points (100.0% liked)

Linux

64338 readers
672 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

No swap, swap or swap with hibernate? And do you change the swappiness setting?

you are viewing a single comment's thread
view the rest of the comments
[–] monovergent@lemmy.ml 8 points 22 hours ago

For desktops, zram with no swapping to disk. Hasn't given me any trouble yet, except for the rare news website (it's always news websites) with a horrific memory leak.

For laptops, zram plus a low-priority swap file for suspend-then-hibernate. My old laptop drains a fair bit in sleep mode and my new one doesn't have proper S3 suspend because microslop is pushing manufacturers to only support S0 idle.

Always a file, never a swap partition. Everything that can be encrypted lives inside the encrypted root partition.