Add utility tools to ApexLake
[yardstick.git] / samples / fio-template.yaml
1 ---
2 # Sample benchmark task config file
3 # measure storage performance using fio
4 # Jinja2 Syntax is supported
5 # using built-in functions ( Jinja2 for-endfor construct ) to test complex tasks
6 # Test block sizes of 4KB, 8KB, 64KB, 1MB
7 # Test 5 workloads: 4 corners and 1 mixed :read, write, randwrite, randread, rw
8 schema: "yardstick:task:0.1"
9
10 scenarios:
11 {% for rw in ['read', 'write', 'randwrite', 'randread', 'rw'] %}
12   {% for bs in ['4k', '8k', '64k', '1024k'] %}
13 -
14   type: Fio
15   options:
16     filename: /home/ec2-user/data.raw
17     bs: {{bs}}
18     rw: {{rw}}
19     ramp_time: 10
20     duration: 20
21   host: fio.demo
22   runner:
23     type: Iteration
24     iterations: 2
25     interval: 1
26   {% endfor %}
27 {% endfor %}
28
29 context:
30   name: demo
31   image: yardstick-trusty-server
32   flavor: yardstick-flavor
33   user: ec2-user
34   servers:
35     fio:
36       floating_ip: true
37   networks:
38     test:
39       cidr: "10.0.1.0/24"
40