summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorkubi <jean.gaoliang@huawei.com>2016-04-01 11:02:11 +0800
committerqi liang <liangqi1@huawei.com>2016-04-08 06:09:56 +0000
commit6a1a21e2ecfde58ba8f57f1430cf577a6b80ea51 (patch)
treebd8de23af89109094c3d6eb57f7e40dc322fc297 /samples
parentfe1c1e138bd909a810ef1f4272c7431c7afdc870 (diff)
add latency for cache read operations(LMBench)
Using LMBench to measure latency of cache. two parameter can be configured (repetition and warmup) Change-Id: I5e4ecca0f9dd9c9ce2cecce3623dd8347ab2b5b1 Signed-off-by: kubi <jean.gaoliang@huawei.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/lmbench_cache.yaml41
1 files changed, 41 insertions, 0 deletions
diff --git a/samples/lmbench_cache.yaml b/samples/lmbench_cache.yaml
new file mode 100644
index 000000000..7a22cf15f
--- /dev/null
+++ b/samples/lmbench_cache.yaml
@@ -0,0 +1,41 @@
+---
+# Sample benchmark task config file
+# measure memory cache latency using lmbench
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: Lmbench
+ options:
+ test_type: "latency_for_cache"
+ line_size: 128
+ repetition: 1
+ warmup: 0
+
+ host: demeter.demo
+
+ runner:
+ type: Iteration
+ iterations: 2
+ interval: 1
+
+ sla:
+ max_latency: 35
+ action: monitor
+
+context:
+ name: demo
+ image: yardstick-trusty-server
+ flavor: yardstick-flavor
+ user: ubuntu
+
+ servers:
+ demeter:
+ floating_ip: true
+
+ networks:
+ test:
+ cidr: '10.0.1.0/24'
+
+