1
0
Fork 0

Tune swap on zram

This commit is contained in:
ver4a 2024-11-09 22:21:24 +01:00
parent a7180e39e7
commit 6ee03f0d27
5 changed files with 12 additions and 0 deletions

View file

@ -1,5 +1,8 @@
FROM quay.io/fedora-ostree-desktops/kinoite:41 FROM quay.io/fedora-ostree-desktops/kinoite:41
# Apply configuration
COPY etc /etc
# Remove firefox # Remove firefox
RUN rpm-ostree override remove firefox firefox-langpacks RUN rpm-ostree override remove firefox firefox-langpacks

View file

@ -1,5 +1,8 @@
FROM quay.io/fedora-ostree-desktops/kinoite:41 FROM quay.io/fedora-ostree-desktops/kinoite:41
# Apply configuration
COPY etc /etc
# Remove firefox # Remove firefox
RUN rpm-ostree override remove firefox firefox-langpacks RUN rpm-ostree override remove firefox firefox-langpacks

View file

@ -0,0 +1 @@
vm.swappiness=180

View file

@ -0,0 +1 @@
vm.page-cluster=0

View file

@ -0,0 +1,4 @@
# /etc/systemd/zram-generator.conf
[zram0]
zram-size = ram * 2
compression-algorithm=zstd