代码拉取完成,页面将自动刷新
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)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。