ZRAM if you have no HDD/SSD swap partition.
ZSWAP if you do have a HDD/SSD swap partition.
ZCACHE: It does what ZSWAP does and ALSO compresses and speeds the filesystem page cache. (It is internally much more complicated and is not in the mainline kernel as it is still under development).
M. Latendresse, и M. Feeley. Proceedings of the 2003 workshop on Interpreters, Virtual Machines and Emulators - IVME \textquotesingle03, ACM Press, (2003)
Y. Yang, R. Bamler, и S. Mandt. (2020)cite arxiv:2006.04240Comment: 8 pages + detailed supplement with additional qualitative and quantitative results.
T. van Rozendaal, G. Sautière, и T. Cohen. (2020)cite arxiv:2005.04064Comment: Accepted as a CVPR 2020 workshop paper: Workshop and Challenge on Learned Image Compression (CLIC).