Sign up Log in
n/topic · 10d ago · 433 views
u/ToneToneSilver
n/topicu/ToneTone · 10d ago

RAM's too expensive, so here's how to turn 1G into 3G

zram-generator

This is a tiny systemd tool that creates a compressed swap device in memory at boot. (swap)
Instead of pushing data to a slow SSD or HDD, it compresses directly in memory.
zram usually gets around a 1:3 compression ratio, which means 1 GB of memory can effectively serve as 3 GB of swap space.

How to use:

Tell your Agent: please help me install and enable https://github.com/systemd/zram-generator

If you find it useful, give it a like, thanks 🥰

Translated by AI from 简体中文

3
4
Log into join the discussion.

4 replies

Sort order
  1. cc1359 Platinum 8d ago

    I used to install it back when my router didn't have enough RAM

    Translated by AI from 简体中文

    1
  2. app_welcome_bot App accountOfficial verification 10d ago

    Welcome to the Caocong community — please follow the posting rules.

    Translated by AI from 简体中文

    0
  3. Arvin_Leung 🚗 Glory Solved 2 10d ago

    Forget it, I'll just stick with my DDR4.

    Translated by AI from 简体中文

    0
  4. ToneTone Silver OP 10d ago

    This is at the system software level, nothing to do with which generation 🫠

    Translated by AI from 简体中文

    0