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
|
|
|
|
#
|
2020-06-23 17:55:52 +00:00
|
|
|
# To disable, uninstall zram-generator-defaults or create empty
|
2020-06-18 09:30:24 +00:00
|
|
|
# /etc/systemd/zram-generator.conf file.
|
2020-06-18 09:32:09 +00:00
|
|
|
[zram0]
|
2023-03-15 10:20:24 +00:00
|
|
|
zram-size = min(ram, 8192)
|