33
submitted 5 days ago* (last edited 5 days ago) by PumpkinDrama@reddthat.com to c/linux@lemmy.ml

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
[-] Ooops@feddit.org 2 points 4 days ago* (last edited 4 days ago)

Because the default is set for healthy performance. But users in actual reality don't care for raw performance but want responsive systems. If you are opening a browser to pass time while some longer process runs in the background, you are less interested in that background process being done 10% faster than in your browser not being sluggish.

PS: Sidenote... Many recommendations are based on older kernels. Since 5.8 swappiness is not measured from 0 to 100, but 0 to 200. So the 60 default is already half of what it was many years ago.

[-] ReverendIrreverence@lemmy.ml 1 points 3 days ago

is there a "better" default than 60 these days on newer kernels (I'm on 6.17.0-20 at the moment)?

[-] Ooops@feddit.org 1 points 3 days ago

I don't think there is a better "default" because the default has to be the general setting everyone can live with. But that of course also means it's not particularly good for any use case.

In general desktop users prefer lower values for snappy behavior when switching thorugh different apps (~10 often recommended). People mainly focusing on preformance of the primary running app prefer higher values (which may, depending on setup) include gamers.

Also there is zram/zswap now (basically compressed swap in memory instead of on disk) which is faster than tradittional swap.

But in the end you can only try out values and watch your systems behavior or run benchmarks to find the proper value for you personally,

this post was submitted on 04 Apr 2026
33 points (97.1% liked)

Linux

63789 readers
352 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