Improve OVS-DPDK boot process
[yardstick.git] / samples / fio.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 storage performance using fio
12 #
13 # For this sample just like running the command below on the test vm and
14 # getting benchmark info back to the yardstick.
15 #
16 # sudo fio -filename=/home/ubuntu/data.raw -bs=4k -ipdepth=1 -rw=rw \
17 #          -ramp_time=10 -runtime=60 -name=yardstick-fio -ioengine=libaio \
18 #          -direct=1 -group_reporting -numjobs=1 -time_based \
19 #          --output-format=json
20
21 schema: "yardstick:task:0.1"
22
23 scenarios:
24 -
25   type: Fio
26   options:
27     filename: /home/ubuntu/data.raw
28     bs: 4k
29     iodepth: 1
30     rw: rw
31     ramp_time: 10
32   host: fio.demo
33   runner:
34     type: Duration
35     duration: 60
36     interval: 1
37   sla:
38     read_bw: 6000
39     read_iops: 1500
40     read_lat: 500.1
41     write_bw: 6000
42     write_iops: 1500
43     write_lat: 500.1
44     action: monitor
45
46 context:
47   name: demo
48   image: yardstick-image
49   flavor: yardstick-flavor
50   user: ubuntu
51   servers:
52     fio:
53       floating_ip: true
54   networks:
55     test:
56       cidr: "10.0.1.0/24"