40
submitted 1 day 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
[-] Eggymatrix@sh.itjust.works 1 points 1 day ago

Genuinely curious: what are you doing to be needing this?

I cannot think of any modern usecase for swap a part from hybernation

[-] amorangi@lemmy.nz 5 points 1 day ago

Local AI can chew it up. Wasn't able to run certain jobs on 64Gb until I switched to zswap.

[-] Eggymatrix@sh.itjust.works 1 points 11 hours ago

What kind of token per second are you getting with your model partially on disk?

[-] kiol@discuss.online 6 points 1 day ago

I've been using lower ram machines lately, so made me curious about if people are using things like zram with 32gb+

[-] Outsider9042@lemmy.world 5 points 1 day ago

Compiling Librewollf with a sufficient number of jobs is a great way to eat up 32GB of RAM, and the some.

[-] Eggymatrix@sh.itjust.works 1 points 11 hours ago

Swapping will make it slower not faster, reduce jobs?

[-] Outsider9042@lemmy.world 1 points 8 hours ago

No. Most of the build jobs are fast and small. A couple take up gigabytes at a time. Swap is on SSD anyway. Its fast enough.

I also use NixOS and GuixSD. There are cases where binary caches haven't caught up with the package definition. Situations like Librewolf, LibreOffice and kernel all compiling at the same time.

Sure I could mess around with limiting jobs and build runners... Or I could just have swap, and never worry about it again.

Just a BTRFS swapfile. I'm not worried too much about performance. I rarely hit it and most of the time i don't even need it. Until I do.

[-] Eggymatrix@sh.itjust.works 1 points 3 hours ago

Ok, you do you. In my experience that is not how that works, but there is an argument to not worry about it if it works well enough.

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

Linux

65383 readers
724 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