tuned/change-the-default-percentage-when-dirty-data-starts.patch
hongrongxuan aa1f740fb2 change the default percentage when dirty data starts writeback
(cherry picked from commit 734a42cd20c3fd693afe015beae999fdff9a6b79)
2022-12-26 09:58:57 +08:00

27 lines
855 B
Diff

From 9045cc4a583ea644fa1ef8454e4c3d2c63a9d248 Mon Sep 17 00:00:00 2001
From: hongrongxuan <hongrongxuan@huawei.com>
Date: Mon, 26 Dec 2022 09:29:48 +0800
Subject: [PATCH] change the default percentage when dirty data starts
writeback
---
profiles/throughput-performance/tuned.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/throughput-performance/tuned.conf b/profiles/throughput-performance/tuned.conf
index 98c6b26..84ca25a 100644
--- a/profiles/throughput-performance/tuned.conf
+++ b/profiles/throughput-performance/tuned.conf
@@ -35,7 +35,7 @@ readahead=>4096
#
# The generator of dirty data starts writeback at this percentage (system default
# is 20%)
-vm.dirty_ratio = 40
+vm.dirty_ratio = 60
# Start background writeback (via writeback threads) at this percentage (system
# default is 10%)
--
2.27.0