52 lines
1.6 KiB
Diff
52 lines
1.6 KiB
Diff
From f50b4e1b7f5fa38b1930349b1a9a905eb5307ab7 Mon Sep 17 00:00:00 2001
|
|
From: znzjugod <zhangnan134@huawei.com>
|
|
Date: Tue, 5 Nov 2024 11:47:56 +0800
|
|
Subject: [PATCH] update nvme config
|
|
|
|
---
|
|
config/plugins/ai_block_io.ini | 8 ++++----
|
|
src/python/sentryPlugins/ai_block_io/config_parser.py | 8 ++++----
|
|
2 files changed, 8 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/config/plugins/ai_block_io.ini b/config/plugins/ai_block_io.ini
|
|
index d0b1e74..69f44ba 100644
|
|
--- a/config/plugins/ai_block_io.ini
|
|
+++ b/config/plugins/ai_block_io.ini
|
|
@@ -23,10 +23,10 @@ read_tot_lim=50000
|
|
write_tot_lim=50000
|
|
|
|
[latency_nvme_ssd]
|
|
-read_avg_lim=300
|
|
-write_avg_lim=300
|
|
-read_tot_lim=500
|
|
-write_tot_lim=500
|
|
+read_avg_lim=10000
|
|
+write_avg_lim=10000
|
|
+read_tot_lim=50000
|
|
+write_tot_lim=50000
|
|
|
|
[latency_sata_hdd]
|
|
read_avg_lim=15000
|
|
diff --git a/src/python/sentryPlugins/ai_block_io/config_parser.py b/src/python/sentryPlugins/ai_block_io/config_parser.py
|
|
index 3049db2..1bbb609 100644
|
|
--- a/src/python/sentryPlugins/ai_block_io/config_parser.py
|
|
+++ b/src/python/sentryPlugins/ai_block_io/config_parser.py
|
|
@@ -74,10 +74,10 @@ class ConfigParser:
|
|
"write_tot_lim": 50000
|
|
},
|
|
"latency_nvme_ssd": {
|
|
- "read_avg_lim": 300,
|
|
- "write_avg_lim": 300,
|
|
- "read_tot_lim": 500,
|
|
- "write_tot_lim": 500
|
|
+ "read_avg_lim": 10000,
|
|
+ "write_avg_lim": 10000,
|
|
+ "read_tot_lim": 50000,
|
|
+ "write_tot_lim": 50000
|
|
},
|
|
"latency_sata_hdd": {
|
|
"read_avg_lim": 15000,
|
|
--
|
|
2.45.2
|
|
|