From 6a1a21e2ecfde58ba8f57f1430cf577a6b80ea51 Mon Sep 17 00:00:00 2001 From: kubi Date: Fri, 1 Apr 2016 11:02:11 +0800 Subject: 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 --- samples/lmbench_cache.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 samples/lmbench_cache.yaml (limited to 'samples') 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' + + -- cgit 1.2.3-korg