ZRAM Compression

Signed-off-by: Thien Tran <contact@tommytran.io>
This commit is contained in:
Thien Tran 2023-10-11 23:19:11 -07:00
parent e275349bb5
commit 1498126454
No known key found for this signature in database
GPG Key ID: 3DF2709723343A8F
4 changed files with 4 additions and 2 deletions

View File

@ -81,7 +81,7 @@
"path": "/etc/systemd/zram-generator.conf",
"contents": {
"compression": "",
"source": "data:;base64,IyBUaGlzIGNvbmZpZyBmaWxlIGVuYWJsZXMgYSAvZGV2L3pyYW0wIGRldmljZSB3aXRoIHRoZSBkZWZhdWx0IHNldHRpbmdzClt6cmFtMF0KenJhbS1mcmFjdGlvbiA9IDEKbWF4LXpyYW0tc2l6ZSA9IDgxOTIK"
"source": "data:;base64,IyBUaGlzIGNvbmZpZyBmaWxlIGVuYWJsZXMgYSAvZGV2L3pyYW0wIGRldmljZSB3aXRoIHRoZSBkZWZhdWx0IHNldHRpbmdzClt6cmFtMF0KenJhbS1mcmFjdGlvbiA9IDEKbWF4LXpyYW0tc2l6ZSA9IDgxOTIKY29tcHJlc3Npb24tYWxnb3JpdGhtID0genN0ZAo="
}
},
{

View File

@ -136,6 +136,7 @@ storage:
[zram0]
zram-fraction = 1
max-zram-size = 8192
compression-algorithm = zstd
- path: /etc/security/limits.d/30-disable-coredump.conf
overwrite: true
contents:

View File

@ -81,7 +81,7 @@
"path": "/etc/systemd/zram-generator.conf",
"contents": {
"compression": "",
"source": "data:;base64,IyBUaGlzIGNvbmZpZyBmaWxlIGVuYWJsZXMgYSAvZGV2L3pyYW0wIGRldmljZSB3aXRoIHRoZSBkZWZhdWx0IHNldHRpbmdzClt6cmFtMF0KenJhbS1mcmFjdGlvbiA9IDEKbWF4LXpyYW0tc2l6ZSA9IDgxOTIK"
"source": "data:;base64,IyBUaGlzIGNvbmZpZyBmaWxlIGVuYWJsZXMgYSAvZGV2L3pyYW0wIGRldmljZSB3aXRoIHRoZSBkZWZhdWx0IHNldHRpbmdzClt6cmFtMF0KenJhbS1mcmFjdGlvbiA9IDEKbWF4LXpyYW0tc2l6ZSA9IDgxOTIKY29tcHJlc3Npb24tYWxnb3JpdGhtID0genN0ZAo="
}
},
{

View File

@ -154,6 +154,7 @@ storage:
[zram0]
zram-fraction = 1
max-zram-size = 8192
compression-algorithm = zstd
- path: /etc/security/limits.d/30-disable-coredump.conf
overwrite: true
contents: