summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2016-05-19 10:48:41 +0800
committerJingLu5 <lvjing5@huawei.com>2016-06-01 09:40:38 +0800
commit62181af69580ea0a80f50767803339bf1984f5ac (patch)
tree0cc8c2e83d7623ed5d4b061850c8361f2ae6d093 /samples
parent438596f8942f13e5c5c429b9ae38878e87a3e6ca (diff)
Add cachestat scenario
JIRA: YARDSTICK-267 This scenario reads system cache hit/miss ratio and other statistics using cachestat tool. Change-Id: I601cb7e64d234571c0a0fd65a5e32604b3a617ec Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/cachestat.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/samples/cachestat.yaml b/samples/cachestat.yaml
new file mode 100644
index 000000000..5786efa38
--- /dev/null
+++ b/samples/cachestat.yaml
@@ -0,0 +1,31 @@
+---
+# Sample benchmark task config file
+# Reading cache hit/miss ratio and usage statistics
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: CACHEstat
+ options:
+ interval: 1
+
+ host: kratos.demo
+
+ runner:
+ type: Duration
+ duration: 60
+
+context:
+ name: demo
+ image: yardstick-trusty-server
+ flavor: yardstick-flavor
+ user: ubuntu
+
+ servers:
+ kratos:
+ floating_ip: true
+
+ networks:
+ test:
+ cidr: '10.0.1.0/24'