naftuli.wtf An urban mystic, pining for conifers in a jungle of concrete and steel.

Linux RAM and Disk Hacking with ZRAM and BTRFS

At a recent job, I faced a pretty bleak situation: my MacBook Pro had only 8 gigabytes of RAM and only 256 gigabytes of disk space. Because of “Apple Reasons™,” you can no longer upgrade your disk or add more RAM to new MacBook Pros. On top of all that, I wasn’t supposed to uninstall OSX, even though I only ever booted Linux. That meant that my root partition for my Linux install was only around 170 GB.

Continue Reading...