Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On Linux there is zram which creates a first-priority swap partition that just compresses the pages and keeps them in memory.

It looks like Windows also has memory compression.

I believe that OS X has memory compression turned on by default.



Zram is actually a general purpose block device, you can format it with ext4 and have a compressed RAM disk.

There is also zswap, which is a transparent compressed RAM cache in front of your cache partition. Most distros have it enabled by default, so make sure you don't use it together with swap in zram.


>I believe that OS X has memory compression turned on by default.

It isn't just turned on by default, there is no way of turning it off.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: