add swappiness and cache pressure

This commit is contained in:
Anders Rytter Hansen 2023-09-24 19:25:15 +02:00
commit 784669f751
3 changed files with 7 additions and 0 deletions

View file

@ -122,6 +122,7 @@ FROM builder2 AS builder3
# Install VirtualBox
RUN rpm-ostree install VirtualBox
COPY etc etc
# Clear cache, /var and /tmp and commit ostree
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \

View file

@ -0,0 +1,3 @@
#vm.swappiness=0
#firefox crash fix test
vm.swappiness=1

View file

@ -0,0 +1,3 @@
vm.vfs_cache_pressure=50
vm.min_free_kbytes=212000