!161 change avg_block_io config
From: @gaoruoshu Reviewed-by: @znzjugod Signed-off-by: @znzjugod
This commit is contained in:
commit
a3c1ddf0d9
55
change-avg_block_io-config.patch
Normal file
55
change-avg_block_io-config.patch
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
From aaff413d6954003a3c21af21003c3bc134f940e2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: gaoruoshu <gaoruoshu@huawei.com>
|
||||||
|
Date: Tue, 5 Nov 2024 10:31:10 +0800
|
||||||
|
Subject: [PATCH] change avg_block_io config
|
||||||
|
|
||||||
|
---
|
||||||
|
config/plugins/avg_block_io.ini | 8 ++++----
|
||||||
|
.../src/python/sentryPlugins/avg_block_io/config.py | 8 ++++----
|
||||||
|
2 files changed, 8 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/config/plugins/avg_block_io.ini b/config/plugins/avg_block_io.ini
|
||||||
|
index 5c4b9b0..3b4ee33 100644
|
||||||
|
--- a/config/plugins/avg_block_io.ini
|
||||||
|
+++ b/config/plugins/avg_block_io.ini
|
||||||
|
@@ -12,12 +12,12 @@ win_size=30
|
||||||
|
win_threshold=6
|
||||||
|
|
||||||
|
[latency_nvme_ssd]
|
||||||
|
-read_avg_lim=300
|
||||||
|
-write_avg_lim=300
|
||||||
|
+read_avg_lim=10000
|
||||||
|
+write_avg_lim=10000
|
||||||
|
read_avg_time=3
|
||||||
|
write_avg_time=3
|
||||||
|
-read_tot_lim=500
|
||||||
|
-write_tot_lim=500
|
||||||
|
+read_tot_lim=50000
|
||||||
|
+write_tot_lim=50000
|
||||||
|
|
||||||
|
[latency_sata_ssd]
|
||||||
|
read_avg_lim=10000
|
||||||
|
diff --git a/src/python/sentryPlugins/avg_block_io/config.py b/src/python/sentryPlugins/avg_block_io/config.py
|
||||||
|
index c8f45ce..c1e8ab1 100644
|
||||||
|
--- a/src/python/sentryPlugins/avg_block_io/config.py
|
||||||
|
+++ b/src/python/sentryPlugins/avg_block_io/config.py
|
||||||
|
@@ -42,12 +42,12 @@ DEFAULT_PARAM = {
|
||||||
|
CONF_ALGO_SIZE: 30,
|
||||||
|
CONF_ALGO_THRE: 6
|
||||||
|
}, 'latency_nvme_ssd': {
|
||||||
|
- 'read_avg_lim': 300,
|
||||||
|
- 'write_avg_lim': 300,
|
||||||
|
+ 'read_avg_lim': 10000,
|
||||||
|
+ 'write_avg_lim': 10000,
|
||||||
|
'read_avg_time': 3,
|
||||||
|
'write_avg_time': 3,
|
||||||
|
- 'read_tot_lim': 500,
|
||||||
|
- 'write_tot_lim': 500,
|
||||||
|
+ 'read_tot_lim': 50000,
|
||||||
|
+ 'write_tot_lim': 50000,
|
||||||
|
}, 'latency_sata_ssd' : {
|
||||||
|
'read_avg_lim': 10000,
|
||||||
|
'write_avg_lim': 10000,
|
||||||
|
--
|
||||||
|
2.39.5 (Apple Git-154)
|
||||||
|
|
||||||
@ -4,7 +4,7 @@
|
|||||||
Summary: System Inspection Framework
|
Summary: System Inspection Framework
|
||||||
Name: sysSentry
|
Name: sysSentry
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 58
|
Release: 59
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: https://gitee.com/openeuler/sysSentry/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://gitee.com/openeuler/sysSentry/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -78,6 +78,7 @@ Patch65: modify-logrotate-rule.patch
|
|||||||
Patch66: fix-excessive-CPU-usage.patch
|
Patch66: fix-excessive-CPU-usage.patch
|
||||||
Patch67: fix-uint8-bug-and-change-isolation-default-value.patch
|
Patch67: fix-uint8-bug-and-change-isolation-default-value.patch
|
||||||
Patch68: fix-write-file-return-code-bug.patch
|
Patch68: fix-write-file-return-code-bug.patch
|
||||||
|
Patch69: change-avg_block_io-config.patch
|
||||||
|
|
||||||
BuildRequires: cmake gcc-c++
|
BuildRequires: cmake gcc-c++
|
||||||
BuildRequires: python3 python3-setuptools
|
BuildRequires: python3 python3-setuptools
|
||||||
@ -371,6 +372,12 @@ rm -rf %{buildroot}
|
|||||||
%attr(0550,root,root) %{python3_sitelib}/syssentry/bmc_alarm.py
|
%attr(0550,root,root) %{python3_sitelib}/syssentry/bmc_alarm.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 5 2024 gaoruoshu <gaoruoshu@huawei.com> - 1.0.2-59
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:change avg_block_io config
|
||||||
|
|
||||||
* Mon Nov 4 2024 luckky <guodashun1@huawei.com> - 1.0.2-58
|
* Mon Nov 4 2024 luckky <guodashun1@huawei.com> - 1.0.2-58
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user