3 ms·
Try to use zram memory compression with zstd compression algorithm if your kernel supports it or at least with lz4hc. I use this setup to compile Chromium and r
by fpoling 7y ago
Try to use zram memory compression with zstd compression algorithm if your kernel supports it or at least with lz4hc. I use this setup to compile Chromium and run few memory-hungry processes and the system is responsive during compilation. Here is free -h output:
total used free shared buff/cache available
Mem: 15Gi 6.6Gi 4.0Gi 295Mi 4.8Gi 8.3Gi
Swap: 27Gi 10Gi 17Gi
Note that Swap is just a piece of compressed memory. I have no real swap and sappiness is set to 100%.
- zwaps 7y agoThank you, I will check if we can enable zram somehow.