Browse Source

Update log2ram.conf

Changes to comments for setting: 'COMP_ALG='
pull/224/head
Adam Matthews 5 months ago
committed by Adam Matthews
parent
commit
aeb0fe728d
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      log2ram.conf

+ 6
- 4
log2ram.conf View File

@@ -50,11 +50,13 @@ JOURNALD_AWARE=true
# Example: ZL2R=true uses zram, while ZL2R=false uses tmpfs. # Example: ZL2R=true uses zram, while ZL2R=false uses tmpfs.
ZL2R=false 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 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 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 # 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 # lzo/lz4=2.1:1 compression ratio zlib=2.7:1 zstandard=2.9:1


Loading…
Cancel
Save