|
|
@@ -50,11 +50,13 @@ JOURNALD_AWARE=true |
|
|
|
# Example: ZL2R=true uses zram, while ZL2R=false uses tmpfs. |
|
|
|
ZL2R=false |
|
|
|
|
|
|
|
# COMP_ALG this is any compression algorithm listed in /proc/crypto |
|
|
|
# lz4 is fastest with lightest load but deflate (zlib) and Zstandard (zstd) give far better compression ratios |
|
|
|
# lzo is very close to lz4 and may with some binaries have better optimisation |
|
|
|
# COMP_ALG=lz4 for speed or Zstd for compression, lzo or zlib if optimisation or availabilty is a problem |
|
|
|
# Choose a compression algorithm from those listed in /proc/crypto. |
|
|
|
# 'lz4' is the fastest, offering the lightest CPU load but lower compression ratios. |
|
|
|
# 'deflate' (zlib) and 'Zstandard' (zstd) provide higher compression ratios but use more CPU. |
|
|
|
# 'lzo' is similar to 'lz4' but may perform better with certain binaries due to optimizations. |
|
|
|
# Set COMP_ALG to 'lz4' for speed, 'zstd' for better compression, or 'lzo' or 'zlib' if optimizations or availability are concerns. |
|
|
|
COMP_ALG=lz4 |
|
|
|
|
|
|
|
# LOG_DISK_SIZE is the uncompressed disk size. Note zram uses about 0.1% of the size of the disk when not in use |
|
|
|
# LOG_DISK_SIZE is expected compression ratio of alg chosen multiplied by log SIZE |
|
|
|
# lzo/lz4=2.1:1 compression ratio zlib=2.7:1 zstandard=2.9:1 |
|
|
|