aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/fio-test/fio-test.yaml
blob: 950a329ae31b68e37c210b8f7d979be8ebfc9a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
metadata:
    name: fio-test
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "FIO or Flexible IO is a versatile IO workload generator test
                  on Linux."
    maintainer:
        - naresh.kamboju@linaro.org
        - chase.qi@linaro.org
    os:
        - debian
        - ubuntu
        - centos
        - fedora
        - openembedded
    devices:
        - mustang
        - overdrive
        - d05
        - d03
        - moonshot
        - thunderX
        - hi6220-hikey
        - apq8016-sbc
    scope:
        - performance
    environment:
        - lava-test-shell

params:
    # Specify block device partition that used for fio test. Example: /dev/sdb1
    # Use disk-partitioning.yaml to create and format partition, as needed.
    # The currenty working directory will be used by default.
    PARTITION: ""
    # Available IO engines: sync, psync, libaio
    IOENGINE: "sync"
    BLOCK_SIZE: "4k"
    SKIP_INSTALL: "False"

run:
    steps:
        - cd ./automated/linux/fio-test/
        - ./fio-test.sh -p "${PARTITION}" -i "${IOENGINE}" -b "${BLOCK_SIZE}" -s "${SKIP_INSTALL}"
        - ../../utils/send-to-lava.sh ./output/result.txt