this post was submitted on 15 Nov 2026
18 points (76.5% liked)

Linux

20077 readers
16 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 3 years ago
MODERATORS
 

Honestly, Linux distros ( CatchyOS in my case) are getting so good at managing ram that now i'm just curious to know if i could use that extra free ram to remove some work load from my old pc cpu.

you are viewing a single comment's thread
view the rest of the comments
[–] highball@lemmy.world 2 points 2 days ago

You could set your swappiness to something very low like 10 so the kernel is waiting as long as possible before moving the data to swap. This way, you CPU is bottle-necked less by your HDD or SSD. Or, you could setup ZRAM, then set your swappiness to something crazy large like 180. This way your kernel will swap unused data in ram to a compressed space in ram early, like before your CPU hits a heavy load, causing a bottle-neck. With ZRAM, depending on the compression algorithm you choose, you could essentially triple your ram. As long as your ZRAM ram more than enough ram for everything you do, you could probably disable any disc or file swap you have and reclaim the space. If the ZRAM ram is not enough, then you might try ZSWAP. The ultimate goal is to keep as much of your RAM full without ever having to go to disc which is what would slow down your CPU.