logoalt Hacker News

coppsilgoldtoday at 7:08 AM1 replyview on HN

If you are on Linux you can 'download' some RAM. Enable zram, configure sysctl variables to make good use of it.

Note that it won't help you if your workload makes use of all your RAM at once.

If you have a bunch of stuff running in the background it will help a lot.

I get 2 to 3 compression factor at all times with zstd. I calculated the utility to be as if I had 20GB extra RAM for what I do.


Replies

fredoralivetoday at 10:35 AM

That’s not particularly unique, Mac OS and Windows have had compressed memory for years. No fiddling with setting needed either.

show 1 reply