summaryrefslogtreecommitdiffstats
path: root/resources/QPI
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-08-30 14:43:41 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-08-30 14:43:41 +0800
commit59cc506c563a12e0a11b12e7b3742fec25e1e0f3 (patch)
tree410ae9fe30db8277d6a81174c5011378b936d89a /resources/QPI
parentb15b028f061858de71fc98459d562dd76e3aecfe (diff)
Add score calculation module for storperf
Change-Id: I469ee4d768e16a27c3bde660bc1029d5a3507b72 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'resources/QPI')
-rw-r--r--resources/QPI/storage.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/resources/QPI/storage.yaml b/resources/QPI/storage.yaml
new file mode 100644
index 00000000..49ec6189
--- /dev/null
+++ b/resources/QPI/storage.yaml
@@ -0,0 +1,23 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+name: storage
+description: QTIP Performance Index of storage
+system_info:
+sections:
+ - name: IOPS
+ description: I/O operation per second
+ regex: '^(rr|wr)\..*\.iops$' # random read, random write
+ - name: Througput
+ description: data transfer rate
+ regex: '^rw\..*\.bw$' # sequential read/write
+ - name: Latency
+ description: response time
+ regex: '\.lat.mean$'
+ use_reciprocal: true