add collectd resource node capability
[yardstick.git] / samples / lmbench_cache.yaml
1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 ---
10 # Sample benchmark task config file
11 # measure memory cache latency using lmbench
12
13 schema: "yardstick:task:0.1"
14
15 scenarios:
16 -
17   type: Lmbench
18   options:
19     test_type: "latency_for_cache"
20     line_size: 128
21     repetition: 1
22     warmup: 0
23
24   host: demeter.demo
25
26   runner:
27     type: Iteration
28     iterations: 2
29     interval: 1
30
31   sla:
32     max_latency: 35
33     action: monitor
34
35 context:
36   name: demo
37   image: yardstick-image
38   flavor: yardstick-flavor
39   user: ubuntu
40
41   servers:
42     demeter:
43       floating_ip: true
44
45   networks:
46     test:
47       cidr: '10.0.1.0/24'
48
49