Fix bug in fio scenario
[yardstick.git] / samples / fio.yaml
1 ---
2 # Sample benchmark task config file
3 # measure storage performance using fio
4 #
5 # For this sample just like running the command below on the test vm and
6 # getting benchmark info back to the yardstick.
7 #
8 # sudo fio -filename=/home/ec2-user/data.raw -bs=4k -ipdepth=1 -rw=rw \
9 #          -ramp_time=10 -runtime=60 -name=yardstick-fio -ioengine=libaio \
10 #          -direct=1 -group_reporting -numjobs=1 -time_based \
11 #          --output-format=json
12
13 schema: "yardstick:task:0.1"
14
15 scenarios:
16 -
17   type: Fio
18   options:
19     filename: /home/ec2-user/data.raw
20     bs: 4k
21     iodepth: 1
22     rw: rw
23     ramp_time: 10
24   host: fio.demo
25   runner:
26     type: Duration
27     duration: 60
28     interval: 1
29
30 context:
31   name: demo
32   image: yardstick-trusty-server
33   flavor: yardstick-flavor
34   user: ec2-user
35   servers:
36     fio:
37       floating_ip: true
38   networks:
39     test:
40       cidr: "10.0.1.0/24"