3 ms·
Related: The last time I've checked a standard Ubuntu does not have RAM compression (ZRAM) enabled by default (unlike current Windows and Mac which have that fo
by therealmarv 5y ago
Related: The last time I've checked a standard Ubuntu does not have RAM compression (ZRAM) enabled by default (unlike current Windows and Mac which have that for years). It helps a lot with programs like browsers.
- klysm 5y agoI understand why it’s opt in though, not a clear win in all cases.
- smcnally 5y agoYour point about opt-in makes me wonder if my smaller VMs and VPSs would benefit. This recent one-pager covers the ‘compression can help but not always’ brackets you’ve noted. https://benad.me/blog/2021/02/23/ram-compression-on-linux/ https://benad.me/blog/2021/02/23/ram-compression-on-linux/ > Still, unless you frequently use the swap device on your Linux system, it may not be worthwhile to reserve a large amount of memory to a zram device. I know how to view current swap usage and will check if there’s historical usage in syslog or the like.
- klysm 5y agoAs always with performance things, you have to benchmark. But that’s always easier said than done. With the insane complexity of memory systems in modern CPUs anything can happen.
- FeepingCreature 5y agozram is amazing. I love it. Makes my 16GB machine feel like a 24GB, no noticeable downsides. I've totally turned off regular swap, even.