# Supported algorithms can be checked with:
# `modprobe zram`
# `cat /sys/block/zram0/comp_algorithm`
# zstd/lz4 are ideal, the rest of the algorithms
# should be ignored (but are available).
# Defaults to zstd if unset.
algorithm=""

# example sizes:
# 1024KiB
# 1024K (equal to 1024KiB)
# 1000KB
# 1024MiB (equal to 1024M)
# 1000MB
# 10.4G (equal to 10.4GiB)
# 10GB
# 20%
# 50%
# 200%
# Percentage cannot be in decimal points, so e.g not 50.5%

# Systems with low memory should set it to high value, and vice
# versa systems with greater memory should set it to a lower value.
# For example for a system with a total of 4GB of memory, this should be
# set to 8GB or even greater with a high compression algorithm like
# zstd. While for systems with greater memory should be set to a lower
# value, for 16GB this should not be set to more than 16GB itself while
# for 32GB of memory this should not be set to more than half (16GB).
# Defaults to half the total memory if unset.
size=""

# Additional arguments to pass to zramctl.
# See `man zramctl` for more information
zramctl_args=""
