- Use zram devices equal to the number of threads in your system.
- Use zstd compression.
- Mount zram devices as swap with high priority.
- Mount disk swap partition(s) with low priority.
- Increase swapiness:
sysctl vm.swappiness=<larger number than default> - Use
zramctlto see detailed info about your zram disks. - Check with
iotopto see if something unexpected is using a lot of IO traffic.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments