change the default percentage when dirty data starts writeback

(cherry picked from commit 734a42cd20c3fd693afe015beae999fdff9a6b79)
This commit is contained in:
hongrongxuan 2022-12-26 09:41:07 +08:00 committed by openeuler-sync-bot
parent ff68ac3f3e
commit aa1f740fb2
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,26 @@
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

View File

@ -1,7 +1,7 @@
Summary: A system tuning service for Linux
Name: tuned
Version: 2.19.0
Release: 2
Release: 3
License: GPLv2+
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}.tar.gz#/%{name}-%{version}%{?prerel2}.tar.gz
URL: http://www.tuned-project.org/
@ -33,6 +33,7 @@ Patch0: bugfix-tuned-2.8.0-restart-after-kill-dbus.patch
#this is used to compatible with old tuned version like 2.10
Patch1: tuned-2.18.0-rhel-8-profiles.patch
Patch2: tuned-2.18.0-sd-load-balance.patch
Patch3: change-the-default-percentage-when-dirty-data-starts.patch
Provides: tuned-gtk
Provides: tuned-utils
@ -296,6 +297,9 @@ fi
%{_mandir}/man7/tuned-profiles-spectrumscale-ece.7*
%changelog
* Mon Dec 26 2022 hongrongxuan <hongrongxuan@huawei.com> - 2.19.0-3
- change the default percentage when dirty data starts writeback
* Tue Nov 8 2022 Qingqing Li <liqingqing3@huawei.com> - 2.19.0-2
- backport some patches to compatible with version 2.10