9 ms·
Your 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’ bracket
by smcnally 5y ago
Your 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.