rust-zram-generator/zram-generator.conf

9 lines
321 B
Plaintext
Raw Normal View History

2020-06-18 09:30:24 +00:00
# This config file enables a /dev/zram0 device with the default settings:
2021-01-27 16:08:05 +00:00
# — size — same as available RAM or 8GB, whichever is less
2020-06-18 09:30:24 +00:00
# — compression — most likely lzo-rle
#
# To disable, uninstall zram-generator-defaults or create empty
2020-06-18 09:30:24 +00:00
# /etc/systemd/zram-generator.conf file.
[zram0]
zram-size = min(ram, 8192)