enable ZRAM
This commit is contained in:
parent
5cba199675
commit
d333a7c43e
2 changed files with 9 additions and 0 deletions
8
etc/systemd/zram-generator.conf
Normal file
8
etc/systemd/zram-generator.conf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# This config file enables a /dev/zram0 device with the default settings:
|
||||
# — size — same as available RAM or 30GB, whichever is less
|
||||
# — compression — most likely lzo-rle
|
||||
#
|
||||
# To disable, create empty
|
||||
# /etc/systemd/zram-generator.conf file.
|
||||
[zram0]
|
||||
zram-size = min(ram, 30720)
|
||||
Loading…
Add table
Add a link
Reference in a new issue