summaryrefslogtreecommitdiff
path: root/automated/linux/sysbench/sysbench.yaml
blob: 1bceee457bd59749edbcebf058294703f544341b (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: sysbench
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "SysBench is a modular, cross-platform and multi-threaded
                  benchmark tool for evaluating OS parameters that are
                  important for a system running a database under intensive
                  load. Current features allow to test fileio, cpu, memory,
                  threads, mutex and oltp."
    maintainer:
        - chase.qi@linaro.org
    os:
        - debian
        - ubuntu
        - fedora
        - centos
        - openembedded
    scope:
        - performance
    environment:
        - lava-test-shell
    devices:
        - hi6220-hikey
        - apq8016-sbc
        - mustang
        - moonshot
        - thunderX
        - d03
        - d05

params:
    # "${TESTS}" could be one or more of the following tests.
    # TESTS: cpu memory threads mutex fileio oltp
    # TESTS: "oltp"
    TESTS: "cpu memory threads mutex fileio"
    # Number of threads to use.
    NUM_THREADS: "1"
    SKIP_INSTALL: "false"

run:
    steps:
        - cd ./automated/linux/sysbench/
        - ./sysbench.sh -n "${NUM_THREADS}" -t "${TESTS}" -s "${SKIP_INSTALL}"
        - ../../utils/send-to-lava.sh ./output/result.txt