!36 [sync] PR-34: 修改脏页开始回写的默认百分比

From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2022-12-26 01:59:27 +00:00 committed by Gitee
commit a68b388c26
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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 Summary: A system tuning service for Linux
Name: tuned Name: tuned
Version: 2.19.0 Version: 2.19.0
Release: 2 Release: 3
License: GPLv2+ License: GPLv2+
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}.tar.gz#/%{name}-%{version}%{?prerel2}.tar.gz Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}.tar.gz#/%{name}-%{version}%{?prerel2}.tar.gz
URL: http://www.tuned-project.org/ 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 #this is used to compatible with old tuned version like 2.10
Patch1: tuned-2.18.0-rhel-8-profiles.patch Patch1: tuned-2.18.0-rhel-8-profiles.patch
Patch2: tuned-2.18.0-sd-load-balance.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-gtk
Provides: tuned-utils Provides: tuned-utils
@ -296,6 +297,9 @@ fi
%{_mandir}/man7/tuned-profiles-spectrumscale-ece.7* %{_mandir}/man7/tuned-profiles-spectrumscale-ece.7*
%changelog %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 * Tue Nov 8 2022 Qingqing Li <liqingqing3@huawei.com> - 2.19.0-2
- backport some patches to compatible with version 2.10 - backport some patches to compatible with version 2.10