From 61bb14b61b96fbafc07cafbc8833db7d34c5d7ddfb104eb65601fa0486dbd8c6 Mon Sep 17 00:00:00 2001 From: kira Date: Sat, 5 Sep 2026 17:37:17 +0200 Subject: [PATCH] Setting write cache to even smaller value. --- 66-kira-vfs.conf | 6 +++--- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/66-kira-vfs.conf b/66-kira-vfs.conf index 8ef5c81..fab4913 100644 --- a/66-kira-vfs.conf +++ b/66-kira-vfs.conf @@ -7,11 +7,11 @@ # The infamous issues with writing to USB Flash drives partially caused by # write cache being too big. -vm.dirty_ratio=10 +vm.dirty_ratio=3 -# Instruct kernel to use up to 5% of RAM before slowing down the process that's writing +# Instruct kernel to use up to 1% of RAM before slowing down the process that's writing # Works in congestion with previous setting. And serving same purpose: protect system responsiveness. -vm.dirty_background_ratio=5 +vm.dirty_background_ratio=1 diff --git a/PKGBUILD b/PKGBUILD index 649e8d9..3300343 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Kira <[@kira](https://dev.kira-linux.org/kira)> pkgname=kira-blk-settings -pkgver=1.0.1 +pkgver=1.0.2 pkgrel=1 pkgdesc="Config to make VFS work more adequate, especially with USB Flash drives." arch=('any') @@ -13,7 +13,7 @@ source=( '60-kira-ioschedulers.rules' ) -sha384sums=('02c4f33615ebf14b66f877e01074fc85c19612b3a1e0cbdd9fdbcf45482729d0d8baec934f68af08858399f7af1b6bb5' +sha384sums=('ea57e0edb39b949e40764a72c981920fcbb5ddce53ed374261972c2caa85235fe6e28293fcb1d8257201f034c521bed9' '382da6f31676158f16e022dd0628c8f2d0c6e0db2bc37a7d52124beff9e920b804decfce6f717bb11b24bde9b5ba2c76') package() {