you could also try zram I have found lz4 to still be quite fast and its seems to compress around 4x I have 50% of my memory compressed
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT /dev/zram7 lz4 1.9G 477.4M 109.2M 116.5M 8 [SWAP] /dev/zram6 lz4 1.9G 472.8M 108.2M 115M 8 [SWAP] /dev/zram5 lz4 1.9G 474.6M 109.7M 116.5M 8 [SWAP] /dev/zram4 lz4 1.9G 480.2M 109.7M 117.3M 8 [SWAP] /dev/zram3 lz4 1.9G 476.7M 109.9M 116.8M 8 [SWAP] /dev/zram2 lz4 1.9G 479.8M 108.1M 115.2M 8 [SWAP] /dev/zram1 lz4 1.9G 474.4M 107.8M 114.6M 8 [SWAP] /dev/zram0 lz4 1.9G 475.6M 107.9M 115M 8 [SWAP]
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
you could also try zram I have found lz4 to still be quite fast and its seems to compress around 4x I have 50% of my memory compressed
zramctl
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram7 lz4 1.9G 477.4M 109.2M 116.5M 8 [SWAP]
/dev/zram6 lz4 1.9G 472.8M 108.2M 115M 8 [SWAP]
/dev/zram5 lz4 1.9G 474.6M 109.7M 116.5M 8 [SWAP]
/dev/zram4 lz4 1.9G 480.2M 109.7M 117.3M 8 [SWAP]
/dev/zram3 lz4 1.9G 476.7M 109.9M 116.8M 8 [SWAP]
/dev/zram2 lz4 1.9G 479.8M 108.1M 115.2M 8 [SWAP]
/dev/zram1 lz4 1.9G 474.4M 107.8M 114.6M 8 [SWAP]
/dev/zram0 lz4 1.9G 475.6M 107.9M 115M 8 [SWAP]