1 ##############################################################################
2 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
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 ##############################################################################
10 # Sample benchmark task config file
11 # measure storage performance using fio
13 # For this sample just like running the command below on the test vm and
14 # getting benchmark info back to the yardstick.
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
21 schema: "yardstick:task:0.1"
23 {% set rw = rw or "randrw" %}
24 {% set bs = bs or "8k" %}
25 {% set size = size or "100g" %}
26 {% set rwmixwrite = rwmixwrite or "50" %}
27 {% set numjobs = numjobs or "1" %}
28 {% set direct = direct or "1" %}
38 rwmixwrite: {{rwmixwrite}}
61 image: yardstick-image
62 flavor: yardstick-flavor
69 volume_mountpoint: "/dev/vdb"
74 port_security_enabled: true