53
submitted 4 days ago by kiol@discuss.online to c/linux@lemmy.ml

I have been setting up Zram, Swap, Swappiness and EasyOOM daemon on 16gb ram boxes, or lower. Someone asked me about 32gb of ram, or more, and I'm unsure. Wondering if others have experimented with this!

you are viewing a single comment's thread
view the rest of the comments
[-] ISO@lemmy.zip 0 points 2 days ago

This is not a good thing btw. Any unused anonymous page takes up space that could instead be used for file-backed pages that make your system faster.

Can you expand here. I think my attempt at brevity in this part wasn't helpful.

Swap is not tiered storage!

I meant tiered with priorities only, yes.

Cool tech but it’s dead and was quite niche even when it was alive.

We are not talking about the original purpose of Optane as supported on Windows. It's just a (perhaps somewhat outdated) example of a storage device "smaller but faster than your average SSD storage", which is very much not did tech.

Not a thing you actually want to use for swap

Depends on the use-case. But yes, this can also be used as the fastest disk tier/priority of normal swap devices, which is why I mentioned both.

This makes no sense at all unless you are extremely space-constrained on the NVMe and absolutely must not OOM – even if progress stalls to an absolute crawl.

Why would you want to see killed processes when you go back to your workstation, in the 1/10000th scenario where something runs amok pushing memory usage to unexpected high levels? When you can simply investigate the reason behind the rare occurrence, then move all the pages off the slowest devices immediately with swapoff?

this post was submitted on 19 May 2026
53 points (100.0% liked)

Linux

65433 readers
414 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 7 years ago
MODERATORS