Rewrite the HA test case (2)
[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   sla:
30     read_bw: 6000
31     read_iops: 1500
32     read_lat: 500.1
33     write_bw: 6000
34     write_iops: 1500
35     write_lat: 500.1
36     action: monitor
37
38 context:
39   name: demo
40   image: yardstick-trusty-server
41   flavor: yardstick-flavor
42   user: ec2-user
43   servers:
44     fio:
45       floating_ip: true
46   networks:
47     test:
48       cidr: "10.0.1.0/24"