Get the latest tech news

Do not buy RAM, compress


AI has changed a lot. We do more work in parallel. This increases the memory demand on our workstations. Also, memory is expensive and often not extendable. So buying more RAM is not an easy option. Recently I was running out of memory, I found my solution in zram, a solution to compress memory. Memory compression is not new. If you have a Windows or Mac device you are already using it. Also, many Android smartphones utilize the technique of using compression to put more data into the RAM. Unfortunately not all Linux environments have RAM compression enabled by default. Fedora, Pop!_OS do, but Ubuntu doesn’t. Amazon Linux only enables zram on smaller virtual machines. Most other distributions do not have it enabled.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of RAM

RAM

Related news:

News photo

RBRD: RAM-Backed Linux Block Driver Written In Rust For Better Safety But Slower Performance

News photo

Samsung, Micron, and SK Hynix are accused of conspiring to inflate RAM prices, lawsuit moves forward

News photo

Windows 11 actually runs better on 8GB of RAM now